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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e6ea6a59056d4060 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-26 09:35:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: GNAT 3.14p and Red Hat 7.2 Date: 26 Mar 2002 12:21:30 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3C9F40A2.5AF3920D@raytheon.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1017163618 24446 128.183.220.71 (26 Mar 2002 17:26:58 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 26 Mar 2002 17:26:58 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:21687 Date: 2002-03-26T17:26:58+00:00 List-Id: KennethNelson@attbi.com (Ken Nelson) writes: > > I have a working copy of GNAT 3.13p and gcc 2.8.1 > > 10. However, make CC=gcc CFLAGS="-O2" gnattools produces: > > > 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