[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Portmap compilation problem



I am trying to compile portmapper source code down loaded from Linux web
site <ftp://ftp.porcupine.org/pub/security/>
I am getting the following error. Anybody have any idea, how to resolve
this.

portmap_4]# make
cc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT
-DFACILITY=LOG_MAIL    -O     -c -o portmap.o portmap.c
portmap.c: In function `xperror':
portmap.c:239: error: argument "what" doesn't match prototype
/usr/include/stdio.h:742: error: prototype declaration
portmap.c: In function `reg_service':
portmap.c:293: warning: passing arg 2 of `svc_sendreply' from incompatible
pointer type
portmap.c:302: warning: passing arg 2 of pointer to function from
incompatible pointer type
portmap.c:302: warning: passing arg 3 of pointer to function from
incompatible pointer type
portmap.c:344: warning: passing arg 2 of `svc_sendreply' from incompatible
pointer type
portmap.c:356: warning: passing arg 2 of pointer to function from
incompatible pointer type
portmap.c:356: warning: passing arg 3 of pointer to function from
incompatible pointer type
portmap.c:390: warning: passing arg 2 of `svc_sendreply' from incompatible
pointer type
portmap.c:402: warning: passing arg 2 of pointer to function from
incompatible pointer type
portmap.c:402: warning: passing arg 3 of pointer to function from
incompatible pointer type
portmap.c:417: warning: passing arg 2 of `svc_sendreply' from incompatible
pointer type
portmap.c:429: warning: passing arg 2 of pointer to function from
incompatible pointer type
portmap.c:441: warning: passing arg 2 of `svc_sendreply' from incompatible
pointer type
portmap.c: In function `xdr_encap_parms':
portmap.c:484: warning: passing arg 3 of `xdr_bytes' from incompatible
pointer type
portmap.c: In function `callit':
portmap.c:588: warning: passing arg 2 of pointer to function from
incompatible pointer type
portmap.c:588: warning: passing arg 3 of pointer to function from
incompatible pointer type
portmap.c:617: warning: passing arg 3 of pointer to function from
incompatible pointer type
portmap.c:617: warning: passing arg 4 of pointer to function from
incompatible pointer type
portmap.c:617: warning: passing arg 5 of pointer to function from
incompatible pointer type
portmap.c:617: warning: passing arg 6 of pointer to function from
incompatible pointer type
portmap.c:619: warning: passing arg 2 of `svc_sendreply' from incompatible
pointer type
make: *** [portmap.o] Error 1

Thanks in Advance for your response.

V V V P CH S Hari Prasad ( Hari )
(Off    :  0091-402-337-9334 X 2052)
(Mob :  0091-944-085-7322)     


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]