comp.lang.ada
 help / color / mirror / Atom feed
From: Multiplayer1080 <marlontrujillo1080@gmail.com>
Subject: Re: There is something wrong with using libpq5 with -FdUMP-ada-spec-C ?
Date: Fri, 15 Mar 2013 12:05:20 -0700 (PDT)
Date: 2013-03-15T12:05:20-07:00	[thread overview]
Message-ID: <5a2ea64e-4273-4013-a3e6-a10a41b6ab4a@googlegroups.com> (raw)
In-Reply-To: <khtigk$rkv$1@online.de>

El jueves, 14 de marzo de 2013 17:51:08 UTC-4:30, Dirk Heinrichs  escribió:
> Multiplayer1080 wrote:
> 
> 
> 
> > I have seen that there is a possibility using Gnade, however it seems more
> 
> > difficult to use for me, since I have to build and install these tools,
> 
> > instead of using libraries and add them to my project. I'm in Debian 7.
> 
> 
> 
> On Debian, you can use APQ (libapq-postgresql3.2.0-dev) to access databases 
> 
> from Ada programs.
> 
> 
> 
> HTH...
> 
> 
> 
> 	Dirk
> 
> -- 
> 
> Dirk Heinrichs <dirk.heinrichs@altum.de>
> 
> Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913
> 
> GPG Public Key C2E467BB | Jabber: dirk.heinrichs@altum.de


Thank you so much, Im trying to use that, but when i build my project with:
"for Source_Dirs use ("src", "../../../../usr/share/ada/adainclude/**");"

i have this answer:
/home/Ada-Project/testing/obj/apq-postgresql-client.o: In function `apq__postgresql__client__connect':
apq-postgresql-client.adb:(.text+0x2ce3): undefined reference to `notice_install'
/home/Ada-Project/testing/obj/apq-postgresql-client.o: In function `apq__postgresql__client__disconnect':
apq-postgresql-client.adb:(.text+0x39fe): undefined reference to `notice_uninstall'
collect2: ld returned 1 exit status
gprbuild: link of nucleo.adb failed

Do you know why i got this error? is this the correct form to include the library lapq? Im using the GPS with no switches... 

Thanks again..



  reply	other threads:[~2013-03-15 19:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-14 18:58 There is something wrong with using libpq5 with -FdUMP-ada-spec-C ? Multiplayer1080
2013-03-14 22:21 ` Dirk Heinrichs
2013-03-15 19:05   ` Multiplayer1080 [this message]
2013-03-15 19:19   ` Multiplayer1080
2013-03-16  2:50     ` Multiplayer1080
2013-03-16  9:13       ` Simon Wright
2013-03-16 21:40         ` Multiplayer1080
2013-03-15  9:02 ` Dmitry A. Kazakov
replies disabled

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