Date: Mon, 31 Aug 2009 20:40:04 GMT From: gone bsd <gonebsd@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/138422: port games/exult: linking fails with undefined references Message-ID: <200908312040.n7VKe4Jr054139@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/138422; it has been noted by GNATS. From: gone bsd <gonebsd@gmail.com> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/138422: port games/exult: linking fails with undefined references Date: Mon, 31 Aug 2009 23:09:49 +0300 gnats 1, freebsd 0. I'll try to weed out the essentials: #make depends ===> exult-1.2_4 depends on shared library: SDL-1.2.11 - found ===> exult-1.2_4 depends on shared library: SDL_mixer-1.2.2 - found ===> exult-1.2_4 depends on executable: timidity - found ===> exult-1.2_4 depends on file: /usr/local/bin/sdl-config - found ===> exult-1.2_4 depends on executable: gmake - found ===> exult-1.2_4 depends on package: libtool>=2.2 - found ===> exult-1.2_4 depends on executable: timidity - found #make ===> Building for exult-1.2_4 gmake all-recursive [...] gmake[2]: Entering directory `/usr/ports/games/exult/work/exult-1.2' /bin/sh /usr/local/bin/libtool --mode=link c++ -O2 -Wno-long-long -O2 -fno-strict-aliasing -pipe -march=pentium4 -I/usr/local/include -L/usr/local/lib -o exult actions.o actorio.o actors.o alloc.o args.o bggame.o browser.o cheat.o cheat_screen.o combat.o delobjs.o devgame.o dir.o drag.o effects.o exult.o exultmenu.o game.o gameclk.o gamedat.o gamemap.o gamerend.o gamewin.o keys.o keyactions.o menulist.o monsters.o mouse.o npcnear.o npctime.o palette.o party.o paths.o readnpcs.o schedule.o segfile.o shapeid.o sigame.o tqueue.o txtscroll.o version.o xdrag.o pathfinder/libpathfinder.la audio/libaudio.la audio/midi_drivers/libmididrv.la flic/libflic.la conf/libconf.la imagewin/libimagewin.la server/libserver.la usecode/libusecode.la shapes/libshapes.la objs/libobjs.la gumps/libgumps.la files/libu7file.la files/zip/libminizip.la -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer -lz libtool: link: c++ -O2 -Wno-long-long -O2 -fno-strict-aliasing -pipe -march=pentium4 -I/usr/local/include -o exult actions.o actorio.o actors.o alloc.o args.o bggame.o browser.o cheat.o cheat_screen.o combat.o delobjs.o devgame.o dir.o drag.o effects.o exult.o exultmenu.o game.o gameclk.o gamedat.o gamemap.o gamerend.o gamewin.o keys.o keyactions.o menulist.o monsters.o mouse.o npcnear.o npctime.o palette.o party.o paths.o readnpcs.o schedule.o segfile.o shapeid.o sigame.o tqueue.o txtscroll.o version.o xdrag.o -Wl,-rpath -Wl,/usr/local/lib -pthread -L/usr/local/lib pathfinder/.libs/libpathfinder.a audio/.libs/libaudio.a audio/midi_drivers/.libs/libmididrv.a flic/.libs/libflic.a conf/.libs/libconf.a imagewin/.libs/libimagewin.a server/.libs/libserver.a usecode/.libs/libusecode.a shapes/.libs/libshapes.a objs/.libs/libobjs.a gumps/.libs/libgumps.a files/.libs/libu7file.a files/zip/.libs/libminizip.a /usr/local/lib/libSDL_mixer.so /usr/local/lib/libSDL.so /usr/local/lib/libiconv.so -lm -lvgl -lusbhid /usr/local/lib/libmikmod.so -lz -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib xdrag.o(.text+0xc6): In function `Get_window_coords(_XDisplay*, unsigned long, int&, int&)': : undefined reference to `XQueryTree' xdrag.o(.text+0xd5): In function `Get_window_coords(_XDisplay*, unsigned long, int&, int&)': : undefined reference to `XFree' xdrag.o(.text+0x111): In function `Get_window_coords(_XDisplay*, unsigned long, int&, int&)': : undefined reference to `XGetWindowAttributes' xdrag.o(.text+0x1f8): In function `Xdnd::Xdnd(_XDisplay*, unsigned long, unsigned long, void (*)(int, int, int, int, int, int, bool), void (*)(int, int, int, int, int, int, int, int, bool), void (*)(int, int, int, int, void*), void (*)(int, int, int, void*), void (*)(int, U7_combo_data*, int, int, void*))': : undefined reference to `XInternAtom' xdrag.o(.text+0x215): In function `Xdnd::Xdnd(_XDisplay*, unsigned long, unsigned long, void (*)(int, int, int, int, int, int, bool), void (*)(int, int, int, int, int, int, int, int, bool), void (*)(int, int, int, int, void*), void (*)(int, int, int, void*), void (*)(int, U7_combo_data*, int, int, void*))': : undefined reference to `XInternAtom' xdrag.o(.text+0x232): In function `Xdnd::Xdnd(_XDisplay*, unsigned long, unsigned long, void (*)(int, int, int, int, int, int, bool), void (*)(int, int, int, int, int, int, int, int, bool), void (*)(int, int, int, int, void*), void (*)(int, int, int, void*), void (*)(int, U7_combo_data*, int, int, void*))': : undefined reference to `XInternAtom' xdrag.o(.text+0x24f): In function `Xdnd::Xdnd(_XDisplay*, unsigned long, unsigned long, void (*)(int, int, int, int, int, int, bool), void (*)(int, int, int, int, int, int, int, int, bool), void (*)(int, int, int, int, void*), void (*)(int, int, int, void*), void (*)(int, U7_combo_data*, int, int, void*))': : undefined reference to `XInternAtom' xdrag.o(.text+0x26c): In function `Xdnd::Xdnd(_XDisplay*, unsigned long, unsigned long, void (*)(int, int, int, int, int, int, bool), void (*)(int, int, int, int, int, int, int, int, bool), void (*)(int, int, int, int, void*), void (*)(int, int, int, void*), void (*)(int, U7_combo_data*, int, int, void*))': : undefined reference to `XInternAtom' xdrag.o(.text+0x289): more undefined references to `XInternAtom' follow xdrag.o(.text+0x646): In function `Xdnd::select_msg(XSelectionEvent&)': : undefined reference to `XGetAtomName' xdrag.o(.text+0x7b6): In function `Xdnd::select_msg(XSelectionEvent&)': : undefined reference to `XGetWindowProperty' xdrag.o(.text+0x7df): In function `Xdnd::select_msg(XSelectionEvent&)': : undefined reference to `XFree' xdrag.o(.text+0x9f7): In function `Xdnd::client_msg(XClientMessageEvent&)': : undefined reference to `XGetAtomName' xdrag.o(.text+0xbd9): In function `Xdnd::client_msg(XClientMessageEvent&)': : undefined reference to `XSendEvent' xdrag.o(.text+0xdf2): In function `Xdnd::client_msg(XClientMessageEvent&)': : undefined reference to `XGetWindowProperty' xdrag.o(.text+0xe73): In function `Xdnd::client_msg(XClientMessageEvent&)': : undefined reference to `XConvertSelection' xdrag.o(.text+0x3a5): In function `Xdnd::Xdnd(_XDisplay*, unsigned long, unsigned long, void (*)(int, int, int, int, int, int, bool), void (*)(int, int, int, int, int, int, int, int, bool), void (*)(int, int, int, int, void*), void (*)(int, int, int, void*), void (*)(int, U7_combo_data*, int, int, void*))': : undefined reference to `XChangeProperty' xdrag.o(.text+0x625): In function `Xdnd::Xdnd(_XDisplay*, unsigned long, unsigned long, void (*)(int, int, int, int, int, int, bool), void (*)(int, int, int, int, int, int, int, int, bool), void (*)(int, int, int, int, void*), void (*)(int, int, int, void*), void (*)(int, U7_combo_data*, int, int, void*))': : undefined reference to `XChangeProperty' gmake[2]: *** [exult] Error 1 gmake[2]: Leaving directory `/usr/ports/games/exult/work/exult-1.2' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/games/exult/work/exult-1.2' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/games/exult.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908312040.n7VKe4Jr054139>