From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Mogin Mohandas <moginmo(at)gmail(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: doubt |
Date: | 2005-08-23 06:08:39 |
Message-ID: | 1124777319.3560.138.camel@linda |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Mon, 2005-08-22 at 13:46 -0500, Mogin Mohandas wrote:
> Hi
> I am new to Postgres. I was trying to create a new data type.
> There is an eg for creating a type complex under src/tutorial. I went
> under the tutorial dir and tried doing a gcc -fpic -c complex.c but it
> shows me that the header files postgres.h, fmgr.h are missing. That
> means the header files are not being found. By the way, the header
> files are in the path...usr/local/pgsql/include/server. How do I get
> gcc to find the header files. Anybody having any idea please help.
Add -I/usr/local/pgsql/include/server to the gcc options.
--
Oliver Elphick olly(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
Do you want to know God? http://www.lfix.co.uk/knowing_god.html
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Elphick | 2005-08-23 06:12:15 | Re: New-B Question #2 |
Previous Message | Oliver Elphick | 2005-08-23 06:07:11 | Re: Password Authentication |