This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

__imp_reent_data undefined



After a problem having dllwrap run successfully, I tried doing the same
process
manually to get a better idea of what was going wrong:

$ gcc -Wl,--dll --Wl,--base-file,pqlib.base --def pq.def fe-auth.o
fe-connect.o \
 fe-exec.o fe-misc.o fe-print.o fe-lobj.o pqexpbuffer.o dllist.o
pqsignal.o inet_aton.o \
./../../utils/dllinit.o -L/usr/local/lib -L/usr/local/pgsql/lib
-L../../backend -L./../ \
-lpostgres -lcygipc -lcygwin -lcrypt -lkernel32 -lcrypt -lc -lmsvcrt40 \

./../../utils/dllinit.o(.text+0x102):dllinit.c: undefined reference to
`__imp_reent_data'
collect2: ld returned 1 exit status

This symbol is declared in dllinit.c as extern, yet I can't find where
it should be,
specifically, I ran:

$ for i in *.a; do echo $i >> p; nm $i | grep reent_data >> p; done

in every directory where there are libraries, but only found the symbol
declared
external elsewhere as well. (libc, libm, libcygwin)  If anyone could
tell me where/why this
symbol should be, I'd be grateful.  Also, is there a good (ie. detailed)
cygwin DLL
overview somewhere?  Also also, are there currently plans to make
dllwrap more robust?
Would it be worth my trying to do?  (I think I encountered somewhere
that it was going to
be deprecated...)

Cheers,

dj
<dtrom@bumba.net>



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]