pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: [INTERFACES] Tcl_CreateExitHandle error
3+ messages / 2 participants
[nested] [flat]

* Re: [INTERFACES] Tcl_CreateExitHandle error
@ 1998-08-02 23:31  Thomas G. Lockhart <lockhart@alumni.caltech.edu>
  parent: Porter of PDSW <porter@cs.unipune.ernet.in>
  0 siblings, 0 replies; 3+ messages in thread

From: Thomas G. Lockhart @ 1998-08-02 23:31 UTC (permalink / raw)
  To: Porter of PDSW <porter@cs.unipune.ernet.in>; +Cc: pgsql-interfaces@hub.org

> i tried compiling (LINUX_ELF set to true) postgres95

I assume you are actually trying the latest release, labeled PostgreSQL
v6.3.2?? If not, that is the one you should be working with.

> For any help
> if you need information on these warnings here they are ...
> /usr/lib/bison.simple:294: warning: implicit declaration of function `Int_yyerror'
> ..... similar errors snipped ......
> /usr/include/asm/bitops.h:23: warning: no previous prototype for `set_bit'
> ..... similar errors snipped ......

Down to here these are very normal "errors". yacc/bison doesn't declare
a prototype for the generated parsing routines so gcc complains since we
have warnings turned on. Also, Linux omits prototype declarations for
some inline bit manipulation assembler routines since the actual code is
in the .h file anyway. Causes the compiler to whine about missing
prototypes and, yes, they are missing...

Sorry, don't have any experience with the C++ and tcl warnings...

                    - Tom



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Tcl_CreateExitHandle error
@ 1998-08-03 02:56  Porter of PDSW <porter@cs.unipune.ernet.in>
  0 siblings, 1 reply; 3+ messages in thread

From: Porter of PDSW @ 1998-08-03 02:56 UTC (permalink / raw)
  To: pgsql-interfaces@hub.org

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)




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] Tcl_CreateExitHandle error
@ 1998-08-03 05:57  Thomas G. Lockhart <lockhart@alumni.caltech.edu>
  0 siblings, 0 replies; 3+ messages in thread

From: Thomas G. Lockhart @ 1998-08-03 05:57 UTC (permalink / raw)
  To: Sandeep <san@cs.unipune.ernet.in>; +Cc: pgsql-interfaces

> BTW i am trying out with
> version 6.0 which is not the latest, but suitable for the requirements 
> here. moreover it has been used by few people and as per them it is 
> so-to-say stable.

It will be difficult to get answers to questions on a version that old.
If you are installing a new system anyway, I would strongly recommend
installing the latest version (v6.3.2). It has nothing but improved
features and stability, _and_ it is the version people who can help you
are using.

Anyway, the tcl and shared library stuff (the dlfcn problem) is likely
to be fixed in the newest versions, where we have worked to get better
autoconfig behavior.

                   - Tom



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~1998-08-03 05:57 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-08-03 02:56 Tcl_CreateExitHandle error Porter of PDSW <porter@cs.unipune.ernet.in>
1998-08-02 23:31 ` Thomas G. Lockhart <lockhart@alumni.caltech.edu>
1998-08-03 05:57 Re: [INTERFACES] Tcl_CreateExitHandle error Thomas G. Lockhart <lockhart@alumni.caltech.edu>

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