Opened 11 years ago

Closed 11 years ago

#41228 closed defect (fixed)

netcdf build failure

Reported by: mf2k (Frank Schima) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jboone (Jared Boone), egon.geerardyn@…
Port: netcdf

Description

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

Attachments (1)

main.log (120.7 KB) - added by mf2k (Frank Schima) 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 11 years ago by jboone (Jared Boone)

Cc: jboone@… added

Cc Me!

comment:2 Changed 11 years ago by egon.geerardyn@…

Cc: egon.geerardyn@… added

Cc Me!

comment:3 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.