Page 1 of 1

ANOTHER compile error

Posted: Wed Mar 30, 2005 5:45 am
by I_Died_Once
Installing the game on another machine of mine... the configure script tells me it loves me and the world is at peace with itself. (well, no errors)

but during "make" I get
make[2]: *** [bzflag] Error 1
make[2]: Leaving directory `/home/nigga/bin/bzflag-2.0.2.20050318/src/bzflag'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nigga/bin/bzflag-2.0.2.20050318/src'
make: *** [all-recursive] Error 1


Now, who do I got to kill to get this one resolved? I was root when doing this...

Suse 9.2 on a laptop (3D enabled) compaq nx9010

Thanks

where's the beef?

Posted: Wed Mar 30, 2005 6:04 pm
by learner
You didn't actually post the error, you posted the follow-up messages that follow the actual error. Try pasting a little bit more information (look for the first occurance of "failed" or "error" or "duplicate" etc and try to include the last compile line).

Posted: Sat Apr 02, 2005 4:45 pm
by 1veedo
I got this once. This is how, I think, I fixed it.

A) I completely uninstalled it. Both my other rpm, and a make uninstall for the newest.
B) In FC3, I installed the programming packages for KDE and X Windows, as well as the general development packages. Not sure which one fixes the problem.

Posted: Tue May 10, 2005 3:26 pm
by I_Died_Once
ok, here is the actual error

Code: Select all

/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x194): In function `ALSA_CloseAudio':
: undefined reference to `snd_pcm_drain'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x1a4): In function `ALSA_CloseAudio':
: undefined reference to `snd_pcm_close'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x21a): In function `ALSA_PlayAudio':
: undefined reference to `snd_pcm_writei'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x241): In function `ALSA_PlayAudio':
: undefined reference to `snd_pcm_prepare'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x27b): In function `ALSA_PlayAudio':
: undefined reference to `snd_pcm_resume'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x3a9): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_open'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x3b6): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_sizeof'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x3cf): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_sizeof'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x3fc): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_any'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x427): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_set_access'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x4ca): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_set_format'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x51d): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_set_channels'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x54e): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_set_rate_near@ALSA_0.9'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x58a): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_set_period_size_near@ALSA_0.9'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x5b5): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_set_periods_near@ALSA_0.9'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x5cf): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x65a): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_nonblock'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x6bf): In function `ALSA_OpenAudio':
: undefined reference to `snd_strerror'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x6db): In function `ALSA_OpenAudio':
: undefined reference to `snd_strerror'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x6fd): In function `ALSA_OpenAudio':
: undefined reference to `snd_strerror'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x717): In function `ALSA_OpenAudio':
: undefined reference to `snd_pcm_hw_params_get_channels@ALSA_0.9'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x736): In function `ALSA_OpenAudio':
: undefined reference to `snd_strerror'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x755): In function `ALSA_OpenAudio':
: undefined reference to `snd_strerror'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x7b8): In function `Audio_Available':
: undefined reference to `snd_pcm_open'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x7cc): In function `Audio_Available':
: undefined reference to `snd_pcm_close'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x426): In function `AA_VideoQuit':
: undefined reference to `aa_uninitkbd'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x437): In function `AA_VideoQuit':
: undefined reference to `aa_uninitmouse'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x477): In function `AA_VideoQuit':
: undefined reference to `aa_close'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x6d8): In function `AA_DirectUpdate':
: undefined reference to `aa_renderpalette'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x703): In function `AA_DirectUpdate':
: undefined reference to `aa_flush'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x817): In function `AA_VideoInit':
: undefined reference to `aa_parseoptions'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x820): In function `AA_VideoInit':
: undefined reference to `aa_defparams'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x82e): In function `AA_VideoInit':
: undefined reference to `aa_autoinit'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x859): In function `AA_VideoInit':
: undefined reference to `aa_autoinitkbd'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x87e): In function `AA_VideoInit':
: undefined reference to `aa_autoinitmouse'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x894): In function `AA_VideoInit':
: undefined reference to `aa_getrenderparams'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x8be): In function `AA_VideoInit':
: undefined reference to `aa_resizehandler'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0x9cb): In function `AA_ResizeHandler':
: undefined reference to `aa_resize'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0xa94): In function `AA_ResizeHandler':
: undefined reference to `aa_renderpalette'
/usr/lib/libSDL.a(SDL_aavideo.o)(.text+0xa9f): In function `AA_ResizeHandler':
: undefined reference to `aa_flush'
/usr/lib/libSDL.a(SDL_aaevents.o)(.text+0x2f1): In function `AA_PumpEvents':
: undefined reference to `aa_getmouse'
/usr/lib/libSDL.a(SDL_aaevents.o)(.text+0x423): In function `AA_PumpEvents':
: undefined reference to `aa_getevent'
collect2: ld returned 1 exit status
make[2]: *** [bzflag] Error 1
make[2]: Leaving directory `/home/nigga/bin/bzflag-2.0.2.20050318/src/bzflag'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nigga/bin/bzflag-2.0.2.20050318/src'
make: *** [all-recursive] Error 1
planet:/home/nigga/bin/bzflag-2.0.2.20050318 #

Posted: Tue May 10, 2005 7:10 pm
by Manu
you need to install the dev packages for the required libraries..