undefined reference to `PgConnection type_info function' - Mailing list pgsql-novice

From Stein Eldar Johnsen
Subject undefined reference to `PgConnection type_info function'
Date
Msg-id 20020319162823.A19347@tienbao.studby.ntnu.no
Whole thread Raw
List 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)

pgsql-novice by date:

Previous
From: "Joel Burton"
Date:
Subject: Re: Fwd: Query results
Next
From: "Al-Haddad, Mohammad J"
Date:
Subject: Data Page