pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: renneyt@yahoo.com <renneyt@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Problems during linking of PGSQL 8.0.3
Date: Mon, 05 Sep 2005 14:19:12 -0400
Message-ID: <431C8C20.2070309@yahoo.com> (raw )
In-Reply-To: <431C6D91.4050706@yahoo.com >
References: <41B04C92.6060601@axis.hu >
<20041203214144.GA34549@winnie.fuhr.org >
<431C6D91.4050706@yahoo.com >
renneyt@yahoo.com wrote:
>I ran into a problem while compiling PGSQL 8.0.3. I am on Solaris 10
>(Sparc) running GCC 4.0.
>
>The problem is as follows:
>
>
>gmake[4]: Leaving directory `/opt/sft/postgresql-8.0.3/src/port'
>gmake[3]: Leaving directory `/opt/sft/postgresql-8.0.3/src/timezone'
>gcc -O3 -pthreads -Wall -Wmissing-prototypes -Wpointer-arith
>-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels
>-fno-strict-aliasing -L../../src/port -L/opt/csw/gcc4/lib/
>-L/usr/local/lib -L/usr/local/openldap/lib
>-L/usr/local/BerkeleyDB.4.3/lib -L/usr/local/ssl/lib
>-L/usr/local/ssl/lib -Wl,-R/usr/local/pgsql/lib access/SUBSYS.o
>bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
>executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
>nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o
>regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o
>utils/SUBSYS.o ../../src/timezone/SUBSYS.o -lpgport_srv -lssl -lcrypto
>-lz -lreadline -ltermcap -lrt -lresolv -lgen -lsocket -lnsl -ldl -lm -o
>postgres
>Undefined first referenced
> symbol in file
>isinf utils/SUBSYS.o
>ld: fatal: Symbol referencing errors. No output written to postgres
>collect2: ld returned 1 exit status
>gmake[2]: *** [postgres] Error 1
>gmake[2]: Leaving directory `/opt/sft/postgresql-8.0.3/src/backend'
>gmake[1]: *** [all] Error 2
>gmake[1]: Leaving directory `/opt/sft/postgresql-8.0.3/src'
>
>
>
When I switched to the GNU linker I got the following:
gmake[3]: Leaving directory `/opt/sft/postgresql-8.1beta1/src/backend/utils'
gmake -C ../../src/timezone all
gmake[3]: Entering directory `/opt/sft/postgresql-8.1beta1/src/timezone'
gmake -C ../../src/port all
gmake[4]: Entering directory `/opt/sft/postgresql-8.1beta1/src/port'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/opt/sft/postgresql-8.1beta1/src/port'
gmake[3]: Leaving directory `/opt/sft/postgresql-8.1beta1/src/timezone'
gcc -O3 -pthreads -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels
-fno-strict-aliasing -L../../src/port -L/opt/csw/gcc4/lib/
-L/usr/local/lib -L/usr/local/openldap/lib
-L/usr/local/BerkeleyDB.4.3/lib -L/usr/local/ssl/lib
-L/usr/local/ssl/lib -Wl,-rpath,/usr/local/pgsql/lib -Wl,-E
access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o
commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o
main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o
postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o
tcop/SUBSYS.o utils/SUBSYS.o ../../src/timezone/SUBSYS.o
../../src/port/libpgport_srv.a -lssl -lcrypto -lz -lreadline
-ltermcap -lrt -lresolv -lgen -lsocket -lnsl -ldl -lm -o postgres
utils/SUBSYS.o(.text+0x18670): In function `is_infinite':
: undefined reference to `isinf'
utils/SUBSYS.o(.text+0x1b9ac): In function `float8in':
: undefined reference to `isinf'
utils/SUBSYS.o(.text+0x1bd10): In function `float4in':
: undefined reference to `isinf'
utils/SUBSYS.o(.text+0x1bff8): In function `float4out':
: undefined reference to `isinf'
utils/SUBSYS.o(.text+0x1c0f8): In function `float8out':
: undefined reference to `isinf'
collect2: ld returned 1 exit status
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/opt/sft/postgresql-8.1beta1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/sft/postgresql-8.1beta1/src'
gmake: *** [all] Error 2
>
>GCC version
>
>Configured with: ../sources/gcc-4.0.0/configure --prefix=/opt/csw/gcc4
>--with-local-prefix=/opt/csw --without-gnu-as --with-as=/usr/ccs/bin/as
>--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
>--enable-shared --enable-multilib --enable-nls --with-included-gettext
>--with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib
>--with-system-zlib --enable-languages=c,c++,f95,java,objc,ada
>Thread model: posix
>gcc version 4.0.0
>
>Thanks
>
>
>
--
<><
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 9/2/2005
Message-ID: <431C8C20.2070309@yahoo.com>
Permalink: ../431C8C20.2070309@yahoo.com/
Also on: postgresql.org/message-id/431C8C20.2070309@yahoo.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: renneyt@yahoo.com
Subject: Re: Problems during linking of PGSQL 8.0.3
In-Reply-To: <431C8C20.2070309@yahoo.com>
References: <41B04C92.6060601@axis.hu> <20041203214144.GA34549@winnie.fuhr.org> <431C6D91.4050706@yahoo.com> <431C8C20.2070309@yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox