public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* build failure of gcc-3.4 on FreeBSD
@ 2003-11-29 10:00 Florian Villoing
  0 siblings, 0 replies; only message in thread
From: Florian Villoing @ 2003-11-29 10:00 UTC (permalink / raw)
  To: gcc-help

Hello,

I need to build gcc from source for its Ada language support. Since I 
need an Ada compiler to do that, I use gcc-2.8.1 that comes with gnat-3.15p.

I folowed the configure and build instruction found on the web site :

$ export CC=/usr/local/bin/adagcc ; ../gcc-3.4-20031126/configure 
--prefix=/home/villoing/opt --with-local-prefix=/home/villoing/gcc 
--disable-multilib --enable-threads --enable-language=c,ada,c++

and then

$ gmake bootstrap

Then I get :

  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition 
-Werror -fno-common -Wno-error  -DHAVE_CONFIG_H    -I. -I. 
-I../../gcc-3.4-20031126/gcc -I../../gcc-3.4-20031126/gcc/. 
-I../../gcc-3.4-20031126/gcc/../include  \
        -c /home/villoing/src/obj/gcc/c-parse.c -o c-parse.o
In file included from c-parse.y:42:
../../gcc-3.4-20031126/gcc/intl.h:31:21: libintl.h: No such file or 
directory
c-p10422.c: In function `yyparse':

c-p10422.c:2359: warning: old-style parameter declaration
c-parse.y: In function `yyerror':

c-parse.y:2843: warning: implicit declaration of function `gettext'
gmake[2]: *** [c-parse.o] Error 1
gmake[2]: Leaving directory `/home/villoing/src/obj/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/home/villoing/src/obj/gcc'
gmake: *** [bootstrap] Error 2

This occurred if I use --enable-shared too.
I tried to build gcc with gcc-3.3 that comes with FreeBSD (removing Ada 
language), but the compilation failed the same way. I also tried with 
the latest CVS without success.

Furthermore, linbintl.h is present on my system :

$ ls /usr/local/include/ | grep libintl.h
libintl.h

I search the faq and mailing lists but did not find the answer.

Every advice would be welcome.

Florian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-29 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-29 10:00 build failure of gcc-3.4 on FreeBSD Florian Villoing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).