linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* glibc 2.2.3  undefined reference
@ 2002-12-04 10:51 rekha gvv
  2002-12-04 11:45 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: rekha gvv @ 2002-12-04 10:51 UTC (permalink / raw)
  To: linuxppc-embedded


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 \
> --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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: glibc 2.2.3 undefined reference
  2002-12-04 10:51 glibc 2.2.3 undefined reference rekha gvv
@ 2002-12-04 11:45 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2002-12-04 11:45 UTC (permalink / raw)
  To: rekha gvv; +Cc: linuxppc-embedded


In message <20021204105147.13636.qmail@web8007.mail.in.yahoo.com> you wrote:
>
...
> 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 \
> > --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 ....
...
> 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: wd@denx.de
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-04 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04 10:51 glibc 2.2.3 undefined reference rekha gvv
2002-12-04 11:45 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).