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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,29a007c84cce183d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-Received: by 10.224.17.140 with SMTP id s12mr4520292qaa.3.1363374320591; Fri, 15 Mar 2013 12:05:20 -0700 (PDT) X-Received: by 10.49.120.105 with SMTP id lb9mr699010qeb.17.1363374320558; Fri, 15 Mar 2013 12:05:20 -0700 (PDT) Path: k8ni188qas.0!nntp.google.com!dd2no1479409qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 15 Mar 2013 12:05:20 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=190.198.158.55; posting-account=sXXPOwoAAACA_qJtnyEDkwXMbkuy9sft NNTP-Posting-Host: 190.198.158.55 References: <0e77c6ac-c333-45b9-b147-76b1288255d4@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5a2ea64e-4273-4013-a3e6-a10a41b6ab4a@googlegroups.com> Subject: Re: There is something wrong with using libpq5 with -FdUMP-ada-spec-C ? From: Multiplayer1080 Injection-Date: Fri, 15 Mar 2013 19:05:20 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-03-15T12:05:20-07:00 List-Id: El jueves, 14 de marzo de 2013 17:51:08 UTC-4:30, Dirk Heinrichs escribi= =F3: > Multiplayer1080 wrote: >=20 >=20 >=20 > > I have seen that there is a possibility using Gnade, however it seems m= ore >=20 > > difficult to use for me, since I have to build and install these tools, >=20 > > instead of using libraries and add them to my project. I'm in Debian 7. >=20 >=20 >=20 > On Debian, you can use APQ (libapq-postgresql3.2.0-dev) to access databas= es=20 >=20 > from Ada programs. >=20 >=20 >=20 > HTH... >=20 >=20 >=20 > Dirk >=20 > --=20 >=20 > Dirk Heinrichs >=20 > Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913 >=20 > 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__po= stgresql__client__connect': apq-postgresql-client.adb:(.text+0x2ce3): undefined reference to `notice_in= stall' /home/Ada-Project/testing/obj/apq-postgresql-client.o: In function `apq__po= stgresql__client__disconnect': apq-postgresql-client.adb:(.text+0x39fe): undefined reference to `notice_un= install' 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 l= ibrary lapq? Im using the GPS with no switches...=20 Thanks again..