[Xotcl] compilation problem

Gustaf Neumann neumann at wu-wien.ac.at
Thu Jul 20 10:27:16 CEST 2006


Bernd,

to be sure, i just built xotcl 1.4.0 against 8.4.13, and it worked 
without a glitch.
Can it be that configure picks up a wrong version of tcl? The function 
TclIncrVar2
has its prototype in tclIntDecls.h, which does not seem to be used in 
your case
(... implicit declaration ...)

To be sure, use the switches like in:

    http://www.openacs.org/xowiki/pages/en/xotcl-core#install

if this does not help, what is your build environment (OS and cc)?

-gustaf

Bernd Eidenschink schrieb:
> 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.
>
> _______________________________________________
> Xotcl mailing list
> Xotcl at alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
>   



More information about the Xotcl mailing list