comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: text tools
Date: Mon, 19 Oct 2009 01:12:13 -0700 (PDT)
Date: 2009-10-19T01:12:13-07:00	[thread overview]
Message-ID: <918b3ebe-ec1b-4334-ac6c-8a1fb5b9f2ee@k4g2000yqb.googlegroups.com> (raw)
In-Reply-To: c9and5lu8oq014bujqcp6s3lf0cuu46ufa@4ax.com

Rib Solomon wrote on comp.lang.ada:
[on Ubuntu 9.04]
[lots snipped]
> windows.adb:(.text+0x386af): undefined reference to `CDesktop'
> collect2: ld returned 1 exit status
> gnatlink: error when calling /usr/bin/gcc-4.3
> gnatmake: *** link failed.
>
> [2009-10-18 15:48:54] process exited with status4 (elapsed time:
20.64s)
>
> The following is the contents of my basic.gpr file
> basic.gpr
> project Basic is
>
>    for Source_Dirs use ("./**",
>                         "/usr/share/ada/adainclude/texttools/**");
>    for Main use ("basic.adb");
>    package Builder is
>       for Default_Switches ("Ada") use ("-x");
>    end Builder;
>    package Compiler is
>      for Switches("basic") use ("-x");
>    end Compiler;
>    package Linker is
>       for Default_Switches ("Ada") use ("-lm",
>                                         "-lcurses");
>    end Linker;
>
> end Basic;

This is wrong and is almost certainly the cause for all your problems.
Please read the contents of /usr/share/ada/adainclude/texttools.gpr
for instructions on how to properly use the installed package. For
background information, please read the Debian Policy for Ada[1],
chapter 5 "Using shared libraries".

[1] http://people.debian.org/~lbrenta/debian-ada-policy.html#Using-shared-libraries

Also, you should not have the sources of TextTools in your home
directory, only the examples you wish to compile.

By the way, I have been looking for a new maintainer for this package
for 18 months now. If nobody steps up, I will request removal of this
package and it will not be in the next release of Debian, to be frozen
in March 2010 and released some time later.

--
Ludovic Brenta.



  parent reply	other threads:[~2009-10-19  8:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-18 23:55 text tools Rob Solomon
2009-10-19  8:09 ` Stephen Leake
2009-10-19  8:12 ` Ludovic Brenta [this message]
2009-10-19 21:27   ` Rob Solomon
2009-10-19 22:06     ` Ludovic Brenta
2009-10-20  0:13       ` Rob Solomon
2009-10-20  2:25   ` Rob Solomon
2009-10-20  9:28     ` Ludovic Brenta
2009-10-20 17:49       ` Ludovic Brenta
2009-10-20 23:14         ` Rob Solomon
2009-10-21  0:39           ` Rob Solomon
2009-10-21  8:06             ` Ludovic Brenta
replies disabled

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