Re: [Plib-users] plib-1.8.4 fails to compile on Fedora Core 6 (i686).
Brought to you by:
sjbaker
From: Anthony J. <aj...@sb...> - 2007-01-15 23:15:42
|
Simply edit ssgaSky.h, and remove the 'ssgaCelestialBodyList::' on line 107 and the 'ssgaCloudLayerList::' on line 195. This is due to gcc being more picky on FC6. Regards, Tony Tigran Aivazian <ti...@ai...> wrote: Hello, On i386 architexture on Fedora Core 6 Linux plib 1.8.4 fails to compile. The ./configure didn't complain at all: PLIB configuration information: Building FNT library: yes Building JS library: yes Building NET library: yes Building PUI library: yes Building puAux library: yes Building SG library: yes Building PSL library: yes Building SL library: yes Building SSG library: yes Building ssgAux library: yes Building PW library: yes Building UTIL library: yes But running make resulted in this: if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"plib\" -DVERSION=\"1.8.4\" -DHAVE_LIBPTHREAD=1 -DHAVE_LIBGL=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -I../../src/sg -I../../src/ssg -I../../src/util -g -O2 -Wall -MT ssgaCelestialBody.o -MD -MP -MF ".deps/ssgaCelestialBody.Tpo" -c -o ssgaCelestialBody.o ssgaCelestialBody.cxx; \ then mv -f ".deps/ssgaCelestialBody.Tpo" ".deps/ssgaCelestialBody.Po"; else rm -f ".deps/ssgaCelestialBody.Tpo"; exit 1; fi ssgaSky.h:107: error: extra qualification 'ssgaCelestialBodyList::' on member 'ssgaCelestialBodyList' ssgaSky.h:195: error: extra qualification 'ssgaCloudLayerList::' on member 'ssgaCloudLayerList' make[2]: *** [ssgaCelestialBody.o] Error 1 make[2]: Leaving directory `/usr/local/src/plib-1.8.4/src/ssgAux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/plib-1.8.4/src' make: *** [all-recursive] Error 1 Is there a known fix? Kind regards Tigran ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |