This is the mail archive of the cygwin@sourceware.cygnus.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]

mingw32 and dll in net release 1.1.1




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@sourceware.cygnus.com


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