Hi,
I'm getting this from the SVN latest snapshot:
g++ -O2 -Wno-long-long -g -O2 -o exult actions.o actorio.o actors.o args.o browser.o cheat.o cheat_screen.o combat.o delobjs.o dir.o drag.o effects.o exult.o exultmenu.o game.o gameclk.o gamedat.o gamemap.o gamerend.o gamewin.o istring.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 shapeid.o tqueue.o txtscroll.o version.o xdrag.o pathfinder/.libs/libpathfinder.a audio/.libs/libaudio.a audio/midi_drivers/.libs/libmididrv.a audio/midi_drivers/timidity/.libs/libtimidity.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 shapes/shapeinf/.libs/libshapeinf.a objs/.libs/libobjs.a gumps/.libs/libgumps.a files/.libs/libu7file.a files/zip/.libs/libminizip.a gamemgr/.libs/libgamemgr.a -lSDL -lpthread -lz -lvorbisfile -lvorbis -lm -logg -lasound
xdrag.o: In function `Get_window_coords':
/home/cedric/Download/exult/xdrag.cc:51: undefined reference to `XQueryTree'
/home/cedric/Download/exult/xdrag.cc:53: undefined reference to `XFree'
/home/cedric/Download/exult/xdrag.cc:59: undefined reference to `XGetWindowAttributes'
xdrag.o: In function `Xdnd':
/home/cedric/Download/exult/xdrag.cc:88: undefined reference to `XInternAtom'
/home/cedric/Download/exult/xdrag.cc:89: undefined reference to `XInternAtom'
/home/cedric/Download/exult/xdrag.cc:90: undefined reference to `XInternAtom'
/home/cedric/Download/exult/xdrag.cc:91: undefined reference to `XInternAtom'
/home/cedric/Download/exult/xdrag.cc:93: undefined reference to `XInternAtom'
xdrag.o:/home/cedric/Download/exult/xdrag.cc:94: more undefined references to `XInternAtom' follow
xdrag.o: In function `Xdnd::select_msg(XSelectionEvent&)':
/home/cedric/Download/exult/xdrag.cc:258: undefined reference to `XGetAtomName'
/home/cedric/Download/exult/xdrag.cc:275: undefined reference to `XGetWindowProperty'
/home/cedric/Download/exult/xdrag.cc:307: undefined reference to `XFree'
xdrag.o: In function `Xdnd::client_msg(XClientMessageEvent&)':
/home/cedric/Download/exult/xdrag.cc:132: undefined reference to `XGetAtomName'
/home/cedric/Download/exult/xdrag.cc:190: undefined reference to `XSendEvent'
/home/cedric/Download/exult/xdrag.cc:154: undefined reference to `XGetWindowProperty'
/home/cedric/Download/exult/xdrag.cc:200: undefined reference to `XConvertSelection'
xdrag.o: In function `Xdnd':
/home/cedric/Download/exult/xdrag.cc:108: undefined reference to `XChangeProperty'
/home/cedric/Download/exult/xdrag.cc:108: undefined reference to `XChangeProperty'
collect2: ld returned 1 exit status
make[2]: *** [exult] Error 1
SVN snapshot:compile issue
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: SVN snapshot:compile issue
You need to add '-lX11' to the 'LIBS =' line in the makefile. This is a longtime problem with Debian. Is that you OS?
Re: SVN snapshot:compile issue
I thought newer Debians do no longer have this issue. I *think* I had this in my "FAQ-to-do-list" and scratched it because newer Debians no longer have this issue.You need to add '-lX11' to the 'LIBS =' line in the makefile. This is a longtime problem with Debian.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: SVN snapshot:compile issue
It happened in Squeeze months ago when I had it. There's two open trackers on the subject.[1]https://sourceforge.net/tracker/?fun ... tid=102335 2 Is X11 specific stuff for Exult Studio support only? If so, is there a way to add automatically with configure if not building for Windows and Exult Studio Support is enabled?
Re: SVN snapshot:compile issue
Recent Ubuntu does not suffer from this, and Ubuntu is Debian-based. But maybe the changes haven't been backported. I am looking into a fix for it.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Re: SVN snapshot:compile issue
Ah, I probably had ubuntu in mind
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: SVN snapshot:compile issue
If memory serves, I've had this problem since Fedora 9. I'm on Fedora 12 now and the problem still persists.