Portmap compilation problem

From: Vendra, Hari Prasad V V P CH S H (Hari V) (prasadvvv_at_lucent.com)
Date: 09/01/05

  • Next message: Les Mikesell: "Re: Login screen not showing up"
    To: fedora-list@redhat.com
    Date: Thu, 1 Sep 2005 18:08:20 +0530 
    
    

    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)

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Les Mikesell: "Re: Login screen not showing up"