SDL_Mixer Compilation Issues

An attempt at reinstalling SDL_Mixer via Ports in FreeBSD yielded this
set of errors:

===> Building for sdl_mixer-1.2.6
Making all in timidity
gmake[1]: Entering directory
/usr/ports/audio/sdl_mixer/work/SDL_mixer-1.2.6/timidity' if /bin/sh /usr/local/bin/libtool15 --mode=compile /usr/local/bin/gcc40 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DLIBMIKMOD_MUSIC -I/usr/local/include -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I../timidity -DOGG_MUSIC -DMP3_MUSIC -I/usr/local/include -I/usr/local/include/smpeg -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -MT common.lo -MD -MP -MF ".deps/common.Tpo" -c -o common.lo common.c; \ then mv -f ".deps/common.Tpo" ".deps/common.Plo"; else rm -f ".deps/common.Tpo"; exit 1; fi libtool15: compile: unable to infer tagged configuration libtool15: compile: specify a tag with–tag’
gmake[1]: *** [common.lo] Error 1
gmake[1]: Leaving directory
`/usr/ports/audio/sdl_mixer/work/SDL_mixer-1.2.6/timidity’
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/audio/sdl_mixer.

Is there anything I can do about this?

Kenji Miyamoto wrote:

An attempt at reinstalling SDL_Mixer via Ports in FreeBSD yielded this
set of errors:

===> Building for sdl_mixer-1.2.6
Making all in timidity
gmake[1]: Entering directory
/usr/ports/audio/sdl_mixer/work/SDL_mixer-1.2.6/timidity' if /bin/sh /usr/local/bin/libtool15 --mode=compile /usr/local/bin/gcc40 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DLIBMIKMOD_MUSIC -I/usr/local/include -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I../timidity -DOGG_MUSIC -DMP3_MUSIC -I/usr/local/include -I/usr/local/include/smpeg -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -MT common.lo -MD -MP -MF ".deps/common.Tpo" -c -o common.lo common.c; \ then mv -f ".deps/common.Tpo" ".deps/common.Plo"; else rm -f ".deps/common.Tpo"; exit 1; fi libtool15: compile: unable to infer tagged configuration libtool15: compile: specify a tag with–tag’
gmake[1]: *** [common.lo] Error 1
gmake[1]: Leaving directory
`/usr/ports/audio/sdl_mixer/work/SDL_mixer-1.2.6/timidity’
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/audio/sdl_mixer.

That’s usually a sign of a broken libtool or automake.

Is there anything I can do about this?

Upgrade libtool or automake.

Stephane

Stephane Marchesin wrote:

Kenji Miyamoto wrote:

An attempt at reinstalling SDL_Mixer via Ports in FreeBSD yielded
this set of errors:

===> Building for sdl_mixer-1.2.6
Making all in timidity
gmake[1]: Entering directory
/usr/ports/audio/sdl_mixer/work/SDL_mixer-1.2.6/timidity' if /bin/sh /usr/local/bin/libtool15 --mode=compile /usr/local/bin/gcc40 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DLIBMIKMOD_MUSIC -I/usr/local/include -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I../timidity -DOGG_MUSIC -DMP3_MUSIC -I/usr/local/include -I/usr/local/include/smpeg -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -MT common.lo -MD -MP -MF ".deps/common.Tpo" -c -o common.lo common.c; \ then mv -f ".deps/common.Tpo" ".deps/common.Plo"; else rm -f ".deps/common.Tpo"; exit 1; fi libtool15: compile: unable to infer tagged configuration libtool15: compile: specify a tag with–tag’
gmake[1]: *** [common.lo] Error 1
gmake[1]: Leaving directory
`/usr/ports/audio/sdl_mixer/work/SDL_mixer-1.2.6/timidity’
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/audio/sdl_mixer.

That’s usually a sign of a broken libtool or automake.

Is there anything I can do about this?

Upgrade libtool or automake.

Stephane


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I have automake19 and autoconf259 installed, and can’t update them since
they’re the newest version.

Should I use the base gcc instead of gcc40?