al_sound.o problem

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
foustware

al_sound.o problem

Post by foustware »

hi, i have been trying to install vs for a few days now. right now my problem is this when i run make:

g++ -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -L/usr/X11R6/lib -L/usr/X11R6/lib -o vegastrike posh.o stardate.o star_system_xml.o star_system_generic.o universe_generic.o universe_util_generic.o galaxy.o galaxy_xml.o galaxy_gen.o faction_generic.o hashtable.o configxml.o easydom.o xml_serializer.o xml_support.o lin_time.o endianness.o faction_util_generic.o load_mission.o savegame.o vs_globals.o vs_path.o debug_vs.o gfxlib_struct.o in_joystick.o force_feedback.o faction_util.o in_kb.o in_sdl.o in_mouse.o in_main.o in_handler.o main_loop.o physics.o star_system_jump.o star_system.o universe.o universe_util.o config_xml.o macosx_math.o cg_global.o main.o networking/netserver_devices.o aldrv/libaldrv.a common/libvscommon.a networking/libnetclient.a networking/lowlevel/libnetlowlevel.a cmd/script/script_call_briefing.o cmd/script/libscript.a cmd/script/c_alike/libc_alike.a python/briefing_wrapper.o cmd/libcmd.a cmd/base_init.o python/libpython.a gfx/libgfx.a gldrv/libgldrv.a cmd/ai/libai.a gui/libgui.a networking/libnet.a cmd/collide/libcollide.a boost129/libboost_python.a boost/libboost_python.a gfx/nav/libnav.a -lpthread -lz -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer -lGL -L/usr/X11R6/lib -lGLU -lglut -lXi -lXmu -lexpat -lpng -ljpeg -lopenal /usr/lib/python2.3/config/libpython2.3.a -Xlinker -export-dynamic
/usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x3c7a): In function `posix_tmpnam':
: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x3baf): In function `posix_tempnam':
: the use of `tempnam' is dangerous, better use `mkstemp'
aldrv/libaldrv.a(al_sound.o)(.text+0x26c): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0x272): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0x437): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0x794): In function `AUDCreateSoundMP3(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0x899): In function `AUDCreateSoundMP3(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `alutLoadMP3p'
aldrv/libaldrv.a(al_sound.o)(.text+0x8fa): In function `AUDCreateSoundMP3(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0xdd7): In function `AUDDeleteSound(int, bool)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0xddd): In function `AUDDeleteSound(int, bool)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0xdf5): In function `AUDDeleteSound(int, bool)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0xe86): In function `AUDDeleteSound(int, bool)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0xf03): In function `AUDAdjustSound(int, QVector const&, Vector const&)':
: undefined reference to `scalepos'
aldrv/libaldrv.a(al_sound.o)(.text+0xf13): In function `AUDAdjustSound(int, QVector const&, Vector const&)':
: undefined reference to `usepositional'
aldrv/libaldrv.a(al_sound.o)(.text+0xf37): In function `AUDAdjustSound(int, QVector const&, Vector const&)':
: undefined reference to `scalevel'
aldrv/libaldrv.a(al_sound.o)(.text+0xf97): In function `AUDAdjustSound(int, QVector const&, Vector const&)':
: undefined reference to `usedoppler'
aldrv/libaldrv.a(al_sound.o)(.text+0x1241): In function `AUDStopPlaying(int)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0x124a): In function `AUDStopPlaying(int)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0x125f): In function `AUDStopPlaying(int)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0x1269): In function `AUDStopPlaying(int)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0x12a0): In function `AUDReclaimSource(int)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0x12a6): more undefined references to `unusedsrcs' follow
collect2: ld returned 1 exit status
make[3]: *** [vegastrike] Error 1
make[3]: Leaving directory `/home/foust/Desktop/vega/vegastrike-0.4.1-installer/vegastrike/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/foust/Desktop/vega/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/foust/Desktop/vega/vegastrike-0.4.1-installer/vegastrike'
make: *** [all] Error 2

i have the most recent openal cvs sources "openal-2004-08-22.tar.gz"
if anyone can help i'd be happy as hell. thanks.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

sounds like perhaps you installed openAL after you started compiling and the dependencies broke


make clean;make

has been a solution I've heard to this exact problem
never experienced it myself--but I'd put my money on that--better wait 50 minutes or so for it to compile *again*
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
energyman76b
ISO Party Member
ISO Party Member
Posts: 445
Joined: Tue Feb 11, 2003 8:04 am

Post by energyman76b »

Hi,

try reinstalling openal, after that, make clean and a new ./configure. That should help. If not, you have to reinstall some of openals depencies before recompiling it ;o)
Post Reply