Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240616 - media-sound/beast-0.7.1-r1 - birnetmsg.cc:180: error: 'strcmp' was not declared in this scope
Summary: media-sound/beast-0.7.1-r1 - birnetmsg.cc:180: error: 'strcmp' was not declar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-10-08 23:12 UTC by Dave
Modified: 2008-11-02 14:59 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,26.59 KB, text/plain)
2008-10-08 23:13 UTC, Dave
Details
emerge --info (info,17.38 KB, text/plain)
2008-10-08 23:13 UTC, Dave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2008-10-08 23:12:51 UTC
mv -f .deps/birnetcpu.Tpo .deps/birnetcpu.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DBIRNET_LOG_DOMAIN=\"BIRNET\" -I. -I.. -I.. -I.. -I. -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -D_BIRNET_SOURCE_EXTENSIONS -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wno-deprecated -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -Wall -Wdeprecated -Wno-cast-qual -ftracer -finline-functions -fno-keep-static-consts -fmessage-length=155 -MT birnetmsg.lo -MD -MP -MF .deps/birnetmsg.Tpo -c -o birnetmsg.lo birnetmsg.cc
libtool: compile:  i686-pc-linux-gnu-g++ -DBIRNET_LOG_DOMAIN=\"BIRNET\" -I. -I.. -I.. -I.. -I. -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_BIRNET_SOURCE_EXTENSIONS -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wno-deprecated -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -Wall -Wdeprecated -Wno-cast-qual -ftracer -finline-functions -fno-keep-static-consts -fmessage-length=155 -MT birnetmsg.lo -MD -MP -MF .deps/birnetmsg.Tpo -c birnetmsg.cc  -fPIC -DPIC -o .libs/birnetmsg.o
birnetmsg.cc: In static member function 'static Birnet::Msg::Type Birnet::Msg::register_type(const char*, Birnet::Msg::Type, const char*)':
birnetmsg.cc:180: error: 'strcmp' was not declared in this scope
birnetmsg.cc:195: error: 'memcpy' was not declared in this scope
birnetmsg.cc:202: error: 'memset' was not declared in this scope
birnetmsg.cc: In static member function 'static void Birnet::Msg::key_list_change_L(const Birnet::String&, bool)':
birnetmsg.cc:328: error: 'strstr' was not declared in this scope
birnetmsg.cc: In function 'Birnet::String Birnet::prgname(bool)':
birnetmsg.cc:401: error: 'strrchr' was not declared in this scope
make[3]: *** [birnetmsg.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/beast-0.7.1-r1/work/beast-0.7.1/birnet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/beast-0.7.1-r1/work/beast-0.7.1/birnet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/beast-0.7.1-r1/work/beast-0.7.1'
make: *** [all] Error 2
 *
 * ERROR: media-sound/beast-0.7.1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2560:  Called die
 * The specific snippet of code:
 * emake || die "make failed"
 * The die message:
 * make failed
Comment 1 Dave 2008-10-08 23:13:17 UTC
Created attachment 167680 [details]
build.log
Comment 2 Dave 2008-10-08 23:13:39 UTC
Created attachment 167682 [details]
emerge --info
Comment 3 Francisco José Cañizares Santofimia 2008-11-01 14:09:33 UTC
Same here in a x86 system.
Comment 4 Francisco José Cañizares Santofimia 2008-11-02 11:21:57 UTC
This bug happens in GCC 4.3 and is solved in Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455281

The direct URL for the patch that solves *the compilation problem* is: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=12;filename=beast_gcc43.diff;att=1;bug=455281
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2008-11-02 14:59:31 UTC
+  02 Nov 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/beast-0.7.1-gcc43.patch, beast-0.7.1-r1.ebuild:
+  Fix bug 240616 (gcc-4.3), thanks to Francisco José Cañizares Santofimia
+  <telefrancisco@gmail.com> and bug 243000 (update-mime-database collision).
+