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,af4e549345d75df5,start X-Google-Attributes: gid103376,public From: stumpem@email.uah.edu (Michael A. Stumpe) Subject: Gnat 3.09 Linux errors Date: 1998/02/12 Message-ID: <6bv7je$r7f$1@info.uah.edu>#1/1 X-Deja-AN: 324470387 Organization: The University of Alabama in Huntsville Newsgroups: comp.lang.ada Date: 1998-02-12T00:00:00+00:00 List-Id: Hello, I have just installed package gnat-3.09-i486-linux-elf-bin.tar.gz (Gnat 3.09) for use with a Computer Science class. I am using GCC version 2.7.2.1, and I am getting the follow errors ... ... [mast@ccrhsa033 cs424]$ gnatmake totem_pole.adb gcc -c totem_pole.adb gnatbind -x totem_pole.ali gnatlink totem_pole.ali /usr/lib/libpthreads.so.1: the `gets' function is dangerous and should not be used. /usr/lib/libpthreads.so.1: undefined reference to `__libc_rewinddir' /usr/lib/libpthreads.so.1: undefined reference to `__libc_readdir_r' /usr/lib/libpthreads.so.1: undefined reference to `___sig_restore' /usr/lib/libpthreads.so.1: undefined reference to `__libc_opendir' /usr/lib/libpthreads.so.1: undefined reference to `__libc_closedir' /usr/lib/libpthreads.so.1: undefined reference to `__libc_seekdir' /usr/lib/libpthreads.so.1: undefined reference to `__libc_readdir' /usr/i486-linux-libc5/lib/libm.so.5: undefined reference to `__getfpucw' /usr/lib/libpthreads.so.1: undefined reference to `__libc_telldir' /usr/lib/libpthreads.so.1: undefined reference to `___masksig_restore' gnatmake: *** link failed. ... Does anyone know what this is? Does the rest of the output have to do with the 'gets' function being 'dangerous'? That libpthreads library *is* the one that came with the gnat package, I have checked. I can't see how this would be a problem with GCC, since it compiles fine, but messes up at the point of Gnat linking. Thanks to all, Michael