Hi Andre,

We have also compiled postgres with gcc.
Our development environment uses Solaris Workshop,  and we tried some test
programs, compiled with Sun's Forte compiler, and using the gcc compiled
postgres libraries. This did not work.
We got linker errors like the following....

Undefined                       first referenced
 symbol                             in file
PgConnection::PgConnection #Nvariant 1(const char*)       testlibpq0.o
PgConnection::~PgConnection #Nvariant 1()          testlibpq0.o
int PgConnection::ConnectionBad() testlibpq0.o
void PgDatabase::DisplayTuples(__FILE*,int,const char*,int,int)
testlibpq0.o
ExecStatusType PgConnection::Exec(const char*) testlibpq0.o
const char*PgConnection::ErrorMessage() testlibpq0.o
ld: fatal: Symbol referencing errors. No output written to testlibpq0
make: *** [testlibpq0] Error 1


Hence our attempt to compile Postgres with Sun's compiler...

Thanks,
Manoj

Andre Schnabel wrote:

> Hi,
>
> Postgres 7.1.2 is runing fine at my site (Solaris 2.6 ans Solaris 2.6).
> I used gcc-2.95.3 and make-3.79.1 (both downloaded from
> www.sunfreeware.com).
> I had just one problem:
> during compilation you need the ar - command in your PATH.
> Look at the manpages of ar for the proper Path.
>
> CU
> Andre
>
> ----- Original Message -----
> From: Manoj Nair
> To: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
> Sent: Monday, July 09, 2001 1:41 PM
> Subject: [PORTS] Compilation on Solaris 2.8
>
> Hi :
>
> I am having problems in compiling Postgres 7.1.
> I am using the following compilers on Solaris 2.8 on a  Sparc Ultra 60
> machine.
>
> Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
> Sun WorkShop 6 update 1 C 5.2 2000/09/11
>
> Is there a port available for this configuration ?
>
> Thanks,
> Manoj Nair
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to