Opened 18 years ago

Closed 18 years ago

#10012 closed defect (fixed)

BUG: sdcc-2.5.0 build failure

Reported by: Hugh.LaMaster@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…
Port:

Description

sdcc fails to build. sdcc is required to build GNU Radio USRP board support.

==

port install sdcc

---> Building sdcc with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_sdcc/work/sdcc" && gnumake all" returned error 2 Command output: for lib in support/cpp2 support/makebin; do gnumake -C $lib; done gnumake[1]: Nothing to be done for `all'. gnumake[1]: Nothing to be done for `all'. gnumake -C src gcc -Wall -pipe -ggdb -g -O2 -I. -I.. -I../support/Util -c SDCCutil.c -o SDCCutil.o In file included from SDCCutil.c:30: ../support/Util/dbuf.h:32: error: parse error before 'size_t' ../support/Util/dbuf.h:32: warning: no semicolon at end of struct or union ../support/Util/dbuf.h:33: warning: type defaults to 'int' in declaration of 'len' ../support/Util/dbuf.h:33: warning: data definition has no type or storage class ../support/Util/dbuf.h:35: error: parse error before '}' token ../support/Util/dbuf.h:42: error: parse error before 'size' ../support/Util/dbuf.h:43: error: parse error before 'size_t' ../support/Util/dbuf.h:44: error: parse error before 'size_t' ../support/Util/dbuf.h:45: error: parse error before 'size_t' ../support/Util/dbuf.h:47: error: parse error before 'dbuf_get_size' ../support/Util/dbuf.h:47: warning: type defaults to 'int' in declaration of 'dbuf_get_size' ../support/Util/dbuf.h:47: warning: data definition has no type or storage class SDCCutil.c: In function 'appendStrSet': SDCCutil.c:74: error: storage size of 'dbuf' isn't known SDCCutil.c:74: warning: unused variable 'dbuf' SDCCutil.c: In function 'joinStrSet': SDCCutil.c:97: error: storage size of 'dbuf' isn't known SDCCutil.c:97: warning: unused variable 'dbuf' gnumake[1]: * [SDCCutil.o] Error 1 gnumake: * [sdcc-cc] Error 2

Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 18 years ago by Hugh.LaMaster@…

bug_file_loc: http://sdcc.sourceforge.net/

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added
Summary: sdcc fails to buildBUG: sdcc-2.5.0 build failure

Are you on OS X 10.3 or 10.4? PPC or Intel? If on 10.4, make sure you have the latest Xcode tools, 2.4. Also, the port has been updated to 2.6.0. See if you can install it now. It works for me.

comment:3 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

The updated sdcc-2.6.0 builds fine on PPC and Intel.

Note: See TracTickets for help on using tickets.