From: Vincent Smeets <smeets@cci.de>
Subject: Can't compile GNAT 3.05
Date: 1996/07/15
Date: 1996-07-15T00:00:00+00:00 [thread overview]
Message-ID: <31EA04B6.F2C@cci.de> (raw)
Hallo,
When I'm trying to compile GNAT 3.05, I get some undefined symbols
during linking of "gnat1".
I'm using a Sun with SunOS 5.5, gcc 2.7.2 and GNAT 3.05 bin. I started
the compilation with the following commands:
tar xvfz gcc-2.7.2.tar.gz
tar xvfz gnat-3.05-src.tar.gz
cd gcc-2.7.2
patch -p0 -s < ../gnat-3.05-src/src/gcc-272.dif
mv ../gnat-3.05-src/src/ada .
cd ada
touch treeprs.ads a-[es]info.h nmake.ad[bs]
cd ..
./configure --prefix=/opt/gnu
make CC=gcc CFLAGS="-O2" LANGUAGES="c ada"
The command to link "gnat1" gives the following error:
Undefined first referenced
symbol in file
__builtin_longjmp a-raise.o
__builtin_setjmp a-misc.o
ld: fatal: Symbol referencing errors. No output written to ../gnat1
make[1]: *** [../gnat1] Error 1
make[1]: Leaving directory `/opt/gnu/src/gcc-2.7.2/ada'
make: *** [gnat1] Error 2
I have found these symbols in c-decl.c, but adding the objectfile to the
link command gives other errors about duplicate defined symbols.
The standard question: Does anybody know what is wrong and how I can
solve it?
-- Vincent Smeets Competence Center Informatik GmbH
-- Tel. : +49-5931-805461 Postfach 1225
-- Fax : +49-5931-842461 49702 Meppen, Germany
-- EMail: smeets@cci.de http://www.cci.de/
next reply other threads:[~1996-07-15 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-15 0:00 Vincent Smeets [this message]
1996-07-15 0:00 ` Can't compile GNAT 3.05 Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox