Host allow.

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Mar 21 01:43:54 EET 2005


On 2005-03-20 16:03, William Wallace <vplia at otenet.gr> wrote:
> >1) Σιγουρέψου ότι υπάρχει εγκαταστημένο το tcp wrapper στο μηχάνημα σου
>
> Pws to vriskw afto?  Ypo8etw oti den exw tcp_wrappers kai paw na to
> egatastisw
>
> root at host /downloads/tcp_wrappers_7.6 > make \
>     REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
> make[1]: Entering directory `/downloads/tcp_wrappers_7.6'
> gcc -O2 -DFACILITY=LOG_MAIL      -DHOSTS_ACCESS  -DNETGROUP \
> -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS \
> -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO    -DRFC931_TIMEOUT=10 \
> -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
> -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -D_REENTRANT    \
> -o scaffold.o -c scaffold.c
> scaffold.c:28: error: conflicting types for 'malloc'
> scaffold.c:28: error: conflicting types for 'malloc'
> make[1]: *** [scaffold.o] Error 1
> make[1]: Leaving directory `/downloads/tcp_wrappers_7.6'
> make: *** [linux] Error 2
> root at host /downloads/tcp_wrappers_7.6 >

To arxeio scaffold.c periexei ena prototype ths malloc() pou den einai
symbato me ton typo poy exei hdh oristei ayth h synarthsh sto
<stdlib.h>.  O standard tropos na ginei orato ston compiler to prototype
ths malloc() einai na ginei include to <stdlib.h> -- otidhpote allo
einai blakeia tou programmatos kai prepei na diorthothei sto programma.

> Pws to linw to provlima?

Sbhneis to prototype ths malloc() pou exei to arxeio ``scaffold.c''.




More information about the Linux-greek-users mailing list