[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Freemint Failed Build



On Thu, 2006-06-01 at 18:07 -0400, Mark Duckworth wrote:
> Hey guys,
> 
> Just wanted to let you know that I haven't released any builds because
> it keeps failing at the same spot.  
> 
> gcc -I../rsc/english -O2 -fomit-frame-pointer -Wall -Wmissing-prototypes
> -Winline -Wshadow -Wpointer-arith -Wcast-qual -Waggregate-return
> -c ../list.c -o list.ogcc -I../rsc/english -O2 -fomit-frame-pointer
> -Wall -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual
> -Waggregate-return -c ../phstuff.c -o phstuff.o
> ../phstuff.c:35: parse error before `clear_cpu_caches'
> ../phstuff.c:35: warning: type defaults to `int' in declaration of
> `clear_cpu_caches'
> ../phstuff.c:35: warning: data definition has no type or storage class
> ../phstuff.c: In function `load_and_reloc':
> ../phstuff.c:149: `r' undeclared (first use in this function)
> ../phstuff.c:149: (Each undeclared identifier is reported only once
> ../phstuff.c:149: for each function it appears in.)
> make[5]: *** [phstuff.o] Error 1
> make[5]: Leaving directory
> `/f/root/build_host/freemint/tools/cops/.compile_english'
> make[4]: *** [_stmp_english] Error 2
> make[4]: Leaving directory `/f/root/build_host/freemint/tools/cops'
> make[3]: *** [english] Error 2
> make[3]: Leaving directory `/f/root/build_host/freemint/tools/cops'
> make[2]: *** [all-targets] Error 1
> make[2]: Leaving directory `/f/root/build_host/freemint/tools/cops'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/f/root/build_host/freemint/tools'
> make: *** [all-recursive] Error 1
> The build failed
> root@washi:/root/build_host>
> 
> If anyone could lend any suggestions as to why this is wrong or how come
> nobody has fixed it yet or whether or not my system is to blame, I would
> appreciate it.

Looks like phstuff.c is missing an include...

#include "cops_rsc.h"

put it just before line 35.

Who else has commit rights to the FreeMiNT CVS apart from Frank ?

Is it possible to open it up to more committers ?

Alan.