Re: [madman-discuss] Problem compiling madman
Brought to you by:
inducer
From: Andreas K. <ak...@ix...> - 2004-04-13 09:15:28
|
Hi Carl, Your problem is the link order. "-lmadmanexpat" should come after "-lmadmandatabase" in the link command. This order can be changed in line 16 of main/SConscript within the source tree. Thanks for reporting this. Andreas On Mon, Apr 12, 2004 at 09:02:58PM +0000, Carl Blakemore wrote: > Hello, > > I was trying to compile mad man and encountered this error: > > g++ -o main/madman main/main.o -L/opt/kde3.2.1/lib -L/usr/local/lib -L/usr/lib > -L/usr/X11R6/lib -L/usr/lib -Lui -Ldesigner -Lhttpd -Lexpat -Ldatabase > -Lutility -lz -lvorbis -logg -lqt-mt -lgtk -lgdk -lgmodule -lglib -ldl -lXi > -lXext -lX11 -lm -lxmms -lglib -lvorbisfile -lvorbis -logg -lid3tag -lz > -lmadmanui -lmadmandesigner -lmadmanhttpd -lmadmanexpat -lmadmandatabase > -lmadmanutility > database/libmadmandatabase.a(database.o): In function > `tSAXDatabaseHandler::startElement(char const*, char const**)': > database.o(.text+0x219): undefined reference to `XML_GetCurrentByteIndex' > database/libmadmandatabase.a(database.o): In function `tDatabase::load(QString > const&, tProgress*)': > database.o(.text+0x2a13): undefined reference to `XML_ParserCreate' > database.o(.text+0x2b56): undefined reference to `XML_SetUserData' > database.o(.text+0x2b6e): undefined reference to `XML_SetElementHandler' > database.o(.text+0x2bd2): undefined reference to `XML_Parse' > database.o(.text+0x2bee): undefined reference to `XML_GetErrorCode' > database.o(.text+0x2bf7): undefined reference to `XML_ErrorString' > database.o(.text+0x2d50): undefined reference to `XML_ParserFree' > collect2: ld returned 1 exit status > scons: *** [main/madman] Error 1 > scons: building terminated because of errors. > > It looks like I'm missing something dealing with XML, but I couldn't tell > exactly what. > > -Carl > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > madman-discuss mailing list > mad...@li... > https://lists.sourceforge.net/lists/listinfo/madman-discuss > |