gcc-4.1.2 configuration failed

Gordiano Brunati sagrav@racsa.co.cr
Tue Mar 6 03:00:00 GMT 2007


hello:

I'm trying to configure gcc in my objdir from a separate source
directory as recommended.
I've installed gmp via apt-get.

from:

ubuntu 6.06
gcc-4.1.2
i686-pc-linux-gnu

critical part of my config.log:

configure:2177: checking how to compare bootstrapped objects
configure:2281: checking for correct version of gmp.h
configure:2294: gcc -c -g -O2   conftest.c 1>&5
configure:2284:17: error: gmp.h: No such file or directory
configure: In function 'main':
configure:2288: error: 'choke' undeclared (first use in this function)
configure:2288: error: (Each undeclared identifier is reported only once
configure:2288: error: for each function it appears in.)
configure:2288: error: syntax error before 'me'
configure: failed program was:
#line 2283 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {

#if __GNU_MP_VERSION < 3
choke me
#endif

; return 0; }

can anybody help me?

Thanks in advance.

Rafael
www.astrocosas.com




More information about the Gcc-help mailing list