Gentoo Archives: gentoo-embedded

From: Natanael Copa <mlists@××××××.org>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] getting started with uclibc
Date: Thu, 29 Jul 2004 12:06:00
Message-Id: 4108E80F.8020202@tanael.org
In Reply to: Re: [gentoo-embedded] getting started with uclibc by Mike Frysinger
1 Mike Frysinger wrote:
2
3 >On Wednesday 28 July 2004 06:46 pm, Natanael Copa wrote:
4 >
5 >
6 >>Yes! Where can I get them?
7 >>
8 >>
9 >
10 >http://dev.gentoo.org/~vapier/uclibc/
11 >
12 >
13
14 I'm running it here. Its just sooo cool!
15
16 First problem:
17
18 net-misc/host-991529
19
20 >>> Source unpacked.
21 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o main.o main.c
22 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o info.o info.c
23 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o list.o list.c
24 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o addr.o addr.c
25 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o geth.o geth.c
26 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o util.o util.c
27 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o misc.o misc.c
28 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o test.o test.c
29 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o file.o file.c
30 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o send.o send.c
31 gcc -Os -march=i386 -pipe -DHOST_RES_SEND -I. -I. -c -o vers.o vers.c
32 gcc -o host main.o info.o list.o addr.o geth.o util.o misc.o test.o
33 file.o send.o vers.o -lresolv
34 info.o(.text+0x72): In function `get_hostinfo':
35 : undefined reference to `__hostalias'
36 info.o(.text+0x3a2): In function `get_info':
37 : undefined reference to `__res_mkquery'
38 info.o(.text+0x8aa): In function `print_rrec':
39 : undefined reference to `_getshort'
40 info.o(.text+0x8b9): In function `print_rrec':
41 : undefined reference to `_getshort'
42 info.o(.text+0x8c8): In function `print_rrec':
43 : undefined reference to `_getlong'
44 info.o(.text+0x8d4): In function `print_rrec':
45 : undefined reference to `_getshort'
46 info.o(.text+0xc9a): In function `print_rrec':
47 : undefined reference to `_getshort'
48 info.o(.text+0xef2): In function `print_rrec':
49 : undefined reference to `_getlong'
50 info.o(.text+0xf2e): In function `print_rrec':
51 : undefined reference to `_getlong'
52 info.o(.text+0xf78): In function `print_rrec':
53 : undefined reference to `_getlong'
54 info.o(.text+0xfc2): In function `print_rrec':
55 : undefined reference to `_getlong'
56 info.o(.text+0x100c): In function `print_rrec':
57 : undefined reference to `_getlong'
58 info.o(.text+0x139c): more undefined references to `_getlong' follow
59 info.o(.text+0x14cb): In function `print_rrec':
60 : undefined reference to `_getshort'
61 info.o(.text+0x1576): In function `print_rrec':
62 : undefined reference to `_getshort'
63 info.o(.text+0x17a9): In function `print_rrec':
64 : undefined reference to `_getshort'
65 info.o(.text+0x19cb): In function `print_rrec':
66 : undefined reference to `_getlong'
67 info.o(.text+0x19d3): In function `print_rrec':
68 : undefined reference to `_getlong'
69 info.o(.text+0x1a09): In function `print_rrec':
70 : undefined reference to `_getlong'
71 info.o(.text+0x1a3e): In function `print_rrec':
72 : undefined reference to `_getlong'
73 info.o(.text+0x1b59): In function `print_rrec':
74 : undefined reference to `_getshort'
75 info.o(.text+0x1c6d): In function `print_rrec':
76 : undefined reference to `_getlong'
77 info.o(.text+0x1ca9): In function `print_rrec':
78 : undefined reference to `_getlong'
79 info.o(.text+0x1ce7): In function `print_rrec':
80 : undefined reference to `_getlong'
81 info.o(.text+0x1d23): In function `print_rrec':
82 : undefined reference to `_getshort'
83 info.o(.text+0x1e6f): In function `print_rrec':
84 : undefined reference to `_getshort'
85 info.o(.text+0x20a5): In function `print_rrec':
86 : undefined reference to `_getshort'
87 info.o(.text+0x20f8): In function `print_rrec':
88 : undefined reference to `_getshort'
89 info.o(.text+0x2149): In function `print_rrec':
90 : undefined reference to `_getshort'
91 info.o(.text+0x21f4): more undefined references to `_getshort' follow
92 list.o(.text+0x11e8): In function `get_nsinfo':
93 : undefined reference to `_getlong'
94 list.o(.text+0x11ee): In function `get_nsinfo':
95 : undefined reference to `_getshort'
96 list.o(.text+0x1cf0): In function `get_zone':
97 : undefined reference to `__res_mkquery'
98 list.o(.text+0x1d4b): In function `get_zone':
99 : undefined reference to `__fp_nquery'
100 list.o(.text+0x1eb7): In function `get_zone':
101 : undefined reference to `__fp_nquery'
102 list.o(.text+0x28b6): In function `get_soainfo':
103 : undefined reference to `_getshort'
104 list.o(.text+0x28c5): In function `get_soainfo':
105 : undefined reference to `_getshort'
106 list.o(.text+0x28ce): In function `get_soainfo':
107 : undefined reference to `_getlong'
108 list.o(.text+0x28d4): In function `get_soainfo':
109 : undefined reference to `_getshort'
110 list.o(.text+0x29ab): In function `get_soainfo':
111 : undefined reference to `_getlong'
112 list.o(.text+0x29b9): In function `get_soainfo':
113 : undefined reference to `_getlong'
114 list.o(.text+0x29c7): In function `get_soainfo':
115 : undefined reference to `_getlong'
116 list.o(.text+0x29d5): In function `get_soainfo':
117 : undefined reference to `_getlong'
118 list.o(.text+0x29e0): In function `get_soainfo':
119 : undefined reference to `_getlong'
120 misc.o(.text+0x29f): In function `ipng_ntoa':
121 : undefined reference to `_getshort'
122 file.o(.text+0x365): In function `cache_write':
123 : undefined reference to `__putshort'
124 file.o(.text+0x472): In function `cache_read':
125 : undefined reference to `_getshort'
126 send.o(.text+0x47): In function `__res_send':
127 : undefined reference to `__fp_nquery'
128 send.o(.text+0x1f9): In function `__res_send':
129 : undefined reference to `__fp_nquery'
130 send.o(.text+0x3c4): In function `send_stream':
131 : undefined reference to `__fp_nquery'
132 send.o(.text+0x50c): In function `send_dgram':
133 : undefined reference to `__fp_nquery'
134 send.o(.text+0x55f): In function `send_dgram':
135 : undefined reference to `__fp_nquery'
136 send.o(.text+0x771): In function `_res_write':
137 : undefined reference to `__putshort'
138 send.o(.text+0x817): In function `_res_read':
139 : undefined reference to `_getshort'
140 collect2: ld returned 1 exit status
141 make: *** [host] Error 1
142
143 !!! ERROR: net-misc/host-991529 failed.
144 !!! Function src_compile, Line 33, Exitcode 2
145 !!! emake failed
146
147 Something with the resolv library?
148 I'm trying to find something about it....
149
150
151
152 --
153 gentoo-embedded@g.o mailing list