From: Porter of PDSW <porter@cs.unipune.ernet.in>
To: pgsql-interfaces@hub.org
Subject: Tcl_CreateExitHandle error
Date: Sun, 2 Aug 1998 21:56:15 -0500 (IST)
Message-ID: <199808030256.VAA02106@cs.unipune.ernet.in> (raw)
hello everyone,
i tried compiling (LINUX_ELF set to true) postgres95 along with pgtclsh and
pgtksh compilation options on slakware linux 1.2.13, running on a 120 MHz
pentium, with tcl7.4 and tk4.0 and flex/bison
versions supplied with corresponding slakware version.
with some warnings compilation was over and binaries were created. For any help
if you need information on these warnings here they are ...
-------------------------------
make[2]: Entering directory `/hacktmp/avinash/src/backend/bootstrap'
gcc -Wall -Wmissing-prototypes -m486 -Dlinux -I.. -I../port/linux -I../../include -Wno-error -c bootparse.c -o bootparse.o
/usr/lib/bison.simple: In function `Int_yyparse':
/usr/lib/bison.simple:294: warning: implicit declaration of function `Int_yyerror'
/usr/lib/bison.simple:354: warning: implicit declaration of function `Int_yylex'
gcc -Wall -Wmissing-prototypes -m486 -Dlinux -I.. -I../port/linux -I../../include -Wno-error -c bootscanner.c -o bootscanner.o
lex.Int_yy.c:678: warning: no previous prototype for `Int_yylex'
bootscanner.l:138: warning: no previous prototype for `Int_yyerror'
make[2]: Leaving directory `/hacktmp/avinash/src/backend/bootstrap'
..... similar errors snipped ......
make[3]: Entering directory `/hacktmp/avinash/src/backend/storage/ipc'
gcc -Wall -Wmissing-prototypes -m486 -Dlinux -I../.. -I../../port/linux -I../../../include -c ipc.c -o ipc.o
In file included from /usr/include/sys/sem.h:8,
from ipc.c:37:
/usr/include/asm/bitops.h:23: warning: no previous prototype for `set_bit'
/usr/include/asm/bitops.h:33: warning: no previous prototype for `clear_bit'
/usr/include/asm/bitops.h:43: warning: no previous prototype for `change_bit'
/usr/include/asm/bitops.h:57: warning: no previous prototype for `test_bit'
/usr/include/asm/bitops.h:70: warning: no previous prototype for `find_first_zero_bit'
/usr/include/asm/bitops.h:96: warning: no previous prototype for `find_next_zero_bit'
/usr/include/asm/bitops.h:128: warning: no previous prototype for `ffz'
make[3]: Leaving directory `/hacktmp/avinash/src/backend/storage/ipc'
..... similar errors snipped ......
make[1]: Entering directory `/hacktmp/avinash/src/libpq++'
../../include/c.h:63: warning: abstract declarator used as declaration
from testlo.cc:15:
from ../libpq++.H:30,
In file included from ../../include/postgres.h:41,
g++ -Wall -Wmissing-prototypes -m486 -Dlinux -Wno-error -I.. -I../../backend -I../../include -I../../libpq -rdynamic -o testlo testlo.cc -lm -ldl -lbsd -L.. -lpq++ -L../../libpq -lpq
..... similar errors snipped ......
make[1]: Leaving directory `/hacktmp/avinash/src/libpq++'
make[1]: Entering directory `/hacktmp/avinash/src/libpgtcl'
gcc -Wall -Wmissing-prototypes -m486 -Dlinux -I../backend -I../include -I../libpq -I/usr/include/tcl/ -Wno-error -fpic -fPIC -c pgtcl.c -o pgtcl.o
pgtcl.c: In function `Pgtcl_AtExit':
pgtcl.c:54: warning: implicit declaration of function `Tcl_DeleteExitHandler'
pgtcl.c: In function `Pgtcl_Init':
pgtcl.c:81: warning: implicit declaration of function `Tcl_CreateExitHandler'
pgtcl.c:174: warning: implicit declaration of function `Tcl_PkgProvide'
-------------------------------------------------------------------------
Can anyone suggest - what can be possible problems causing these warnings??
Last few warnings "Tcl_Create..... variety", don't let either of pgtclsh and
pgtksh execute. I get error message as
pgtclsh:can't resolve symbol 'Tcl_CreateExitHandler'
any help regarding how to get rid of above warnings and how to be able to run
pgtclsh and pgtksh succesfully, will be great help.
sandeep
(san@cs.unipune.ernet.in)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: porter@cs.unipune.ernet.in, pgsql-interfaces@hub.org
Subject: Re: Tcl_CreateExitHandle error
In-Reply-To: <199808030256.VAA02106@cs.unipune.ernet.in>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox