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

Re: [PORTS] Compilation on Solaris 2.8

From: Manoj Nair <mknair(at)nulinkinc(dot)com>
To: Andre Schnabel <A_Schnabel(at)t-online(dot)de>, pgsql-bugs(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: [PORTS] Compilation on Solaris 2.8
Date: 2001-07-11 09:14:15
Message-ID: 3B4C18E7.307F63DE@nulinkinc.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-ports
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: pgsql-bugs(at)postgresql(dot)org ; pgsql-ports(at)postgresql(dot)org
> 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


In response to

pgsql-ports by date

Next:From: Oyvind HallsteinsenDate: 2001-07-11 18:40:32
Subject: Re: Compilation on Solaris 2.8
Previous:From: Andre SchnabelDate: 2001-07-11 05:54:31
Subject: Re: [PORTS] Compilation on Solaris 2.8

pgsql-bugs by date

Next:From: Peter EisentrautDate: 2001-07-11 15:19:27
Subject: Re: shared library compile error
Previous:From: Andre SchnabelDate: 2001-07-11 05:54:31
Subject: Re: [PORTS] Compilation on Solaris 2.8

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