Opened 19 years ago

Closed 19 years ago

#4496 closed defect (fixed)

BUG: oleo-1.99.16

Reported by: kbullock@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Oleo-1.99.16

the error log can be found here: INLINE

Description: Oleo fails to build on Mac OS X 10.4.2, gcc 4.0.0.

Comments: The output of two build attempts is shown below. The first problem is remedied by adding an #include of funcs.h to the beginning of io-term.h. The second I have no resolution for. Note that oleo builds correctly under gcc 3.3.1 (if I "gcc_select 3.3").

================INLINE CONTENT================

First attempt:

~% sudo port install oleo ---> Building oleo with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_math_oleo/work/ oleo-1.99.16" && make all" returned error 2 Command output: make all-recursive Making all in doc make[2]: Nothing to be done for `all'. Making all in lib make[2]: Nothing to be done for `all'. Making all in intl make[2]: Nothing to be done for `all'. Making all in src gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../intl -g -O2 -DLOCALEDIR=\"/opt/local/share/ locale\" -DBUILD_PREFIX='"'/opt/local'"' -c regions.c In file included from regions.c:42: io-term.h:47: error: array type has incomplete element type make[2]: * [regions.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

Second attempt:

work/oleo-1.99.16/src% diff io-term.h.old io-term.h 24a25

#include "funcs.h"

work/oleo-1.99.16/src% cd ~% sudo port install oleo ... gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../intl -g -O2 -DLOCALEDIR=\"/opt/local/share/ locale\" -DBUILD_PREFIX='"'/opt/local'"' -c basic.c basic.c:55: error: static declaration of 'motion_name' follows non-static declaration basic.h:39: error: previous declaration of 'motion_name' was here basic.c:70: error: static declaration of 'complementary_motion' follows non-static declaration basic.h:40: error: previous declaration of 'complementary_motion' was here basic.c:83: error: static declaration of 'opposite_motion' follows non-static declaration basic.h:41: error: previous declaration of 'opposite_motion' was here make[2]: * [basic.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

Change History (1)

comment:1 Changed 19 years ago by blb@…

Resolution: fixed
Status: newclosed

A fix for this to work with 10.4.2/gcc4 has been committed; thanks for the report.

Note: See TracTickets for help on using tickets.