[MacPorts] #31983: build errors grads2 on lion

MacPorts noreply at macports.org
Tue Nov 8 13:21:16 PST 2011


#31983: build errors grads2 on lion
---------------------------+------------------------------------------------
 Reporter:  kgh03@…        |       Owner:  macports-tickets@…                   
     Type:  defect         |      Status:  new                                  
 Priority:  Normal         |   Milestone:                                       
Component:  ports          |     Version:  2.0.3                                
 Keywords:                 |        Port:  science/grads2                       
---------------------------+------------------------------------------------
 grads2 build  fails begining here:

 :info:build gagx.c:3882:40: error: unknown type name 'DBFFieldType'
 :info:build struct dbfld* newdbfld (char *fldname, DBFFieldType dbtype,
 gaint len, gaint prec,
 :info:build                                        ^
 :info:build gagx.c:3889:37: error: invalid application of 'sizeof' to an
 incomplete type 'struct d
 bfld'
 :info:build   newfld = (struct dbfld *) galloc (sizeof(struct
 dbfld),"dbfld");
 :info:build                                     ^     ~~~~~~~~~~~~~~
 :info:build ./grads.h:857:8: note: forward declaration of 'struct dbfld'
 :info:build struct dbfld* parsedbfld (char *);
 :info:build        ^
 :info:build gagx.c:3891:5: error: incomplete definition of type 'struct
 dbfld'
 :info:build     strcpy(newfld->name,fldname);
 :info:build     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build /usr/include/secure/_string.h:87:5: note: instantiated from:
 :info:build   ((__darwin_obsz0 (dest) != (size_t) -1)
 \
 :info:build     ^

-- 
Ticket URL: <https://trac.macports.org/ticket/31983>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list