Re: ftpsesame

[email protected]
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Sun, Jun 04, 2006 at 02:21:03PM +0200, Gerg__ Szakál wrote:
> ===> Building for ftpsesame-0.95
> cc -O2 -I/usr/include -I. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -Wno-uninitialized  -Werror  -I/usr/include -c filter.c
> cc -O2 -I/usr/include -I. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -Wno-uninitialized  -Werror  -I/usr/include -c ftpsesame.c
> ftpsesame.c:80: error: syntax error before "gotsig_alarm"
> ftpsesame.c:80: warning: type defaults to `int' in declaration of `gotsig_alarm'
> ftpsesame.c:80: warning: type defaults to `int' in declaration of `gotsig_close'
> ftpsesame.c:80: warning: data definition has no type or storage class
> ftpsesame.c: In function `main':
> ftpsesame.c:521: error: `BIOCIMMEDIATE' undeclared (first use in this function)
> ftpsesame.c:521: error: (Each undeclared identifier is reported only once
> ftpsesame.c:521: error: for each function it appears in.)

With the exception of this,

> ftpsesame.c:546: warning: implicit declaration of function `signal'
> ftpsesame.c:546: error: `SIGALRM' undeclared (first use in this function)
> ftpsesame.c:547: error: `SIGINT' undeclared (first use in this function)
> ftpsesame.c:548: error: `SIGQUIT' undeclared (first use in this function)
> ftpsesame.c:549: error: `SIGTERM' undeclared (first use in this function)
> ftpsesame.c: At top level:
> ftpsesame.c:677: error: syntax error before "void"
> *** Error code 1

the rest is a side-effect of a missing include of signal.h?

Joerg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.