[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Build problem on Redhat 9
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Build problem on Redhat 9 |
Date: |
23 Apr 2003 15:28:46 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Hi Ben,
Ben Stuyts <address@hidden> writes:
> Hi Gaius,
>
> On 22 Apr 2003, Gaius Mulley wrote:
>
> > I wonder whether you can tell me which version of
> > gcc is compiling gm2?
>
> gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
I'm able to build gm2 with gcc-3.2.2 (on Debian). I built gcc-3.2.2,
installed it and then built gm2. I also configured c,gm2 the second
time around.
However I did have to #if 0 out references to free and change strdup
to xstrdup in c.lex. But these errors were detected by gcc and once
fixed I got a clean run..
I wonder whether you can email me a copy of build/gm2-auto/P3Build.c
and build/gm2-auto/P3Build.mod
(out of interest).
many thanks,
Gaius
> --enable-languages=c,gm2 I get this:
>
> > just in case.. (just like to rule this out)
>
> Same error:
>
> if [ -f ` if [ -f /home2/ben/src/gm2/host-build/gcc/../binutils/ranlib ] ;
> then echo /home2/ben/src/gm2/host-build/gcc/../binutils/ranlib ; else if [
> "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ranlib; else
> t='s,^,i686-pc-linux-gnu-,'; echo ranlib | sed -e $t ; fi; fi` ] || ( [
> "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] && [ -f /usr/bin/ranlib -o -f
> /bin/ranlib ] ) ; then ranlib gm2/gm2-compiler-boot/gm2.a ; else true ; fi
> gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -DHAVE_CONFIG_H -o stage1/gm2/cc1gm2 gm2/gccgm2.o
> gm2/gm2builtins.o gm2/gm2-lang.o gm2/gm2-compiler-boot/gm2.a
> gm2/gm2-libs-boot/libgm2.a gm2/p2c/p2c-src/src/libp2c.a
> main.o libbackend.a ../libiberty/libiberty.a
> gm2/gm2-compiler-boot/gm2.a(P3Build.o)(.text+0x3338): In function `FileUnit':
> gm2/gm2-auto/P3Build.c:1773: undefined reference to `DefinitionModule'
> gm2/gm2-compiler-boot/gm2.a(P3Build.o)(.text+0x3411): In function
> `ProgramModule':
> gm2/gm2-auto/P3Build.c:1820: undefined reference to `Priority'
> gm2/gm2-compiler-boot/gm2.a(P3Build.o)(.text+0x3495):gm2/gm2-auto/P3Build.c:1840:
>
> undefined reference to `Import'
> gm2/gm2-compiler-boot/gm2.a(P3Build.o)(.text+0x34b1):gm2/gm2-auto/P3Build.c:1849:
>
> undefined reference to `Block'
> gm2/gm2-compiler-boot/gm2.a(P3Build.o)(.text+0x3582): In function
> `ImplementationModule':
> gm2/gm2-auto/P3Build.c:1899: undefined reference to `Priority'
> gm2/gm2-compiler-boot/gm2.a(P3Build.o)(.text+0x3606):gm2/gm2-auto/P3Build.c:1919:
>
> undefined reference to `Import'
> gm2/gm2-compiler-boot/gm2.a(P3Build.o)(.text+0x3622):gm2/gm2-auto/P3Build.c:1928:
>
> undefined reference to `Block'
> collect2: ld returned 1 exit status
> make[2]: *** [stage1/gm2/cc1gm2] Error 1
> make[2]: Leaving directory `/home2/ben/src/gm2/host-build/gcc'
> cp: cannot stat `stage2/gm2/cc1gm2': No such file or directory
> make[1]: *** [cc1gm2] Error 1
> make[1]: Leaving directory `/home2/ben/src/gm2/host-build/gcc'
> make: *** [all-gcc] Error 2
>
> Thanks,
> Ben
>
--
Gaius Mulley University of Glamorgan address@hidden
- [Gm2] Build problem on Redhat 9, Ben Stuyts, 2003/04/19
- Re: [Gm2] Build problem on Redhat 9, Gaius Mulley, 2003/04/22
- Re: [Gm2] Build problem on Redhat 9, Ben Stuyts, 2003/04/23
- Re: [Gm2] Build problem on Redhat 9,
Gaius Mulley <=
- Re: [Gm2] Build problem on Redhat 9, Ben Stuyts, 2003/04/23
- Re: [Gm2] Build problem on Redhat 9, Gaius Mulley, 2003/04/23
- Re: [Gm2] Build problem on Redhat 9, Ben Stuyts, 2003/04/23
- Re: [Gm2] Build problem on Redhat 9, Gaius Mulley, 2003/04/23
- Re: [Gm2] Build problem on Redhat 9, Ben Stuyts, 2003/04/23
- Re: [Gm2] Build problem on Redhat 9, Gaius Mulley, 2003/04/23