Error while running gmake for install of postgre 7.2 in connectiva 10 - Mailing list pgsql-ports

From Jakson Silva
Subject Error while running gmake for install of postgre 7.2 in connectiva 10
Date
Msg-id 559B814FE48FEE4DB7C7A5F87236FD915EA7C2@nt1_atrium.atriumcorp.com.br
Whole thread Raw
List 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

pgsql-ports by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Problem installing Postgresql on MDK10.0
Next
From: "Harvey, Allan AC"
Date:
Subject: SCO installation help