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

Tcl_CreateExitHandle error

From: Porter of PDSW <porter(at)cs(dot)unipune(dot)ernet(dot)in>
To: pgsql-interfaces(at)hub(dot)org
Subject: Tcl_CreateExitHandle error
Date: 1998-08-03 02:56:15
Message-ID: 199808030256.VAA02106@cs.unipune.ernet.in (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-interfaces
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(at)cs(dot)unipune(dot)ernet(dot)in)


Responses

pgsql-interfaces by date

Next:From: Porter of PDSWDate: 1998-08-03 03:19:01
Subject: Error in pgsql compilation
Previous:From: Mark NielsenDate: 1998-08-03 02:04:07
Subject: nevermind, I hate it when I find an answer out within 5 minutes of posting a question

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