binutils 2.19
Olivier Kaloudoff <[email protected]>
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
I've patched various little things to have compilation ok in intl/ and
libiberty/ .. but now I'm stuck with something harder in bfd ..
I tried to compile without diet, and compilation of elf.lo went fine... so
diet has a side effect in some way .. that I'm not able to find out.
Maybe someone could help me ?
$ ./configure CC=diet -v cc LDFLAGS=-lowfat CFLAGS=-DHAVE_SYS_STAT_H
-DHAVE_STRING_H -DHAVE_STDLIB_H -DHAVE_FCNTL_H -DHAVE_STPCPY -UHAVE_ARGZ_H
(...)
$ make
(...)
make[2]: Entering directory
`/home/kalou/DEV/STATIC_LIBRARIES_PROJECT/binutils-2.19/bfd'
/bin/bash ./libtool --tag=CC --mode=compile diet -v cc -DHAVE_CONFIG_H -I.
-I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I./../intl -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -DHAVE_SYS_STAT_H
-DHAVE_STRING_H -DHAVE_STDLIB_H -DHAVE_FCNTL_H -DHAVE_STPCPY -UHAVE_ARGZ_H
-c -o elf.lo elf.c
libtool: compile: diet -v cc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I.
-I.././bfd -I.././bfd/../include -I./../intl -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -DHAVE_SYS_STAT_H -DHAVE_STRING_H
-DHAVE_STDLIB_H -DHAVE_FCNTL_H -DHAVE_STPCPY -UHAVE_ARGZ_H -c elf.c
cc -include /usr/lib/diet/include/dietref.h -DHAVE_CONFIG_H -I. -I.././bfd
-I. -I. -I.././bfd -I.././bfd/../include -I./../intl -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -DHAVE_SYS_STAT_H
-DHAVE_STRING_H -DHAVE_STDLIB_H -DHAVE_FCNTL_H -DHAVE_STPCPY -UHAVE_ARGZ_H
-c elf.c -isystem /usr/lib/diet/include -D__dietlibc__
In file included from /usr/include/sys/user.h:24,
from /usr/include/sys/procfs.h:31,
from elf.c:7384:
/usr/include/asm/ptrace.h:29: error: redefinition of 'struct pt_regs'
In file included from elf.c:7384:
/usr/include/sys/procfs.h:90: error: expected specifier-qualifier-list
before '__pid_t'
/usr/include/sys/procfs.h:115: error: expected specifier-qualifier-list
before '__uid_t'
/usr/include/sys/procfs.h:132: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'lwpid_t'
make[2]: *** [elf.lo] Error 1
make[2]: Leaving directory
`/home/kalou/DEV/STATIC_LIBRARIES_PROJECT/binutils-2.19/bfd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/kalou/DEV/STATIC_LIBRARIES_PROJECT/binutils-2.19/bfd'
make: *** [all] Error 2
kalou@g4:~/STATIC_LIBRARIES_PROJECT/binutils-2.19/bfd$ gcc --version
gcc (GCC) 4.2.4 (OpenPKG-CURRENT)
kalou@g4:~/STATIC_LIBRARIES_PROJECT/binutils-2.19/bfd$ diet -v
diet version 0.31-1ubuntu3
Olivier Kaloudoff