From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4d1f42205540eebd,start X-Google-Attributes: gid103376,public From: Vincent Smeets Subject: Can't compile GNAT 3.05 Date: 1996/07/15 Message-ID: <31EA04B6.F2C@cci.de>#1/1 X-Deja-AN: 168807426 distribution: world content-type: text/plain; charset=us-ascii organization: Competence Center Informatik GmbH mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4m) Date: 1996-07-15T00:00:00+00:00 List-Id: 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/