Skip site navigation (1) Skip section navigation (2)

8.0.0 beta failed to build on mac os x

From: Clifford Clark <cclark(at)uidaho(dot)edu>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 8.0.0 beta failed to build on mac os x
Date: 2004-08-11 22:08:20
Message-ID: F4A3C935-EBE2-11D8-B458-000A957E4B90@uidaho.edu (view raw or flat)
Thread:
Lists: pgsql-bugs
I googled a bit and it seems that this error is caused by global 
variables that are either not initialized or not declared extern.

gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -D_REENTRANT -D_THREAD_SAFE 
-D_POSIX_PTHREAD_SEMANTICS  -I. -I../../../src/include  
-I../../../src/port -DFRONTEND  -c -o thread.o thread.c
ar crs libpq.a `lorder fe-auth.o fe-connect.o fe-exec.o fe-misc.o 
fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o 
pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o encnames.o noblock.o 
pgstrcasecmp.o thread.o | tsort`
tsort: cycle in data
tsort: fe-exec.o
tsort: fe-protocol2.o
tsort: fe-connect.o
tsort: fe-protocol3.o
tsort: cycle in data
tsort: fe-exec.o
tsort: fe-protocol2.o
tsort: cycle in data
tsort: fe-exec.o
tsort: fe-misc.o
tsort: cycle in data
tsort: fe-auth.o
tsort: fe-connect.o
ranlib libpq.a
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -D_REENTRANT -D_THREAD_SAFE 
-D_POSIX_PTHREAD_SEMANTICS  -dynamiclib -install_name 
/Users/cclark/Desktop/pgsql/lib/libpq.3.dylib -compatibility_version 3 
-current_version 3.2 -multiply_defined suppress fe-auth.o fe-connect.o 
fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o 
pqexpbuffer.o pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o 
encnames.o noblock.o pgstrcasecmp.o thread.o  -L../../../src/port 
-lresolv   -o libpq.3.2.dylib
ld: common symbols not allowed with MH_DYLIB output format with the 
-multi_module option
fe-secure.o definition of common _thread_in_send (size 4)
/usr/bin/libtool: internal link edit command failed
make[3]: *** [libpq.3.2.dylib] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
CliffMac:~/Desktop/postgresql-8.0.0beta1 cclark$

pgsql-bugs by date

Next:From: Tom LaneDate: 2004-08-11 22:51:59
Subject: Re: BUG #1214: ecpg regression in 8.0.0beta1
Previous:From: PostgreSQL Bugs ListDate: 2004-08-11 21:59:07
Subject: BUG #1214: ecpg regression in 8.0.0beta1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group