https://sourceware.org/bugzilla/show_bug.cgi?id=27064

--- Comment #4 from progman3k at gmail dot com ---
~/binutils-2.35$ CC=gcc ./configure --enable-targets=i386-pe

Configure runs OK but building fails:

gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include -I./../zlib
 -g -O2 -DLOCALEDIR="\"/usr/local/share/locale\""  -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -DELF_LIST_OPTIONS=TRUE
-DELF_SHLIB_LIST_OPTIONS=TRUE -DELF_PLT_UNWIND_LIST_OPTIONS=TRUE -g -O2 -MT
deffilep.o -MD -MP -MF .deps/deffilep.Tpo -c -o deffilep.o `test -f deffilep.c
|| echo ./`deffilep.c 
In file included from /usr/include/dlfcn.h:17:0,
                 from sysdep.h:80,
                 from deffilep.y:22:
deffilep.c:234:5: error: expected identifier before numeric constant
     SHARED = 279,
     ^
deffilep.c:265:0: warning: "SHARED" redefined
 #define SHARED 279

In file included from /usr/include/dlfcn.h:17:0,
                 from sysdep.h:80,
                 from deffilep.y:22:
/usr/include/sys/mman.h:81:0: note: this is the location of the previous
definition
 #define SHARED  0x10

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to