Skip to contentSkip to conversation

glibc 2.2.3 undefined reference

DISCUSSION rekha gvv 2 participants 2 messages Dec 4, 2002

lore
Share & tools
lore

rekha gvv

author
#0 lore raw

Hello everbody ,

I had been very unsuccessful in trying to run the application on linux kernel 2.4.4
I had compiled glibc-2.2.3 without the option
--without-fp
and hence used to get either illegal instruction or segmentation fault...when everi tried to run the application .theni read from the mailing list that glibc need to be compiled with the option "--without-fp"
Now i have given the configure line as ./configure --host=powerpc-linux \

Quoted 2 lines

--enable-add-ons --with-headers=/kernel/include \
--without-fp

CFLAGS="msoft-float -D_SOFT_FLOAT -mcpu=860"

but still i end up with errors at link time ....
****************************************************
rm -f ../libc.so.6.new
/bin/sh ../scripts/rellns-h ../libc.so
../libc.so.6.new
mv -f ../libc.so.6.new ../libc.so.6 powerpc-linux-gcc
-nostdlib -nostartfiles -o iconv_prog
-Wl,-dynamic-linker==/lib/ld.so.1 ../csu/crt1.o
../csu/crti.o `powerpc-linux-gcc
--print-file-name=crtbegin.o` iconv_prog.o
iconv_charmap.o charmap.o charmap-dir.o linereader.o
dummy-repertoire.o simple-hash.o xstrdup.o xmalloc.o -Wl,-rpath-nk=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads ../libc.so.6 ../libc_nonshared.a -lgcc
powerpc-linux-gcc --print-file-name=crtend.o
../csu/crtn.o
../libc.so.6: undefined reference to
`_dl_debug_printf'
../libc.so.6: undefined reference to
`_dl_check_map_versions'../libc.so.6: undefined
reference to `_dl_nloaded'../libc.so.6: undefined
reference to `_dl_lookup_versioned_symbol_skip'
../libc.so.6: undefined reference to
dl_profile_output'
../libc.so.6: undefined reference to
`__libc_stack_end'
collect2: ld returned 1 exit status
make[1]: *** [iconv_prog] Error 1
make[1]: Leaving directory `/usrsrc/glibc-2.2.3/iconv'
make: *** [iconv/others] Error 2
*****************************************************
I really dont know how to move further ...any help
fairly welcomed ....
Thankyou
Rekha

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 1 line · In message <[email protected]> you wrote:

...

Quoted 12 lines

and hence used to get either illegal instruction or segmentation fault...when everi tried to run the application .theni read from the mailing list that glibc need to be compiled with the option "--without-fp"
Now i have given the configure line as ./configure --host=powerpc-linux \

Quoted 2 lines

--enable-add-ons --with-headers=/kernel/include \
--without-fp

CFLAGS="msoft-float -D_SOFT_FLOAT -mcpu=860"

but still i end up with errors at link time ....

...

Quoted 2 lines

I really dont know how to move further ...any help fairly welcomed ....

You can either check the build scripts as used with our ELDK - or just download the working tools. See http://www.denx.de/re/ELDK.html

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] When you die, the first thing you lose is your life. The next thing
is the illusions. - Terry Pratchett, _Pyramids_

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/