Bug #573: fails to make darwin 5.2 - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #573: fails to make darwin 5.2
Date
Msg-id 200202051600.g15G0HI78704@postgresql.org
Whole thread Raw
Responses Re: Bug #573: fails to make darwin 5.2
List pgsql-bugs
Tom (watson87@earthlink.net) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
fails to make darwin 5.2

Long Description
pasting output from configure and make:

[localhost:/postgresql-7.1.3] tom% ./configure | tee myconfig.log
loading cache ./config.cache
checking host system type... powerpc-apple-darwin5.2
checking which template to use... darwin
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking whether to build with Unicode conversion support... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... (cached) cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
using CFLAGS=-g -O2
checking whether the C compiler (cc -traditional-cpp -g -O2 ) works... yes
checking whether the C compiler (cc -traditional-cpp -g -O2 ) is a cross-compiler... no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking how to run the C preprocessor... (cached) cc -traditional-cpp -E
checking whether cc -traditional-cpp needs -traditional... (cached) no
checking whether to build with Tcl... no
checking whether to build with Tk... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build Java/JDBC tools... no
checking whether to build the ODBC driver... no
checking whether to build C++ modules... no
using CPPFLAGS=
using LDFLAGS=
checking for mawk... (cached) awk
checking for flex... (cached) /usr/bin/flex
checking whether ln -s works... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for ranlib... (cached) ranlib
checking for lorder... (cached) lorder
checking for tar... (cached) /usr/bin/tar
checking for perl... (cached) perl
checking for bison... (cached) bison -y
checking for readline... (cached) no
checking for library containing using_history... (cached) no
checking for main in -lbsd... (cached) no
checking for setproctitle in -lutil... (cached) no
checking for main in -lm... (cached) yes
checking for main in -ldl... (cached) no
checking for main in -lsocket... (cached) no
checking for main in -lnsl... (cached) no
checking for main in -lipc... (cached) no
checking for main in -lIPC... (cached) no
checking for main in -llc... (cached) no
checking for main in -ldld... (cached) no
checking for main in -lld... (cached) no
checking for main in -lcompat... (cached) no
checking for main in -lBSD... (cached) no
checking for main in -lgen... (cached) no
checking for main in -lPW... (cached) no
checking for main in -lresolv... (cached) no
checking for main in -lunix... (cached) no
checking for library containing crypt... (cached) none required
checking for __inet_ntoa in -lbind... (cached) no
checking for inflate in -lz... (cached) yes
checking for crypt.h... (cached) no
checking for dld.h... (cached) no
checking for endian.h... (cached) no
checking for fp_class.h... (cached) no
checking for getopt.h... (cached) no
checking for ieeefp.h... (cached) no
checking for pwd.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking for sys/pstat.h... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/sem.h... (cached) no
checking for sys/socket.h... (cached) yes
checking for sys/shm.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for termios.h... (cached) yes
checking for kernel/OS.h... (cached) no
checking for kernel/image.h... (cached) no
checking for SupportDefs.h... (cached) no
checking for netinet/in.h... (cached) yes
checking for netinet/tcp.h... yes
checking whether string.h and strings.h may both be included... (cached) yes
checking for readline/readline.h... (cached) no
checking for readline.h... (cached) no
checking for readline/history.h... (cached) no
checking for history.h... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for preprocessor stringizing operator... (cached) yes
checking for signed types... (cached) yes
checking for volatile... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking for union semun... (cached) no
checking for struct sockaddr_un... (cached) yes
checking for int timezone... (cached) no
checking types of arguments for accept()... (cached) int, struct sockaddr *, int *
checking whether gettimeofday takes only one argument... (cached) no
checking for fcvt... (cached) yes
checking for getopt_long... (cached) no
checking for memmove... (cached) yes
checking for pstat... (cached) no
checking for setproctitle... (cached) no
checking for setsid... (cached) yes
checking for sigprocmask... (cached) yes
checking for sysconf... (cached) yes
checking for waitpid... (cached) yes
checking for dlopen... (cached) no
checking for fdatasync... (cached) no
checking for PS_STRINGS... (cached) no
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for isinf... (cached) yes
checking for getrusage... (cached) yes
checking for srandom... (cached) yes
checking for gethostname... (cached) yes
checking for random... (cached) yes
checking for inet_aton... (cached) yes
checking for strerror... (cached) yes
checking for strdup... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for strcasecmp... (cached) yes
checking for cbrt... (cached) yes
checking for rint... (cached) yes
checking for rl_completion_append_character... no
checking for rl_completion_matches... (cached) no
checking for finite... yes
checking for sigsetjmp... yes
checking for optreset... (cached) yes
checking test program... ok
checking whether long int is 64 bits... (cached) no
checking whether long long int is 64 bits... (cached) yes
checking whether snprintf handles 'long long int' as %lld... yes
checking for strtoll... (cached) no
checking for strtoq... (cached) yes
checking for strtoull... (cached) no
checking for strtouq... (cached) yes
checking for atexit... (cached) yes
checking size of unsigned long... (cached) 4
checking alignment of short... (cached) 2
checking alignment of int... (cached) 4
checking alignment of long... (cached) 4
checking alignment of long long int... (cached) 4
checking alignment of double... (cached) 4
checking for POSIX signal interface... (cached) yes
checking for onsgmls... no
checking for nsgmls... no
creating ./config.status
creating GNUmakefile
creating src/GNUmakefile
creating src/Makefile.global
creating src/backend/port/Makefile
creating src/include/config.h
linking ./src/backend/port/dynloader/darwin.c to src/backend/port/dynloader.c
linking ./src/backend/port/dynloader/darwin.h to src/include/dynloader.h
linking ./src/include/port/darwin.h to src/include/os.h
linking ./src/makefiles/Makefile.darwin to src/Makefile.port
linking ./src/backend/port/tas/dummy.s to src/backend/port/tas.s

[localhost:/postgresql-7.1.3] tom% make
make -C doc all
make[1]: Nothing to be done for `all'.
make -C src all
make -C backend all
make -C access all
make -C common SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C gist SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C hash SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C heap SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C index SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C nbtree SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C rtree SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C transam SUBSYS.o
cc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include   -c -o xlog.o
xlog.c
/usr/bin/ld -r -o SUBSYS.o transam.o transsup.o varsup.o xact.o xid.o xlog.o xlogutils.o rmgr.o
/usr/bin/ld -r -o SUBSYS.o common/SUBSYS.o gist/SUBSYS.o hash/SUBSYS.o heap/SUBSYS.o index/SUBSYS.o nbtree/SUBSYS.o
rtree/SUBSYS.otransam/SUBSYS.o 
make -C bootstrap all
make[3]: Nothing to be done for `all'.
make -C catalog all
CPP='cc -traditional-cpp -E' AWK='awk' /bin/sh genbki.sh  -o global -I../../../src/include
../../../src/include/catalog/pg_database.h../../../src/include/catalog/pg_variable.h
../../../src/include/catalog/pg_shadow.h../../../src/include/catalog/pg_group.h ../../../src/include/catalog/pg_log.h
--set-version=7.1.3
CPP='cc -traditional-cpp -E' AWK='awk' /bin/sh genbki.sh  -o template1 -I../../../src/include
../../../src/include/catalog/pg_proc.h../../../src/include/catalog/pg_type.h
../../../src/include/catalog/pg_attribute.h../../../src/include/catalog/pg_class.h
../../../src/include/catalog/pg_inherits.h../../../src/include/catalog/pg_index.h
../../../src/include/catalog/pg_statistic.h../../../src/include/catalog/pg_operator.h
../../../src/include/catalog/pg_opclass.h../../../src/include/catalog/pg_am.h ../../../src/include/catalog/pg_amop.h
../../../src/include/catalog/pg_amproc.h../../../src/include/catalog/pg_language.h
../../../src/include/catalog/pg_largeobject.h../../../src/include/catalog/pg_aggregate.h
../../../src/include/catalog/pg_ipl.h../../../src/include/catalog/pg_inheritproc.h
../../../src/include/catalog/pg_rewrite.h../../../src/include/catalog/pg_listener.h
../../../src/include/catalog/pg_description.h../../../src/include/catalog/indexing.h --set-version=7.1.3 
make -C parser all
make[3]: Nothing to be done for `all'.
make -C commands all
make[3]: Nothing to be done for `all'.
make -C executor all
make[3]: Nothing to be done for `all'.
make -C lib all
make[3]: Nothing to be done for `all'.
make -C libpq all
make[3]: Nothing to be done for `all'.
make -C main all
make[3]: Nothing to be done for `all'.
make -C nodes all
make[3]: Nothing to be done for `all'.
make -C optimizer all
make -C geqo SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C path SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C plan SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C prep SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C util SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C port all
make -C darwin all
make[4]: Nothing to be done for `all'.
make -C postmaster all
make[3]: Nothing to be done for `all'.
make -C regex all
make[3]: Nothing to be done for `all'.
make -C rewrite all
make[3]: Nothing to be done for `all'.
make -C storage all
make -C buffer SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C file SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C ipc SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C large_object SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C lmgr SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C page SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C smgr SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C tcop all
make[3]: Nothing to be done for `all'.
make -C utils all
make -C adt SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C cache SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C error SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C fmgr SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C hash SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C init SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C misc SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C mmgr SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C sort SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
make -C time SUBSYS.o
make[4]: `SUBSYS.o' is up to date.
cc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations    access/SUBSYS.o bootstrap/SUBSYS.o
catalog/SUBSYS.oparser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
nodes/SUBSYS.ooptimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o
tcop/SUBSYS.outils/SUBSYS.o -lz -lm  -o postgres 
/usr/bin/ld: warning unused multiple definitions of symbol _semctl
port/SUBSYS.o definition of _semctl in section (__TEXT,__text)
/usr/lib/libm.dylib(semctl.o) unused definition of _semctl
/usr/bin/ld: warning unused multiple definitions of symbol _semget
port/SUBSYS.o definition of _semget in section (__TEXT,__text)
/usr/lib/libm.dylib(semget.o) unused definition of _semget
/usr/bin/ld: warning unused multiple definitions of symbol _semop
port/SUBSYS.o definition of _semop in section (__TEXT,__text)
/usr/lib/libm.dylib(semop.o) unused definition of _semop
make -C include all
make[2]: Nothing to be done for `all'.
make -C interfaces all
cc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -bundle -undefined suppress -bundle
-undefinedsuppress fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o pqexpbuffer.o dllist.o pqsignal.o
  -o libpq.so.2.1 
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in effect
make[3]: *** [libpq.so.2.1] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2


Sample Code
The specific link error repeated:

/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in effect

No file was uploaded with this report

pgsql-bugs by date:

Previous
From: "Tom Pfau"
Date:
Subject: resource leak in 7.2
Next
From: Tom Lane
Date:
Subject: Re: resource leak in 7.2