pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ftpsesame



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


_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review



Home | Main Index | Thread Index | Old Index