Skip site navigation (1) Skip section navigation (2)

compilation problem

From: HS <mhossein(at)gmail(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: compilation problem
Date: 2005-10-12 09:03:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports

I'm doing a university project with postgres. I need to add a C++ file to
the postgres optimizer. When I added this file (, I got make errors.
To figure out the problem I did some simple tests. I removed everything in
the file except for a simple function and changed the CPP variable in
Makefile.gloabl from gcc to g++ and it worked. However, when I add #include
<iostream> or calls to cout, etc to my file, I get link errors. I'd
appreciate it if anyone could help me with this problem (adding a C++ file
that uses some C++ libraries to postrges). I'm using postgres 8 on Debian.



pgsql-ports by date

Next:From: Date: 2005-10-12 09:32:12
Subject: 8.0.3 - 8.0.4 Win32 Installer Error. Help !!!!! Please
Previous:From: Brian A. SekleckiDate: 2005-10-09 14:57:49
Subject: Re: Help needed to complile postgresql on Mac.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group