comp.lang.ada
 help / color / mirror / Atom feed
* Can't compile GNAT 3.05
@ 1996-07-15  0:00 Vincent Smeets
  1996-07-15  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Smeets @ 1996-07-15  0:00 UTC (permalink / 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/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-07-15  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-15  0:00 Can't compile GNAT 3.05 Vincent Smeets
1996-07-15  0:00 ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox