gmake fails with 7.2.2

Поиск
Список
Период
Сортировка
Искать

gmake fails with 7.2.2

От:
Paul Comitz <pcomitz@yahoo.com>
Дата:
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/

Re: gmake fails with 7.2.2

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Paul Comitz  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
FAQ