[MacPorts] #41228: netcdf build failure
#41228: netcdf build failure -------------------------------+----------------------- Reporter: macsforever2000@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: netcdf -------------------------------+----------------------- I'm not sure if this is a Mavericks specific error: {{{ x86_64 -MT libdap2_la-ncdaperr.lo -MD -MP -MF .deps/libdap2_la- ncdaperr.Tpo -c ncdaperr.c -fno-common -DPIC -o .libs/libdap2_la- ncdaperr.o :info:build daputil.c:13:24: error: a parameter list without types is only allowed in a function definition :info:build extern int oc_dumpnode(OClink, OCddsnode); :info:build ^ :info:build 1 error generated. :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -I../libsrc4 -I/opt/local/include -DNDEBUG -pipe -Os -fno-common -arch x86_64 -MT libdap2_la-ncdaperr.lo -MD -MP -MF .deps /libdap2_la-ncdaperr.Tpo -c ncdaperr.c -o libdap2_la-ncdaperr.o >/dev/null 2>&1 :info:build make[2]: *** [libdap2_la-daputil.lo] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/41228> MacPorts <http://www.macports.org/> Ports system for OS X
#41228: netcdf build failure --------------------------------+----------------------- Reporter: macsforever2000@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: netcdf | --------------------------------+----------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: Thanks for reporting this problem. This is due to the patch that deleted #include "oc.h" from daputil.c to fix build failure on Snow Leopard (r112984). I should have place the definition of oc_dumpnode() after #include "ncdap3.h" that includes "oc.h" as in {{{ #include "ncdap3.h" extern int oc_dumpnode(OClink, OCddsnode); }}} Committed in r113006. -- Ticket URL: <https://trac.macports.org/ticket/41228#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts