Mail Archives: cygwin/2002/04/19/17:50:12
Larry,
I did an nm -C and collected the output to a text file.
I found references to these functions in libc, libg, and libcygwin.
I am not quite sure what to look for now.
Can you explain what I need to be looking for?
Thanks,
Matt
At 02:24 PM 4/18/2002, you wrote:
>At 02:16 PM 4/18/2002, Matt Minnis wrote:
> >I am having trouble linking a program:
> >
> >What libraries are these found in?
> >__umoddi3
> >__udivdi3
> >_cygwin_istext_for_stdio
> >
> >The errors are below:
> >/usr/lib/libg.a(vfprintf.o): In function `vfprintf_r':
> >/home/Habacker/src/cygwin-1.3.2-1/build/i686-pc-cygwin/newlib/libc/stdio/
> ../../.
> >./../../src/newlib/libc/stdio/vfprintf.c:774: undefined reference to
> `__umoddi3'
> >
> >/home/Habacker/src/cygwin-1.3.2-1/build/i686-pc-cygwin/newlib/libc/stdio/
> ../../.
> >./../../src/newlib/libc/stdio/vfprintf.c:775: undefined reference to
> `__udivdi3'
> >
> >/usr/lib/libg.a(stdio.o): In function `_stextmode':
> >/home/Habacker/tmp/kde/cygwin-1.3.2-1/build/i686-pc-cygwin/newlib/libc/st
> dio/../
> >../../../../src/newlib/libc/stdio/stdio.c:127: undefined reference to
> `_cygwin_i
> >stext_for_stdio'
> >make: *** [libgd.so.2.0.0] Error 1
>
>
>
>In all seriousness, 'nm' on the available libraries will tell you this.
>
>But I'm going to guess you won't find what you want. It looks
>to me like you have two (other) problems:
>
> 1. You're building with against some old Cygwin DLL code
>
> 2. You're trying to build the GNU C library
>
>You can rectify (1). Good luck with (2). You'll need it! ;-)
>
>
>
>
>Larry Hall lhall AT rfk DOT com
>RFK Partners, Inc. http://www.rfk.com
>838 Washington Street (508) 893-9779 - RFK Office
>Holliston, MA 01746 (508) 893-9889 - FAX
>
>
>--
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ: http://cygwin.com/faq/
"Pinky, you've left the lens cap of your mind on again." - The Brain
=========================================================
Preferred Resources (314) 567-7600 phone
701 Emerson rd. (314) 993-6699 fax
Suite 475 mminnis AT prefres DOT com
St. Louis, MO
63141
=========================================================
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -