Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#4942 closed defect (fixed)

anubis 4.0 doesn't compile on OS X 10.4.2

Reported by: michael@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: yeled@…
Port:

Description

./configure works fine, but make errors out very quickly with:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/include -Wall -O2 -MT getline.o -MD -MP -MF ".deps/getline.Tpo" -c -o getline.o getline.c; \ then mv -f ".deps/getline.Tpo" ".deps/getline.Po"; else rm -f ".deps/getline.Tpo"; exit 1; fi getline.c: In function 'getline': getline.c:32: warning: implicit declaration of function 'getdelim' getline.c: At top level: getline.c:42: error: conflicting types for 'getdelim' getline.c:32: error: previous implicit declaration of 'getdelim' was here make[2]: * [getline.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Change History (3)

comment:1 Changed 19 years ago by yeled@…

Cc: yeled@… added

This is fixed by selecting gcc 3.3

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

please do NOT use gcc_select to "fix" ports! I've just submitted a patch so anubis will use gcc-3 automatically on darwin 8/os-x 10.4;

comment:3 Changed 19 years ago by yeled@…

Don't worry, I wasn't intending to. Just stating the work-around.

Note: See TracTickets for help on using tickets.