[uClibc] hello I've read your question article about UML

유재혁 blueaqua at danal.co.kr
Wed Nov 19 02:45:31 UTC 2003


Hello I'm a newbie in UML, but I've met same problem of yours.
so I'm asking you about it.

did you solve that problem?

i've got following error, it is the same of you.
[blueaqua at localhost linux]$ gcc -Wl,-T,arch/um/link.ld  -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc         -o linux -static arch/um/main.o vmlinux.o -L/usr/lib -lutil
/usr/lib/libc.a(elf-init.o)(.text+0x2): In function `__libc_csu_init':
: undefined reference to `__preinit_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x9): In function `__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x1f): In function `__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x2e): In function `__libc_csu_init':
: undefined reference to `__init_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x33): In function `__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x47): In function `__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x5a): In function `__libc_csu_fini':
: undefined reference to `__fini_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x5f): In function `__libc_csu_fini':
: undefined reference to `__fini_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x7b): In function `__libc_csu_fini':
: undefined reference to `__fini_array_start'
collect2: ld returned 1 exit status

how can you solve that problems??

-----------------------------------------
+  Danal Corp.
+  M Commerce - Payment Development Team
+  Jae-Hyuck Yoo ( MSN : withyo2 at hotmail.com )
+  http://febace.com
-----------------------------------------





More information about the uClibc mailing list