comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: GNAT 3.14p and Red Hat 7.2
Date: 26 Mar 2002 12:21:30 -0500
Date: 2002-03-26T17:26:58+00:00	[thread overview]
Message-ID: <uit7js0rp.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: a05cdd57.0203251812.6ed165b4@posting.google.com

KennethNelson@attbi.com (Ken Nelson) writes:

><snip> 
> I have a working copy of GNAT 3.13p and gcc 2.8.1
> 
> 10. However, make CC=gcc CFLAGS="-O2" gnattools  produces:
> 
> <snip>> a-adaint.o: In function `__gnat_tmp_name':
> a-adaint.o(.text+0x42c): the use of `tmpnam' is dangerous, better use
> `mkstemp'
> g-os_lib.o: In function `gnat__os_lib__create_temp_file':
> g-os_lib.o(.text+0x2f1): the use of `mktemp' is dangerous, better use
> `mkstemp'

These are just warnings about potential security problems. They should
be ignored.

> a-gmem.o: In function `__gnat_gmem_a2l_initialize':
> a-gmem.o(.text+0xc4): undefined reference to `convert_addresses'
> a-gmem.o: In function `__gnat_gmem_read_bt_frame':
> a-gmem.o(.text+0x20d): undefined reference to `convert_addresses'
> make[2]: *** [../gnatmem] Error 1 make[2]: Leaving directory
> `/home/free_sw/gcc-2.8.1-gnat-3.14p/ada' make[1]: *** [gnatmem]
> Error 2 make[1]: Leaving directory
> `/home/free_sw/gcc-2.8.1-gnat-3.14p' make: *** [gnattools] Error 2

Just comment out 'gnatmem' in the makefile, so it doesn't get built.
You won't need it for anything

> The function convert_addresses (from RH 6.2) appears to no longer be
> apart of the binutils package in Red Hat 7.2. 

It's provided in a patch to binutils in the GNAT source distribution.

> The previous two errors can be fairly easily worked-around, but I
> don't recall exactly what I did to do that (in a previous build).

Just ignore them :).

-- 
-- Stephe



  parent reply	other threads:[~2002-03-26 17:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-24 23:20 GNAT 3.14p and Red Hat 7.2 Ken Nelson
2002-03-25 15:22 ` Mark Johnson
2002-03-26  2:12   ` Ken Nelson
2002-03-26 14:56     ` Mark Johnson
2002-03-26 19:52       ` Florian Weimer
2002-03-26 17:21     ` Stephen Leake [this message]
2002-03-26 19:53       ` Florian Weimer
2002-03-27 10:49         ` David C. Hoos, Sr.
2002-03-27 11:55           ` Florian Weimer
2002-03-28 16:04             ` Georg Bauhaus
2002-03-28 20:34               ` Florian Weimer
2002-03-29 16:02                 ` Georg Bauhaus
2002-03-30 16:18                   ` Georg Bauhaus
2002-03-30 19:17                     ` Florian Weimer
2002-03-30 21:22                       ` David C. Hoos, Sr.
2002-03-30 23:14                         ` Florian Weimer
2002-03-26 10:06 ` Dr. Michael Paus
replies disabled

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