gm2
[Top][All Lists]
Advanced

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

[Gm2] gm2 make errors?


From: Charles Bradshaw
Subject: [Gm2] gm2 make errors?
Date: Thu, 08 May 2014 18:15:52 +0100

I'm trying to compile gm2. I compiling under Fedora 17 using gcc version
4.7.2 20120921 (Red Hat 4.7.2-2) (GCC)

I followed the yellow brick road:

http://floppsie.comp.glam.ac.uk/download/c/gcc-4.7.3
+gm2-git-latest.tar.gz
tar zvxf gcc-4.7.3+gm2-git-latest.tar.gz
cd gcc-4.7.3+gm2-git-latest/gm2
sh ./combine-trees
cd gcc-versionno
mkdir objdir
cd objdir
mkdir /home/brad/gcc
../configure --prefix=/home/brad/gcc

Until this error from make:

$ make
....
../../gcc/gcc.c: In function ‘int main(int, char**)’:
../../gcc/gcc.c:6366:33: error: ‘lang_register_spec_functions’ was not
declared in this scope

I tried adding the following to gcc.c
extern void lang_register_spec_functions (void);

But now I see the following:

gcc.o: In function `main':
gcc.c:(.text.startup+0x4f9): undefined reference to
`lang_register_spec_functions()'
collect2: error: ld returned 1 exit status

This looks like something to do with Gaius Mulleys patches for gm2 but
my C is inadequate.

How can I fix the problem?

TIA Charles Bradshaw






reply via email to

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