gmake fails with 7.2.2 - Mailing list pgsql-novice

From Paul Comitz
Subject gmake fails with 7.2.2
Date
Msg-id 20050303011218.77775.qmail@web54510.mail.yahoo.com
Whole thread Raw
Responses Re: gmake fails with 7.2.2
List 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/

pgsql-novice by date:

Previous
From: AniLAN
Date:
Subject: SQL embedded in C
Next
From:
Date:
Subject: Re: Form Design Advice