flipflop
2003.04.22, 09:19 PM
I'm trying to compile Advanced Strategic Command (http://www.asc-hq.org/) but it requires several 3rd party libraries. i have installed SDL 1.2, SDL Image, SDL Mixer and Paragui (thanks to the fink project!) but now I need to compile and install SDLmm (http://sdlmm.sourceforge.net/) and have run into a "small" snag.
./configure seem to run just fine but make fails with the following error:
*** Warning: This library needs some functionality provided by -lSDLmain.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
../libtool: test: too many arguments
gcc -dynamiclib -undefined suppress -o .libs/libSDLmm-0.1.8.0.0.dylib sdlmm_global.lo sdlmm_basesurface.lo sdlmm_surface.lo sdlmm_display.lo sdlmm_pixelformat.lo sdlmm_srect.lo s
dlmm_event.lo sdlmm_audio.lo sdlmm_timer.lo sdlmm_joystick.lo sdlmm_cd.lo sdlmm_videoinfo.lo -lm -L/sw/lib -lSDL -lc -install_name /sw/lib/libSDLmm-0.1.8.dylib
ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libSDLmm.la] Error 1
make: *** [all-recursive] Error 1
NOTE: I did install sdl_shlibs from the fink project so I assume I have the shared version of the SDL library. Any help or suggestions would be greatly appreciated. :D
Thanks!
- John
./configure seem to run just fine but make fails with the following error:
*** Warning: This library needs some functionality provided by -lSDLmain.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
../libtool: test: too many arguments
gcc -dynamiclib -undefined suppress -o .libs/libSDLmm-0.1.8.0.0.dylib sdlmm_global.lo sdlmm_basesurface.lo sdlmm_surface.lo sdlmm_display.lo sdlmm_pixelformat.lo sdlmm_srect.lo s
dlmm_event.lo sdlmm_audio.lo sdlmm_timer.lo sdlmm_joystick.lo sdlmm_cd.lo sdlmm_videoinfo.lo -lm -L/sw/lib -lSDL -lc -install_name /sw/lib/libSDLmm-0.1.8.dylib
ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libSDLmm.la] Error 1
make: *** [all-recursive] Error 1
NOTE: I did install sdl_shlibs from the fink project so I assume I have the shared version of the SDL library. Any help or suggestions would be greatly appreciated. :D
Thanks!
- John