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@lfix.co.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