Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217975 - media-libs/adplug-2.1 fails w/ gcc-4.3.0
Summary: media-libs/adplug-2.1 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-16 16:13 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-16 16:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adplug-2.1-gcc43.patch (adplug-2.1-gcc43.patch,4.67 KB, patch)
2008-04-16 16:14 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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