ubuntu 9.10 AMD64 undefined reference to `optreset'

Поиск
Список
Период
Сортировка
От Graham Swallow
Тема ubuntu 9.10 AMD64 undefined reference to `optreset'
Дата
Msg-id u2pba05db111005050449j93b7fc7cm613109fbfcbbb49c@mail.gmail.com
обсуждение исходный текст
Ответы Re: ubuntu 9.10 AMD64 undefined reference to `optreset'  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
9.0 beta1 tarball
configure --prefix=/tmp/PG9/

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -L../../src/port -Wl,--as-needed -Wl,-rpath,'/tmp/pg9/lib'
-Wl,-E
... long list of .o files ...
 ../../src/port/libpgport_srv.a -lcrypt -ldl -lm -o postgres

postmaster/postmaster.o: In function `PostmasterMain':
postmaster.c:(.text+0x42ac): undefined reference to `optreset'
tcop/postgres.o: In function `process_postgres_switches':
postgres.c:(.text+0x12fb): undefined reference to `optreset'
collect2: ld returned 1 exit status
make[2]: *** [postgres] Error 1
make[2]: Leaving directory `/tmp/p/src/backend'

config.log says:

ac_cv_func_getopt=yes
ac_cv_func_getopt_long=yes

Is there perhaps an empty .deb package that has the dependencies?

Graham

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #5447: VPATH install postgres.bki
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ubuntu 9.10 AMD64 undefined reference to `optreset'