postgresql 7.2b4 compile problems - Mailing list pgsql-general

From mike
Subject postgresql 7.2b4 compile problems
Date
Msg-id 002301c185b1$49d05460$0a00000a@generator
Whole thread Raw
Responses Re: postgresql 7.2b4 compile problems
List pgsql-general
I've been trying to compile the newest 7.2 beta for the past couple of days and its been throwing  an odd error and I'm uncertain what exactly its looking for.
 
I'm compiling it on an e-smith gateway with the following options: ./configure  --prefix=/usr --with-pam --enable-multibyte --enable-recode --enable-locale --with-maxbackends=64 --with-perl --enable-syslog
 
as well this is what postgres is outputing on error exit:
make[4]: Leaving directory `/usr/src/postgresql-7.2b4/src/interfaces/libpq'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include   -c -o pg_dump.o pg_dump.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include   -c -o common.o common.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include   -c -o pg_backup_archiver.o pg_backup_archiver.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include   -c -o pg_backup_db.o pg_backup_db.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include   -c -o pg_backup_custom.o pg_backup_custom.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include   -c -o pg_backup_files.o pg_backup_files.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include   -c -o pg_backup_null.o pg_backup_null.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include   -c -o pg_backup_tar.o pg_backup_tar.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pg_dump.o common.o pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o pg_backup_null.o pg_backup_tar.o -L../../../src/interfaces/libpq -lpq  -Wl,-rpath,/usr/lib -lpam -lcrypt -lresolv -lnsl -ldl -lm -lbsd -lhistory  -o pg_dump
../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'
collect2: ld returned 1 exit status
make[3]: *** [pg_dump] Error 1
make[3]: Leaving directory `/usr/src/postgresql-7.2b4/src/bin/pg_dump'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.2b4/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.2b4/src'
make: *** [all] Error 2
 
is this a bug or am I missing something?
 
Mike

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL & Object Oriented
Next
From: Tom Lane
Date:
Subject: Re: postgresql 7.2b4 compile problems