Greetings, all.
I'm trying to compile the CVS snapshot of exult 1.1, and I'm running into some problems on the build:
/usr/local//lib/libvorbis.so: undefined reference to `oggpack_writealign'
/usr/local//lib/libvorbisfile.so: undefined reference to `ogg_stream_reset_serialno'
collect2: ld returned 1 exit status
make[2]: *** [exult] Error 1
I encounter this same problem with the release tarballs of ao/ogg/vorbis, and with the CVS from today (1/27/03). Any clue what's going on?
Exult 1.1 / libvorbis undefined references
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
Re: Exult 1.1 / libvorbis undefined references
Oops. Lost a bit of my post somewhere.
I'm running a from-scratch linux machine, with gcc-3.2, ld 2.13.2.1, alsa 0.9.0rc6, and a Soundblaster Live. Ogg is working and I can encode/decode just fine, as well as compile other programs that link to libogg (xmms, a ripper/encoder program, etc.)
Any help would be great!
I'm running a from-scratch linux machine, with gcc-3.2, ld 2.13.2.1, alsa 0.9.0rc6, and a Soundblaster Live. Ogg is working and I can encode/decode just fine, as well as compile other programs that link to libogg (xmms, a ripper/encoder program, etc.)
Any help would be great!
Re: Exult 1.1 / libvorbis undefined references
Can you post the full link command that's being executed?
Re: Exult 1.1 / libvorbis undefined references
The full link command being executed is:
/bin/sh ./libtool --mode=link g++ -O2 -Wno-long-long -g -O2 -mmmx -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 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 -lpthread -lSDL_mixer -lz -lGL
g++ -O2 -Wno-long-long -g -O2 -mmmx -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 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 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 -L/usr/local/lib -lm /usr/local/lib/libesd.so /usr/local/lib/libaudiofile.so -lm -L/usr/X11R6/lib -ldl -lpthread /usr/local/lib/libSDL_mixer.so -lpthread -lpthread -lpthread -lpthread -lpthread /usr/local//lib/libvorbisfile.so /usr/local//lib/libvorbis.so /usr/lib/libogg.so /usr/local/lib/libsmpeg.so /usr/local/lib/libSDL.so -lpthread -lz /usr/local/lib/libGL.so -lvga -lSM -lICE -lXmu -lXext -lXi -lX11 -lpthread -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local//lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local//lib
/bin/sh ./libtool --mode=link g++ -O2 -Wno-long-long -g -O2 -mmmx -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 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 -lpthread -lSDL_mixer -lz -lGL
g++ -O2 -Wno-long-long -g -O2 -mmmx -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 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 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 -L/usr/local/lib -lm /usr/local/lib/libesd.so /usr/local/lib/libaudiofile.so -lm -L/usr/X11R6/lib -ldl -lpthread /usr/local/lib/libSDL_mixer.so -lpthread -lpthread -lpthread -lpthread -lpthread /usr/local//lib/libvorbisfile.so /usr/local//lib/libvorbis.so /usr/lib/libogg.so /usr/local/lib/libsmpeg.so /usr/local/lib/libSDL.so -lpthread -lz /usr/local/lib/libGL.so -lvga -lSM -lICE -lXmu -lXext -lXi -lX11 -lpthread -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local//lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local//lib