From: Simon W. <ta...@rm...> - 2005-06-26 14:40:56
|
On 26 Jun 2005, at 11:44, David Given wrote: > On Sunday 26 June 2005 04:31, Simon Waite wrote: > [snip] > Meh. Could you send me a copy of <confdir>/mach/$MACH/cg/Out, please? I found the "problem" and have a suggested fix below: ================== ack-5.6/util/ncgg/ ================== problem: ld: Undefined symbols: _end defined in: subr.c line 282, function freevi(vip) added: to main.c at line 15, before main() char *end; /* FIXME - intialise? */ notes: Possibly a quick an dirty hack to gain a NULL pointer for comparison. Lack of commenting makes it awkward for this developer to determine purpose of freevi() for testing. Above change allows compilation (under gcc 3.3 under OSX 10.3) > [...] >> this time the missing item is $BIN/lib.bin/em_opt > > Likewise, modules/src/em_opt/Out. Nothing found :-( But I'm concentrating on getting it working on OSX first :-) > Unfortunately, I only have Linux systems. I've already received one > set of bug > reports about it not building with gcc 4, and hopefully I've sorted > most of > that, but it needs lots more testing on different platforms... > I have a solaris machine, ppc linux, that could be pressganged into service, the sf compile farm, if it exists can be pressganged into service for other platforms. Other fails... Failed for Pascal frontend, see lang/pc/comp/Out ld: Undefined symbols: _free_scopelist _free_withdesig _new_scopelist _new_withdesig _new_lab _free_forwtype _free_node _new_node _new_type _new_def _new_paramlist _new_forwtype _new_scope _free_def Failed for Modula-2 frontend, see lang/m2/comp/Out ld: Undefined symbols: _new_real _free_def _free_paramlist _free_type _new_array _new_enume _new_subrange _new_type _new_def _new_node _new_paramlist _free_node _free_real Failed for EM interpreter in C, see util/int/Out cc -c -O -D_EM_WSIZE=4 -D_EM_PSIZE=4 -D__XXX__ -I/Users/simon/Projects/ACK/bin/h -I/Users/simon/Projects/ACK/bin/config -I. /Users/simon/Projects/ACK/ack-5.6/util/int/moncalls.c util/int/moncalls.c: In function `moncall': util/int/moncalls.c:747: error: invalid operands to binary / util/int/moncalls.c:748: error: `daylight' undeclared (first use in this function) util/int/moncalls.c:748: error: (Each undeclared identifier is reported only once util/int/moncalls.c:748: error: for each function it appears in.) make: *** [moncalls.o] Error 1 I'm going to have a look at the EM interpreter problem shortly, looks like I'm compiling for SYS_V instead of BSD_X (oops!) Finally it seems march doesn't make bsd ar compatible archives either, more to look into later! |