Re: bfd vs stdbool conflict

2002-06-11 Thread Kenshin Black

OK, thanks

Stew Benedict wrote:
 
 In the spec file of the SRPM we ship I use:
 
 %make CFLAGS=%optflags -DTRUE_FALSE_ALREADY_DEFINED
 
 Stew Benedict
 
 






bfd vs stdbool conflict

2002-06-10 Thread Kenshin Black

Hello
I'm using 2.4.19-pre8-ben's kernel on Mdk 8.2 and
I've got mol from rsync but when trying to compile it get this error:

Making all in debugger
Making all in deb
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/shared -I../include
-I../../include -I../../shared -I--g -O2 -Wall -c cmdline.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/shared -I../include
-I../../include -I../../shared -I--g -O2 -Wall -c deb.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/shared -I../include
-I../../include -I../../shared -I--g -O2 -Wall -c monitor.c
In file included from ../include/dis-asm.h:13,
 from monitor.c:37:
/usr/include/bfd.h:106: conflicting types for `false'
/usr/lib/gcc-lib/ppc-mandrake-linux-gnu/2.95.3/include/stdbool.h:9:
previous declaration of `false'
/usr/include/bfd.h:106: conflicting types for `true'
/usr/lib/gcc-lib/ppc-mandrake-linux-gnu/2.95.3/include/stdbool.h:11:
previous declaration of `true'
make[3]: *** [monitor.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

It's seems to be a conflict between stdbool and bfd as it's documented
here http://sources.redhat.com/ml/binutils/2002-01/msg00612.html

If this is right
Please, anyone knows how can i fix it in Mandrake?
Thanks in advance