Hi there, Frederic Bouvier wrote: > Quoting Chris Wilkinson : > > >>Hi there, >> >>Has anyone managed to compile Atlas/Map on SUSE 10.1, or any other >>distro using gcc 4.1.0 or newer? With the current 0.3.0 stable release >>(CVS times out on me) I get this error... >> >>/usr/lib/gcc/i586-suse-linux/4.1.0/../../../libplibpu.so: undefined >>reference to `fntGetBitmapFont(int)' >> >>It will happily compile using gcc 4.0.2 on SUSE 10.0 on my other box, >>but its a slow-as-molasses P4 2.0GHz, and needs to grab the scenery >>over 100 Mbit LAN from my Athlon64 to render the tiles. Unfortunately >>that is proving grass-growingly slow...damn the 1.3 MB/sec scenery >>downloads I get from a local fg-scenery mirror! If it were not for >>that I would not have so much new scenery to convert to atlas tiles! >> >>Any help to fix this error will be highly appreciated! > > > Chris, > > in src/Makefile.am, you can try to change line 27 : > from : > -lsgxml -lplibsg -lplibpu -lplibul -lplibfnt -lplibnet \ > to : > -lsgxml -lplibsg -lplibfnt -lplibpu -lplibul -lplibnet \ > > > And elsewhere if needed. -lplibfnt should be before -lplibpu
My line 27 in Makefile.am in the src folder is different, but I changed the order in xxxx_LDADD so that -lplibfnt was before the -lplibpu entry, and I still get the same error. gcc only quits once it gets to MapPS, and it is able to create binaries for Atlas and Map, which I promptly copied to /usr/local/bin and tested - they work fine! :-) So the problem is solved, and now I'm churning out new atlas tiles using the very very much faster Athlon64 beastie... Thanks Frederic. -- Kind regards, Chris Wilkinson, Brisbane, Australia. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users