Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3973FEEF.4A1C9E4F@bumba.net> Date: Mon, 17 Jul 2000 23:53:35 -0700 From: Dave Trombley X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sources DOT redhat DOT com Subject: __imp_reent_data undefined Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com