i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"adplug\" -DPACKAGE_TARNAME=\"adplug\" -DPACKAGE_VERSION=\"2.1\" "-DPACKAGE_STRING=\"adplug 2.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"adplug\" -DVERSION=\"2.1\" -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 -DHAVE_LIBSTDC__=1 -DHAVE_GETOPT_H=1 -DDEBUG=1 -I. -I. -Dstricmp=strcasecmp -I/usr/include/libbinio -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c adplug.cpp -fPIC -DPIC -o .libs/adplug.o i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"adplug\" -DPACKAGE_TARNAME=\"adplug\" -DPACKAGE_VERSION=\"2.1\" "-DPACKAGE_STRING=\"adplug 2.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"adplug\" -DVERSION=\"2.1\" -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 -DHAVE_LIBSTDC__=1 -DHAVE_GETOPT_H=1 -DDEBUG=1 -I. -I. -Dstricmp=strcasecmp -I/usr/include/libbinio -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c emuopl.cpp -fPIC -DPIC -o .libs/emuopl.o i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"adplug\" -DPACKAGE_TARNAME=\"adplug\" -DPACKAGE_VERSION=\"2.1\" "-DPACKAGE_STRING=\"adplug 2.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"adplug\" -DVERSION=\"2.1\" -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 -DHAVE_LIBSTDC__=1 -DHAVE_GETOPT_H=1 -DDEBUG=1 -I. -I. -Dstricmp=strcasecmp -I/usr/include/libbinio -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c emuopl.cpp -o emuopl.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"adplug\" -DPACKAGE_TARNAME=\"adplug\" -DPACKAGE_VERSION=\"2.1\" -DPACKAGE_STRING=\"adplug\ 2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"adplug\" -DVERSION=\"2.1\" -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 -DHAVE_LIBSTDC__=1 -DHAVE_GETOPT_H=1 -DDEBUG=1 -I. -I. -Dstricmp=strcasecmp -I/usr/include/libbinio -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o fmopl.lo fmopl.c i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"adplug\" -DPACKAGE_TARNAME=\"adplug\" -DPACKAGE_VERSION=\"2.1\" "-DPACKAGE_STRING=\"adplug 2.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"adplug\" -DVERSION=\"2.1\" -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 -DHAVE_LIBSTDC__=1 -DHAVE_GETOPT_H=1 -DDEBUG=1 -I. -I. -Dstricmp=strcasecmp -I/usr/include/libbinio -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c fmopl.c -fPIC -DPIC -o .libs/fmopl.o In file included from adplug.cpp:62: rol.h: In member function 'bool CrolPlayer::StringCompare::keyLess(const char*, const char*) const': rol.h:272: error: 'strcasecmp' was not declared in this scope make[1]: *** [adplug.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"adplug\" -DPACKAGE_TARNAME=\"adplug\" -DPACKAGE_VERSION=\"2.1\" "-DPACKAGE_STRING=\"adplug 2.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"adplug\" -DVERSION=\"2.1\" -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 -DHAVE_LIBSTDC__=1 -DHAVE_GETOPT_H=1 -DDEBUG=1 -I. -I. -Dstricmp=strcasecmp -I/usr/include/libbinio -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c fmopl.c -o fmopl.o >/dev/null 2>&1 make[1]: Leaving directory `/var/tmp/portage/media-libs/adplug-2.1/work/adplug-2.1/src' make: *** [all-recursive] Error 1 Reproducible: Always
Created attachment 149952 [details, diff] adplug-2.1-gcc43.patch Fixes the problem. Adapted from Debian.
Thanks again