#13446: pvm port fails to build on OS X 10.5 Leopard -----------------------------------+---------------------------------------- Reporter: tomaz.solc@tablix.org | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: pvm,leopard,patch | -----------------------------------+---------------------------------------- pvm port fails to build on OS X 10.5 Leopard (PPC) with the following error message: {{{ ---> Building pvm with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_pvm/work/pvm3" && make all " returned error 2 Command output: ./lib/aimk -here -f ./conf/`./lib/pvmtmparch`.def -f ./Makefile.aimk all making in . for DARWIN building in src cd src; ../lib/aimk CC="cc" F77="f77" install making in DARWIN/ for DARWIN cc -O -DCLUMP_ALLOC -DSTATISTICS -DTIMESTAMPLOG -DSANITY -I../../include -DARCHCLASS=\"DARWIN\" -DIMA_DARWIN -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS -DFAKEXDRFLOAT -DSYSERRISCONST -I/usr/include/malloc -I/System/Library/Frameworks/System.framework/Headers/bsd/sys -c ../../src/pmsg.c ../../src/pmsg.c:785: error: static declaration of 'xdr_float' follows non-static declaration /usr/include/rpc/xdr.h:376: error: previous declaration of 'xdr_float' was here ../../src/pmsg.c:794: error: static declaration of 'xdr_double' follows non-static declaration /usr/include/rpc/xdr.h:377: error: previous declaration of 'xdr_double' was here make[2]: *** [pmsg.o] Error 1 make[1]: *** [s] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} The attached files fix the problem for me. -- Ticket URL: <https://svn.macosforge.org/projects/macports/ticket/13446> MacPorts </projects/macports> Ports system for Mac OS