comp.lang.ada
 help / color / mirror / Atom feed
* Re: Can't compile GNAT 3.05
  1996-07-15  0:00 Can't compile GNAT 3.05 Vincent Smeets
@ 1996-07-15  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1996-07-15  0:00 UTC (permalink / raw)



"Vincent said

"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:"

Normally there is no need to rebuild GNAT from sources. If you DO want
to rebuild from sources, then it is important to read the documentation
very carefully. Your error in this case is that you used the wrong version
of the C compiler (and probably of LIBGCC, although you did not get to
that error -- missing __dummy -- yet). The doumentation discusses the
importance of using the right C compiler in the build."


As always, such messages should always be sent to report@gnat.com if you
want to reach the people with the most experience in building GNAT from
source :-)





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

* 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