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"

    Relevant Pages

    • Re: Creating Driver for ACX100 wireless adapter
      ... ../include/p80211netdev.h:587: warning: implicit declaration of function ... acx100.c:551: warning: assignment from incompatible pointer type ... acx100.c:566: warning: passing arg 1 of `acx100_reset_dev' from ...
      (alt.os.linux.suse)
    • FileRunner - my personal patched version
      ... which will now list most archives, defaults to bzip2 archiving ... I get the following 'warning' during compilation. ... ext.c:95: warning: passing arg 3 of `Tcl_CreateCommand' from ...
      (comp.lang.tcl)
    • Installation of Tcl/Tk on IBM-AIX
      ... tclUnixChan.c:1665: warning: passing arg 3 of `ngetpeername' from ... tclUnixChan.c:2490: error: `readyMasks' undeclared (first use in this ...
      (comp.unix.aix)
    • Re: [ANN] OpenGL-0.32g for Apple MacOS X
      ... > your compile includes this flag? ... glu.c:1185: warning: passing arg 2 of `ary2cint' from incompatible pointer type ...
      (comp.lang.ruby)
    • Pb to build GD 1.38
      ... GD.xs:368: warning: passing arg 1 of `gdImageCreateFromPng' from ...
      (comp.lang.perl.modules)