Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217975

Summary: media-libs/adplug-2.1 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED FIXED    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: adplug-2.1-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-16 16:13:27 UTC
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
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-16 16:14:36 UTC
Created attachment 149952 [details, diff]
adplug-2.1-gcc43.patch

Fixes the problem. Adapted from Debian.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2008-04-16 16:31:31 UTC
Thanks again