> -----Original Message----- > From: cygwin-owner On Behalf Of Ted Yu > Sent: 04 May 2004 20:23
> Hi, Larry: > If I use your flag, I got the following: > ld: warning: cannot find entry symbol [EMAIL PROTECTED]; > defaulting to 10001000 > djbfft2d.o(.text+0x4d3):djbfft2d.cpp: undefined > reference to `_imp___iob' > djbfft2d.o(.text+0x50a):djbfft2d.cpp: undefined > reference to `_imp___iob' This looks to me like you only re-tried the link stage; you need to rebuild all the .o files from scratch using -mno-cygwin as well, otherwise they'll still have references to cygwin stuff. > BTW, I have this function: > int __stdcall fftEntry(HINSTANCE h, unsigned long a, > void * b) > Why is ld complaining that [EMAIL PROTECTED] cannot be found ? Because gcc uses a different name-mangling scheme to msvc. Without knowing anything about your makefile or command line options, it's a bit hard to give any more specific advice. However I highly recommend you read the "Programming Questions" section of the cygwin faq at http://cygwin.com/faq/faq_4.html#SEC88, and the "Programming with Cygwin" section of the userguide at http://cygwin.com/cygwin-ug-net/programming.html, both of which contain lots of advice about building dlls under cygwin. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/