Compilation error on sparc-solaris - Mailing list pgsql-hackers

From Shiby Thomas
Subject Compilation error on sparc-solaris
Date
Msg-id 199802021652.LAA13655@cise.ufl.edu
Whole thread Raw
In response to v6.3beta testing starting  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
Hi,

compiling on sparc-solaris 2.5 with gcc.

tas not defined error.

gmake[3]: Entering directory `/amd/dolphin/export/database22/data-mining/postgr
e
s/pgsql/src/backend/storage/buffer'
gcc -I../../../include -I../../../backend  -I../../../backend/port/sparc_solari
s
  -Wall -Wmissing-prototypes -I../..    -c buf_table.c -o buf_table.o
gcc -I../../../include -I../../../backend  -I../../../backend/port/sparc_solari
s
  -Wall -Wmissing-prototypes -I../..    -c buf_init.c -o buf_init.o
../../../include/storage/s_lock.h:123: warning: `tas' declared `static' but
neve
r defined
gcc -I../../../include -I../../../backend  -I../../../backend/port/sparc_solari
s
  -Wall -Wmissing-prototypes -I../..    -c bufmgr.c -o bufmgr.o
../../../include/storage/s_lock.h:123: warning: `tas' declared `static' but
neve
r defined
gcc -I../../../include -I../../../backend  -I../../../backend/port/sparc_solari
s
  -Wall -Wmissing-prototypes -I../..    -c freelist.c -o freelist.o
gcc -I../../../include -I../../../backend  -I../../../backend/port/sparc_solari
s
  -Wall -Wmissing-prototypes -I../..    -c localbuf.c -o localbuf.o
gcc -I../../../include -I../../../backend  -I../../../backend/port/sparc_solari
s
  -Wall -Wmissing-prototypes -I../..    -c s_lock.c -o s_lock.o
../../../include/storage/s_lock.h:123: warning: `tas' declared `static' but
neve
r defined

later the linking fails:
gcc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o
commands/SUB
SYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
nodes/SUBSYS.o
 optimizer/SUBSYS.o parser/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o
regex/SUBS
YS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
../utils/ver
sion.o -lgen -lcrypt -lnsl -lsocket -ldl -lm -lreadline -ltermcap -lcurses
Undefined           first referenced
 symbol                 in file
tas                                 storage/SUBSYS.o

--shiby



pgsql-hackers by date:

Previous
From: teunis
Date:
Subject: Re: [HACKERS] (: JDBC+(Sun ~3:pm MST) CVS :) -also question about regression tests
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] (: JDBC+(Sun ~3:pm MST) CVS :) -also question about regression tests