[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#566926: marked as done (ld : cannot find -lgnat-4.4)

Your message dated Tue, 26 Jan 2010 00:51:11 +0100
with message-id <873a1tlp5c.fsf@ludovic-brenta.org>
and subject line Re: Bug#566926: ld : cannot find -lgnat-4.4
has caused the Debian Bug report #566926,
regarding ld : cannot find -lgnat-4.4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

566926: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566926
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnat-4.4
Version: 4.4.3-1
Severity: normal

When doing gnatmake test_static.adb -largs -static
the library libgnat-4.4.a isn't found :
gnatbind -x test_static.ali
gnatlink test_static.ali -static
/usr/bin/ld: cannot find -lgnat-4.4
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gcc-4.4
gnatmake: *** link failed.

a local symbolic link to /usr/lib/gcc/<arch dependent>4.4/adalib/libgnat.a
enable to compile

*** test_static.adb
procedure test_static is
end test_static;

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.30-2-powerpc64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnat-4.4 depends on:
ii  gcc-4.4                   4.4.3-1        The GNU C compiler
ii  gnat-4.4-base             4.4.3-1        The GNU Compiler Collection (gnat 
ii  libc6                     2.10.2-5       Embedded GNU C Library: Shared lib
ii  libc6-dev                 2.10.2-5       Embedded GNU C Library: Developmen
ii  libgcc1                   1:4.4.3-1      GCC support library
ii  libgmp3c2                 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii  libgnat-4.4               4.4.3-1        Runtime library for GNU Ada applic
ii  libgnatprj4.4             4.4.3-1        GNU Ada Project Manager
ii  libgnatvsn4.4             4.4.3-1        GNU Ada compiler version library
ii  libmpfr1ldbl              2.4.2-3        multiple precision floating-point 

gnat-4.4 recommends no packages.

Versions of packages gnat-4.4 suggests:
pn  ada-reference-manual          <none>     (no description available)
pn  gnat-4.4-doc                  <none>     (no description available)

-- no debconf information

--- End Message ---
--- Begin Message ---
This is a duplicate of #540192.
In a nutshell: user error, replace -largs with -bargs.

Ludovic Brenta.

--- End Message ---

Reply to: