From: | Stein Eldar Johnsen <Stein(dot)Eldar(dot)Johnsen(at)idi(dot)ntnu(dot)no> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | undefined reference to `PgConnection type_info function' |
Date: | 2002-03-19 15:28:23 |
Message-ID: | 20020319162823.A19347@tienbao.studby.ntnu.no |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
I Get this error message when trying to link my program. All I have is
a "PgDatabase conn(<conninfo string>); ", and "cout <<
conn.ErrorMessage() << endl;" in my db.c++. If there is a library or
something I have forgotten to include please tell ... Compilation was
successfull witout any errors or warnings.
g++ -lpq++ asiagent.o db.o info.o -o
/mnt/home/morimekta/stash/Skole/Prosjekt/asiagent/bin/asiagent
db.o: In function `PgDatabase type_info function':
db.o(.gnu.linkonce.t.__tf10PgDatabase+0x10): undefined reference to
`PgConnection type_info function'
db.o(.gnu.linkonce.t.__tf10PgDatabase+0x1a): undefined reference to
`PgConnection type_info node'
collect2: ld returned 1 exit status
Morimekta (Stein E. Johnsen)
From | Date | Subject | |
---|---|---|---|
Next Message | Rob | 2002-03-19 16:40:20 | Triggers in postgres |
Previous Message | Henshall, Stuart - WCP | 2002-03-19 11:20:50 | Re: Triggers in postgres |