Re: Failed: phase compiling: netcat-1.10-4 failed

[email protected]
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
Fixed netcat.

Hanspeter
-- 
More agile than a turtle, stronger than a mouse, nobler than a lettuce

On 2021-12-29 06:25, FG wrote:
> Hello to all,
> 
> The installation of php5 needs netcat, which fails to compile.
> 
> Cheers
> 
> 	Giuliano
> 
> 
>                                         ^~
> netcat.c:1148:7: error: implicit declaration of function 'close' is
> invalid in C99 [-Werror,-Wimplicit-function-declaration]
>       close (0);                /* so we won't need any more stdin */
>       ^
> netcat.c:1152:5: error: implicit declaration of function 'sleep' is
> invalid in C99 [-Werror,-Wimplicit-function-declaration]
>     sleep (o_interval);         /* pause *before* sending stuff, too */
>     ^
> netcat.c:1170:28: warning: too few arguments in call to 'holler'
>           holler ("select fuxored");
>           ~~~~~~                  ^
> netcat.c:1171:4: error: implicit declaration of function 'close' is
> invalid in C99 [-Werror,-Wimplicit-function-declaration]


_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
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.