Skip site navigation (1) Skip section navigation (2)

undefined reference to `ECPGconnect'

From: "Mark McArthey" <mcarthey(at)execpc(dot)com>
To: "PgSQL Novice" <pgsql-novice(at)postgresql(dot)org>
Subject: undefined reference to `ECPGconnect'
Date: 2001-10-25 05:12:55
Message-ID: CGEFKOCNLBFDGLJODOGIMEKGCDAA.mcarthey@execpc.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi all,
I haven't been able to figure out why I'm receiving this error.  Can someone
help me out?  It may be worth noting that in the generated file (after
preprocessing), I had to modify the prepended #include's to have 'pgsql' in
them (ie. #include <pgsql/ecpgtype.h>).
Thanks for any help!
Mark

$ gcc -I/usr/include/pgsql manager.c -o manager
/tmp/ccU8a5E9.o: In function `parser':
/tmp/ccU8a5E9.o(.text+0x197): undefined reference to `ECPGconnect'
/tmp/ccU8a5E9.o(.text+0x1af): undefined reference to `ECPGdo'
collect2: ld returned 1 exit status



pgsql-novice by date

Next:From: Einar KarttunenDate: 2001-10-25 06:20:42
Subject: Re: current and beta versions
Previous:From: Ben StathamDate: 2001-10-25 02:54:33
Subject: Visual Database Design Tools

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group