Cross compiled toolchain problem
Swapneel Shah
swapneel.shah at silicus.com
Thu Jun 15 17:15:37 UTC 2006
Hi
I have created an cross compile toolchain using the latest version of
buildroot.
I am trying to compile XFree86 for my root file system and the build fails
with following errors.
cc -I../../../exports/include -o mkg3states -O2 -ansi -Wall
-Wpointer-arith -Wundef -I../../../ex
ports/include/X11 -I../../../include/extensions
-I../../../programs/Xserver/include -I../../../inclu
de/extensions -I../../.. -I../../../exports/include -Dlinux
-D_POSIX_SOURCE -
D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO
mkg3states.c -L/swapneel/bui
ldroot/build_i686/staging_dir/lib
/usr/bin/ld: warning: ld-uClibc.so.0, needed by
/swapneel/buildroot/build_i686/staging_dir/lib/libc.
so.0, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../crt1.o(.text+0xc): In function
`_start':
: undefined reference to `__libc_csu_fini'
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../crt1.o(.text+0x11): In
function `_start':
: undefined reference to `__libc_csu_init'
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../crt1.o(.text+0x1d): In
function `_start':
: undefined reference to `__libc_start_main'
/swapneel/buildroot/build_i686/staging_dir/lib/libc.so.0: undefined
reference to `_dl_app_init_array
'
/swapneel/buildroot/build_i686/staging_dir/lib/libc.so.0: undefined
reference to `_dl_app_fini_array
'
collect2: ld returned 1 exit status
make[4]: [g3states.h] Error 1 (ignored)
./mkg3states > g3_states_h
/bin/sh: ./mkg3states: No such file or directory
make[4]: *** [g3states.h] Error 1
make[4]: Leaving directory `/swapneel/xfree/xc/lib/lbxutil/image'
make[3]: *** [includes] Error 2
make[3]: Leaving directory `/swapneel/xfree/xc/lib/lbxutil'
make[2]: *** [includes] Error 2
make[2]: Leaving directory `/swapneel/xfree/xc/lib'
make[1]: *** [includes] Error 2
make[1]: Leaving directory `/swapneel/xfree/xc'
make: *** [World] Error 2
I have to get Xfree86 compiled as the tinyx shipped with buildroot doesn't
have the required driver files. I tried looking for the solution but didn't
find any. Please suggest how I should go about it.
Regards,
Swapneel Shah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20060615/7701fc47/attachment-0002.htm
More information about the uClibc
mailing list