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]

RE: errno missing in link of wget


Theodore W. Leung wrote:

> gcc  -o wget connect.o host.o http.o netrc.o ftp-basic.o ftp.o ftp-ls.o
> mtch.o h
> tml.o retr.o recur.o url.o init.o utils.o cmpt.o getopt.o main.o version.o
> http.o(.text+0x835):http.c: undefined reference to `errno'
> http.o(.text+0x8f5):http.c: undefined reference to `errno'
> http.o(.text+0xfb4):http.c: undefined reference to `errno'
> http.o(.text+0x154f):http.c: undefined reference to `errno'
> http.o(.text+0x1df9):http.c: undefined reference to `errno'
> http.o(.text+0x23ac):http.c: more undefined references to `errno' follow

Add "#include <errno.h>" to http.c.

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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