This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc-4.1.2 configuration failed
- From: Gordiano Brunati <sagrav at racsa dot co dot cr>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 05 Mar 2007 20:37:08 -0600
- Subject: gcc-4.1.2 configuration failed
- Reply-to: sagrav at racsa dot co dot cr
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