Forum OpenACS Q&A: PostgreSQL make error

Collapse
Posted by Luis Garcia on
I get this error while trying to compile PostgreSQL 7.2.3 in a SuSE 9.0 server:

make[4]: Entering directory `/usr/local/src/postgresql-7.2.3/src/backend/utils/time'
make[4]: `SUBSYS.o' is up to date.
make[4]: Leaving directory `/usr/local/src/postgresql-7.2.3/src/backend/utils/time'
make[3]: Leaving directory `/usr/local/src/postgresql-7.2.3/src/backend/utils'
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 -lcrypt -lresolv -lnsl -ldl -lm -o postgres
commands/SUBSYS.o(.text+0x46ef): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x46f5): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x4753): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x475a): In function `DoCopy':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [postgres] Error 1
make[2]: Leaving directory `/usr/local/src/postgresql-7.2.3/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/postgresql-7.2.3/src'
make: *** [all] Error 2
postgres@linux:/usr/local/src/postgresql-7.2.3>

Any ideas of what that is?
Thanks!

Collapse
3: Re: PostgreSQL make error (response to 1)
Posted by Luis Garcia on
Got this one to work.
Thanks!