Re: gmake fails with 7.2.2

Lists: pgsql-novice
From: Paul Comitz <pcomitz(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: gmake fails with 7.2.2
Date: 2005-03-03 01:12:18
Message-ID: 20050303011218.77775.qmail@web54510.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Greetings,

gmake fails with 7.2.2 identically on Redhat
Enterprise Linux and Redhat 9. Exact error is
"undefined reference to errno".

Any help is greatly appreciated. Thanx.

gcc -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations
-Wl,-rpath,/usr/local/pgsql/lib -export-dynamic
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 -lz
-lcrypt -lresolv -lnsl -ldl -lm -lbsd -lreadline
-ltermcap -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
`/home/swim/ebXML/postgres_unzip/postgresql-7.2.2/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/home/swim/ebXML/postgres_unzip/postgresql-7.2.2/src'
gmake: *** [all] Error 2



__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Comitz <pcomitz(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: gmake fails with 7.2.2
Date: 2005-03-05 04:55:45
Message-ID: 14153.1109998545@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Paul Comitz <pcomitz(at)yahoo(dot)com> writes:
> gmake fails with 7.2.2 identically on Redhat
> Enterprise Linux and Redhat 9. Exact error is
> "undefined reference to errno".

Why in the world would you want to install 7.2.2? If you have a reason
to use the 7.2 branch at all, you should be using the latest in that
branch, which is 7.2.7 at the moment. (And yes, this is fixed in 7.2.7)

An even more relevant question is why you're not installing a reasonably
current branch, like 7.4 or 8.0 ...

regards, tom lane