Gentoo Archives: gentoo-embedded

From: Stephen Feyrer <steve@××××××××.uk>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] C compiler cannot create executables
Date: Tue, 22 Sep 2009 21:40:55
Message-Id: 4AB94464.3010102@toth.org.uk
In Reply to: Re: [gentoo-embedded] C compiler cannot create executables by Mike Frysinger
1 Hi.
2
3 After the careful abuse of a Star Trek Plot, I have managed to
4 discovered that there are a number of files *-2.3.4.so on the target
5 machine.
6
7 So far I have install all these files into
8 /usr/armv5tel-softfloat-linux-gnueabi/lib/ .
9
10 Thus ./configure has complete properly, then make and make
11 DESTDIR="qnap-D-1.2.3" install also!
12
13 Now the product of this seems to still use Glibc 2.7... So I'm now
14 explicitly targeting all the Glibc 2.3.4 libraries.
15
16 I'll see how that goes.
17
18 That fails in the configure with
19
20 configure:4213: armv5tel-softfloat-linux-gnueabi-gcc conftest.c
21 /usr/armv5tel-softfloat-linux-gnueabi/lib/libc-2.3.4.so
22 /usr/armv5tel-softfloat-linux-gnueabi/lib/ld-2.3.4.so
23 /usr/armv5tel-softfloat-linux-gnueabi/lib/libcrypt-2.3.4.so
24 /usr/armv5tel-softfloat-linux-gnueabi/lib/libdl-2.3.4.so
25 /usr/armv5tel-softfloat-linux-gnueabi/lib/libm-2.3.4.so
26 /usr/armv5tel-softfloat-linux-gnueabi/lib/libnsl-2.3.4.so
27 /usr/armv5tel-softfloat-linux-gnueabi/lib/libnss_dns-2.3.4.so
28 /usr/armv5tel-softfloat-linux-gnueabi/lib/libnss_files-2.3.4.so
29 /usr/armv5tel-softfloat-linux-gnueabi/lib/libresolv-2.3.4.so
30 /usr/armv5tel-softfloat-linux-gnueabi/lib/librt-2.3.4.so
31 /usr/armv5tel-softfloat-linux-gnueabi/lib/libutil-2.3.4.so >&5
32 /usr/armv5tel-softfloat-linux-gnueabi/lib/librt-2.3.4.so: undefined
33 reference to `__librt_enable_asynccancel@GLIBC_PRIVATE'
34 /usr/armv5tel-softfloat-linux-gnueabi/lib/libpthread.so.0: undefined
35 reference to `_dl_allocate_tls@GLIBC_PRIVATE'
36 /usr/armv5tel-softfloat-linux-gnueabi/lib/libpthread.so.0: undefined
37 reference to `_dl_get_tls_static_info@GLIBC_PRIVATE'
38 /usr/armv5tel-softfloat-linux-gnueabi/lib/libc.so.6: undefined reference
39 to `__tls_get_addr@GLIBC_2.4'
40 /usr/armv5tel-softfloat-linux-gnueabi/lib/librt-2.3.4.so: undefined
41 reference to `__librt_disable_asynccancel@GLIBC_PRIVATE'
42 /usr/armv5tel-softfloat-linux-gnueabi/lib/libdl-2.3.4.so: undefined
43 reference to `_dl_open@GLIBC_PRIVATE'
44 /usr/armv5tel-softfloat-linux-gnueabi/lib/libpthread.so.0: undefined
45 reference to `_dl_allocate_tls_init@GLIBC_PRIVATE'
46 /usr/armv5tel-softfloat-linux-gnueabi/lib/libdl-2.3.4.so: undefined
47 reference to `_dl_close@GLIBC_PRIVATE'
48 /usr/armv5tel-softfloat-linux-gnueabi/lib/libpthread.so.0: undefined
49 reference to `_dl_deallocate_tls@GLIBC_PRIVATE'
50 collect2: ld returned 1 exit status
51 configure:4217: $? = 1
52 configure:4255: result:
53 configure: failed program was:
54 | /* confdefs.h. */
55 | #define PACKAGE_NAME "Dovecot"
56 | #define PACKAGE_TARNAME "dovecot"
57 | #define PACKAGE_VERSION "1.2.rc5"
58 | #define PACKAGE_STRING "Dovecot 1.2.rc5"
59 | #define PACKAGE_BUGREPORT "dovecot@×××××××.org"
60 | #define PACKAGE "dovecot"
61 | #define VERSION "1.2.rc5"
62 | /* end confdefs.h. */
63
64 I think I must have missed something when copying glibc... But I don't
65 know yet.
66
67 Thank you for your patience.
68
69
70 Mike Frysinger wrote:
71 > On Friday 18 September 2009 09:03:09 David Ford wrote:
72 >> /usr/armv5tel-softfloat-linux-gnueabi/lib/libc-2.3.4.so: undefined
73 >> reference to `_dl_out_of_memory@GLIBC_PRIVATE'
74 >
75 > you have a mismatch between the glibc files you're importing. you must
76 > include all of the libraries from the exact same glibc build, not just one or
77 > two.
78 > -mike

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature