Error while running gmake for install of postgre 7.2 in connectiva 10

From: "Jakson Silva" <jsilva(at)atriumtelecom(dot)com(dot)br>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Error while running gmake for install of postgre 7.2 in connectiva 10
Date: 2004-11-18 13:27:57
Message-ID: 559B814FE48FEE4DB7C7A5F87236FD915EA7C2@nt1_atrium.atriumcorp.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hi,

I am getting these problems, with gmake for install postgresql 7.2 in conectiva 10

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wl,-rpath,/usr/local
/pgsql/lib -export-dynamic access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o p
arser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o m
ain/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 -
lz -lcrypt -lresolv -lnsl -ldl -lm -o postgres
commands/SUBSYS.o(.text+0x41c2): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x41c8): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x42cf): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x42d5): In function `DoCopy':
: undefined reference to `errno'
collect2: ld returned 1 exit status
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/root/postgresql-7.2/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/root/postgresql-7.2/src'
gmake: *** [all] Error 2

**************************************
I found this message in lists:

В Птн, 09.01.2004, в 17:51, Tom Lane пишет:
> karthikeyan <karthikeyan ( at ) naturesoft ( dot ) net> writes:
> > commands/SUBSYS.o(.text+0x41c2): In function `DoCopy':
> > : undefined reference to `errno'
>
> I think you need this patch:
> http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/copy.c.diff?r1=1.145.2.1&r2=1.145.2.2

I have the same trouble when try to install posgres 7.1.3 in redhat 9.0
Can I use this patch with 7.1.3 ?
**************************

But, how I install this patch ????
******************************************

Someone, can help me ?
Thank´s a lot.

Jakson

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2004-11-21 14:05:40 Re: Problem installing Postgresql on MDK10.0
Previous Message Fred Pederndong 2004-11-15 14:40:42 Windows XP : error...does not have native spinlock support on this platform