From: | "Robert J(dot) Sprawls" <sprawlsr(at)worldnet(dot)att(dot)net> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Linking to palloc and elog. (fwd) |
Date: | 2000-07-10 05:46:45 |
Message-ID: | Pine.LNX.4.20.0007100046250.347-100000@tacdyn.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello,
I'm not too familiar with linking to pgsql libs. I've linked to
the static libpq libs before, but this is new ground. I'm following the
example in complex. When I try to link here is my errors:
gcc -g -I /usr/pgsql/include testepg.o compos.o vect3d.o -o testepg
compos.o: In function `compos_in':
/home/sprawlsr/devel/projects/galwars/misc/compos.c:10: undefined
reference to `elog'
/home/sprawlsr/devel/projects/galwars/misc/compos.c:14: undefined
reference to `CurrentMemoryContext'
/home/sprawlsr/devel/projects/galwars/misc/compos.c:14: undefined
reference to `MemoryContextAlloc'
/home/sprawlsr/devel/projects/galwars/misc/compos.c:16: undefined
reference to `elog'
There is more, but this should do it.
Robert J. Sprawls sprawlsr(at)worldnet(dot)att(dot)net
Tactical Dynamics http://home.att.net/~sprawlsr
CEO (Chief Everything Officer)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-07-10 06:01:23 | Re: Linking to palloc and elog. (fwd) |
Previous Message | Philip Warner | 2000-07-10 05:12:27 | Re: Re: [GENERAL] PostgreSQL vs. MySQL |