On my 1.4b with gcc 3.2 and binutils 2.13.90.0.4 I cannot emerge mpeg-tools or almost any other package that you get with 'emerge -s mpeg'. I alway get this error: >>> Source unpacked. gcc -Iheaders -I/usr/include -Ijpeg -O -Wall -Wmissing-prototypes -c -o mfwddct.o mfwddct.c cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory In file included from headers/all.h:83, from mfwddct.c:18: headers/libpnmrw.h:24: conflicting types for `malloc' /usr/include/malloc.h:121: previous declaration of `malloc' make: *** [mfwddct.o] Fehler 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 3, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-video/mpeg-tools/mpeg-tools- 1.5b.ebuild .
Hmm.. yes, it appears that the mpeg-tools define their own version of malloc, for some reason. Are you versed enough in C to provide a patch ?
I have the same problem over here karltk. Catch me in irc and i can give you an ssh login (if you need one for testing). -phoen][x-
I've removed their stupid malloc redef and now it works.