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: <018201c0a8ac$c58bd210$275c100a@actfs.co.uk> From: "Malcolm Boekhoff" To: "Cygwin News Group" References: <15014 DOT 18490 DOT 962000 DOT 402109 AT dbush-mobl DOT ds DOT intel DOT com> <20010307162610 DOT P21275 AT cygbert DOT vinschen DOT de> <019a01c0a71c$63b4a580$275c100a AT actfs DOT co DOT uk> <20010307165501 DOT Q21275 AT cygbert DOT vinschen DOT de> <003701c0a886$b7509710$275c100a AT actfs DOT co DOT uk> <20010309141111 DOT A3079 AT cygbert DOT vinschen DOT de> <016001c0a8ab$fd3692a0$275c100a AT actfs DOT co DOT uk> Subject: Re: Fetchmail is available on Cygwin Date: Fri, 9 Mar 2001 15:22:36 -0000 Please ignore this posting as I have stupidly left in the "-E" switch! ----- Original Message ----- From: "Malcolm Boekhoff" To: "Cygwin News Group" Sent: Friday, March 09, 2001 3:17 PM Subject: Re: Fetchmail is available on Cygwin > > On Fri, Mar 09, 2001 at 10:50:11AM -0000, Malcolm Boekhoff wrote: > > > The symbol "unsetenv" is declared in "/usr/include/stdlib.h" and is defined in > > > > > > /usr/lib/libc.a > > > /usr/lib/libcygwin.a > > > /usr/lib/libg.a > > > /usr/lib/libm.a > > > > > > The question is: "Which one of these libraries should I be linking to?". > > > > _Never_ use one of these on the command line. If the Makefile contains > > something like `-lc' or `-lm', drop them for linking with Cygwin. > > All four libs are the same and `libcygwin.a' is implicitly linked in > > from the gcc specs file. > > Thankyou, and now: > > what does the message "file not recognized: File format not recognized" indicate when linking? > > --- Script log is pasted in here --- > > Creating ../obj.CYGWIN_NT-4.0.1.1.8-0.34.3.2.i686/makemap using ../devtools/OS/CYGWIN_NT-4.0 > Making dependencies in ../obj.CYGWIN_NT-4.0.1.1.8-0.34.3.2.i686/makemap > make[1]: Entering directory `/sendmail-8.11.3/obj.CYGWIN_NT-4.0.1.1.8-0.34.3.2.i686/makemap' > + mv Makefile Makefile.old > + sed -e /^# Do not edit or remove this line or anything below it.$/,$d > + echo # Do not edit or remove this line or anything below it. > gcc -M -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -DNAMED_BIND=0 -DNDBM=1 -DHAS_IN_H=1 -E makemap.c >> Makefile > + gcc -M -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -DNAMED_BIND=0 -DNDBM=1 -DHAS_IN_H=1 -E makemap.c > make[1]: Leaving directory `/sendmail-8.11.3/obj.CYGWIN_NT-4.0.1.1.8-0.34.3.2.i686/makemap' > Making in ../obj.CYGWIN_NT-4.0.1.1.8-0.34.3.2.i686/makemap > make[1]: Entering directory `/sendmail-8.11.3/obj.CYGWIN_NT-4.0.1.1.8-0.34.3.2.i686/makemap' > gcc -g -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -DNAMED_BIND=0 -DNDBM=1 -DHAS_IN_H=1 -E -c -o makemap.o > makemap.c > + gcc -g -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -DNAMED_BIND=0 -DNDBM=1 -DHAS_IN_H=1 -E -c -o makemap.o makemap.c > gcc -o makemap makemap.o ../libsmdb/libsmdb.a ../libsmutil/libsmutil.a > + gcc -o makemap makemap.o ../libsmdb/libsmdb.a ../libsmutil/libsmutil.a > makemap.o: file not recognized: File format not recognized > collect2: ld returned 1 exit status > make[1]: *** [makemap] Error 1 > make[1]: Leaving directory `/sendmail-8.11.3/obj.CYGWIN_NT-4.0.1.1.8-0.34.3.2.i686/makemap' > > > > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple