1 |
On 08/26/2010 01:42 PM, Al wrote: |
2 |
> When doing "emerge --oneshot --nodeps binutils" I run into errors |
3 |
> starting with a missing "sys/user.h". I find no direcotry "sys" in |
4 |
> the ".../bfd/" direcory. I did run it twice with the same result, so I |
5 |
> don't assume an instability of Cygwin. |
6 |
|
7 |
Does it work when you just drop including sys/user.h in binutils? |
8 |
|
9 |
That did work for hpux11.31 some time ago, where sys/user.h was dropped |
10 |
(did exist in hpux11.23): |
11 |
http://sourceware.org/ml/binutils/2008-11/msg00310.html |
12 |
|
13 |
/haubi/ |
14 |
|
15 |
> |
16 |
> Does this look like a bug in the sources of binutils? Hmm, it worked |
17 |
> on linux some days before. |
18 |
> |
19 |
> Is it a missing dependency? |
20 |
> |
21 |
> Is it a missconfiguration of mine? |
22 |
> |
23 |
> Thank you |
24 |
> |
25 |
> Al |
26 |
> |
27 |
> |
28 |
> ########################## |
29 |
> some context before: |
30 |
> ########################## |
31 |
> |
32 |
> make[4]: Entering directory |
33 |
> `/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/build/bfd' |
34 |
> |
35 |
> [ ... ] |
36 |
> |
37 |
> libtool: compile: gcc -DHAVE_CONFIG_H -I. |
38 |
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd |
39 |
> -DTRAD_CORE -I. |
40 |
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd |
41 |
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/../include |
42 |
> -DBINDIR=\"/home/prefix/gentoo/usr/i686-pc-linux-gnu/binutils-bin/2.20.51.0.8\" |
43 |
> -I/home/prefix/gentoo/usr/include -W -Wall -Wstrict-prototypes |
44 |
> -Wmissing-prototypes -Wshadow -march=native -O2 -pipe -MT trad-core.lo |
45 |
> -MD -MP -MF .deps/trad-core.Tpo -c |
46 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c |
47 |
> -o .libs/trad-core.o |
48 |
> libtool: compile: gcc -DHAVE_CONFIG_H -I. |
49 |
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd |
50 |
> -DTRAD_CORE -I. |
51 |
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd |
52 |
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/../include |
53 |
> -DBINDIR=\"/home/prefix/gentoo/usr/i686-pc-linux-gnu/binutils-bin/2.20.51.0.8\" |
54 |
> -I/home/prefix/gentoo/usr/include -W -Wall -Wstrict-prototypes |
55 |
> -Wmissing-prototypes -Wshadow -march=native -O2 -pipe -MT cpu-l1om.lo |
56 |
> -MD -MP -MF .deps/cpu-l1om.Tpo -c |
57 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/cpu-l1om.c |
58 |
> -o cpu-l1om.o >/dev/null 2>&1 |
59 |
> |
60 |
> ########################## |
61 |
> erorrs start here: |
62 |
> ########################## |
63 |
> |
64 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:45:44: |
65 |
> error: sys/user.h: No such file or directory |
66 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:60: |
67 |
> error: field ‘u’ has incomplete type |
68 |
> |
69 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c: |
70 |
> In function ‘trad_unix_core_file_p’: |
71 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:84: |
72 |
> error: storage size of ‘u’ isn’t known |
73 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122: |
74 |
> error: ‘UPAGES’ undeclared (first use in this function) |
75 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122: |
76 |
> error: (Each undeclared identifier is reported only once |
77 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122: |
78 |
> error: for each function it appears in.) |
79 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:191: |
80 |
> error: ‘HOST_TEXT_START_ADDR’ undeclared (first use in this function) |
81 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:197: |
82 |
> error: ‘HOST_STACK_END_ADDR’ undeclared (first use in this function) |
83 |
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:84: |
84 |
> warning: unused variable ‘u’ |
85 |
> |
86 |
|
87 |
-- |
88 |
Michael Haubenwallner |
89 |
Gentoo on a different level |