On 08/30/2013 10:12 AM, Zbigniew Diaczyszyn wrote:
> I tried to create an extension with the following parameters:
>
> gcc -Wall -shared -fPIC -I ~/Programme/Active-Tcl-8.5/include/ -L ~/Programme/Active-Tcl-8.5/lib/ -ltclstub8.5 -o twofish.so twofish2tcl.c -DUSE_TCL_STUBS
>
The order of the gcc arguments is important. Try:
gcc -Wall -shared -fPIC -DUSE_TCL_STUBS -I
~/Programme/Active-Tcl-8.5/include/ -o twofish.so twofish2tcl.c -L
~/Programme/Active-Tcl-8.5/lib/ -ltclstub8.5
Schelte.