| From: | "Sudhanshu Gupta" <sudhanshu_ji(at)rediffmail(dot)com> |
|---|---|
| To: | pgsql-novice(at)postgresql(dot)org |
| Subject: | |
| Date: | 2003-05-10 09:16:47 |
| Message-ID: | 20030510091647.30082.qmail@webmail10.rediffmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
Hi
I am facing same type of error
undefined reference to `ECPGconnect'
All ecpg*.h files are in /usr/include.
Can you help by telling what changes I should made .c file.
Thanks for any help
Sudhanshu
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ian Barwick | 2003-05-10 11:22:42 | Re: Multilingual database |
| Previous Message | Terence Ng | 2003-05-10 02:48:37 | Multilingual database |