[Xotcl] compilation problem

Bernd Eidenschink eidenschink at web.de
Thu Jul 20 09:24:56 CEST 2006


Hi!

I try to compile XOTcl 1.4.0 against Tcl 8.4.13 for using it with Naviserver 
(Head).

I do the usual 
./configure --enable-threads --prefix=/usr/local/ns

and after that, make, that barks:

[...]
./generic/xotcl.c: In function ‘AutonameIncr’:
./generic/xotcl.c:1718: warning: implicit declaration of 
function ‘TclIncrVar2’
./generic/xotcl.c:1718: warning: assignment makes pointer from integer without 
a cast
./generic/xotcl.c: In function ‘Xotcl_Init’:
./generic/xotcl.c:11310: warning: dereferencing type-punned pointer will break 
strict-aliasing rules

[...]
./generic/xotclStubLib.c: In function ‘Xotcl_InitStubs’:
./generic/xotclStubLib.c:67: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
rm -f libxotclstub1.4.0.a
ar cr libxotclstub1.4.0.a xotclStubLib.o
ranlib libxotclstub1.4.0.a
couldn't load file "././libxotcl1.4.0.so": ././libxotcl1.4.0.so: undefined 
symbol: TclIncrVar2
    while executing
"load ././libxotcl1.4.0.so XOTcl"
    ("package ifneeded XOTcl 1.4.0" script)
    invoked from within
"package require XOTcl"
    (file "./library/lib/makeDoc.xotcl" line 2)
make: *** [doc/langRef-xotcl.html] Fehler 1

I can't swear my build environment is sane as I did a lot of installs and 
tests these days, but I'll try everything you tell me...

Thanks,
Bernd.



More information about the Xotcl mailing list