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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Wed, 24 May 2000 13:51:23 -0400 From: Setzer DOT Woodrow AT epamail DOT epa DOT gov Subject: mingw32 and dll in net release 1.1.1 To: cygwin AT sourceware DOT cygnus DOT com Message-id: <852568E9.00633EE1.00@EPAHUB2.RTP.EPA.GOV> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline X-Lotus-FromDomain: EPA I have recently installed the new net release of cygwin (and upgraded to version 1.1.1 of cygwin1.dll at the same time). A package which compiled as a dll successfully under b20.1, with Mumit Khan's mingw32 port of gcc and g77 now fails, with the following errors. Can someone on the list give me a hint about what might be going on? The relevant output from make is: ------- Building odesolve.dll from odesolve.a -------- echo LIBRARY odesolve > odesolve.def echo EXPORTS >> odesolve.def nm odesolve.a > Defs sed -n "/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p" Defs >> odesolve.def gcc -mno-cygwin -mdll -Wl,--base-file,odesolve.b -s -o odesolve.dll odesolve.a -L/R/rw1001/src/gnuwin32 -lg2c -lR dlltool -k --as as --dllname odesolve.dll --base-file odesolve.b --output-exp odesolve.e --def odesolve.def gcc -mno-cygwin -mdll -Wl,--base-file,odesolve.b -s -o odesolve.dll odesolve.e odesolve.a -L/R/rw1001/src/gnuwin32 -lg2c -lR /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(sfe.o)(.text+0x4e): undefined reference to `__errno' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(sfe.o)(.text+0xb9): undefined reference to `__errno' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(sfe.o)(.text+0xf3): undefined reference to `__errno' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(fmt.o)(.text+0x51): undefined reference to `__errno' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(fmt.o)(.text+0x9d): undefined reference to `_impure_ptr' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(fmt.o)(.text+0xe3d): undefined reference to `_impure_ptr' [and continues with other undefined references for several more lines] Thanks for any help you can give me! R. Woodrow Setzer, Jr. Phone: (919) 541-0128 Biostatistics and Fax: (919) 541-4002 Research Support Staff NHEERL MD-55; US EPA; RTP, NC 27711 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com