gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Build problem on Redhat 9


From: Ben Stuyts
Subject: Re: [Gm2] Build problem on Redhat 9
Date: Wed, 3 Sep 2003 17:01:16 +0200

Hi Gaius,

On Wednesday, Sep 3, 2003, at 12:50 Europe/Amsterdam, Gaius Mulley wrote:

Ben Stuyts <address@hidden> writes:

Hi Gaius,

I have not done anything with gm2 since this problem came up, but it
would be very nice if it could be resolved. We've been too busy
designing the (ARM) hardware...

sounds interesting..

Hope so, it will be a board with the new ARM9 chip from Atmel (AT91RM9200), meant to control test equipment for cars.

sure, here is a context diff:

cvs -d :pserver:address@hidden:/usr/src/cvs diff -c ppg.mod
Index: ppg.mod

Ok, it seems the compiler gets a little further now, but has problems in the lexer:

flex -t gm2/c.lex | sed -e 's/ malloc/xmalloc/' | sed -e 's/ realloc/xrealloc/' > gm2/gm2-compiler/clex.c
"gm2/c.lex", line 252: warning, rule cannot be matched
gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Igm2/gm2-compiler-boot -I. -I./gm2/gm2-compiler-boot -I./config -I./../include -I./gm2 -Igm2 -Igm2/gm2-compiler-boot -Igm2/gm2-libs-boot gm2/gm2-compiler/clex.c -o gm2/gm2-compiler-boot/clex.o
gm2/c.lex:257: warning: no previous prototype for `yylex'
gm2/c.lex:190:52: attempt to use poisoned "strdup"
gm2/c.lex:615:16: attempt to use poisoned "strdup"
gm2/c.lex:649:27: attempt to use poisoned "malloc"
gm2/c.lex:660:27: attempt to use poisoned "malloc"
gm2/c.lex:688:13: attempt to use poisoned "strdup"
gm2/c.lex:730: warning: function declaration isn't a prototype
gm2/c.lex:655: warning: `yyunput' defined but not used
make[1]: *** [gm2/gm2-compiler-boot/clex.o] Error 1
make[1]: Leaving directory `/home2/ben/src/gm2/gcc-3.2+gm2-20030412/gcc'
make: *** [all-gcc] Error 2

BTW, this is gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]