Gnat 3.09 Linux errors 
Author Message
 Gnat 3.09 Linux errors

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 ...

...

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



Mon, 31 Jul 2000 03:00:00 GMT  
 Gnat 3.09 Linux errors



Quote:
> 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 ...

> ....

> 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

Hallo,

I've exactly the same problem, using gcc 2.7.2.1 and gnat 3.07 getting the
following error:

Quote:
> /usr/lib/libpthreads.so.1: undefined reference to `machdep_sys_sendmsg'
> /usr/lib/libpthreads.so.1: undefined reference to `machdep_sys_recvmsg'

any ideas?

Bernd



Sat, 05 Aug 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. GNAT 3.09 vs 3.10 on Linux

2. stack overflow on GNAT 3.09 (linux)

3. Requesting help with GNAT 3.09 constraint error, PowerPC

4. GNAT 3.09, NT, and error messages

5. ANNOUNCE : Win32Ada patch for GNAT 3.09 and GNAT 3.10a (Windows 95/NT)

6. GNAT 3.07 v. GNAT 3.09

7. installing additional packages with gnat 3.09

8. DLL's with GNAT 3.09 for Windows 95

9. Information on GNAT 3.09 for Win 95

10. gnat 3.09 and Claw

11. gnat 3.09 on hpux 9.07

12. gnat 3.09: gnat1 problem

 

 
Powered by phpBB® Forum Software