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

Re: Fetchmail is available on Cygwin


Please ignore this posting as I have stupidly left in the "-E" switch!

----- Original Message -----
From: "Malcolm Boekhoff" <Malcolm.Boekhoff@actfs.co.uk>
To: "Cygwin News Group" <cygwin@sources.redhat.com>
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


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