Hi Rani Sorry for the delay.
> I use ActiveState Tcl 8.6 (latest on at this time of this writing it's > "ActiveTcl8.6.1.0.297577-linux-x86_64-threaded" > I have Apache 2 > I have installed debian package "libapr1-dev" installed . its version is > 1.4.6-3+deb7u1 to use in building.websh. > I have installed debian package "apache2-threaded-dev" , version > 2.2.22-13, to use with building websh. > > this is how I configured it: > > ./configure --with-tcl=/opt/ActiveTcl-8.6/lib/ > --with-tclinclude=/opt/ActiveTcl-8.6/include/ --enable-threads > --with-aprinclude=/usr/include/apr-1.0/ > > and finally after the command "make" i finally get: > > cc tclAppInit.o libwebsh3.6.0b5.so \ > -L/opt/ActiveTcl-8.6/lib -ltcl8.6 -L/opt/ActiveTcl-8.6/lib -ltclstub8.6 > -ldl -lz -lpthread -lieee -lm -Wl,--export-dynamic \ > -o websh3.6.0b5 > tclAppInit.o: In function `Tcl_AppInit': > /home/oracle/Downloads/websh-3.6.0b5/src/unix/../generic/tclAppInit.c:173: > undefined reference to `Websh_Init' > collect2: error: ld returned 1 exit status > make: *** [websh3.6.0b5] Error 1 > > Tell me please how this should patched or fixed. Thanks in advance. Your Tcl 8.6 tclConfig.sh (likely) comes with a TCL_EXTRA_CFLAGS=' -pipe -fvisibility=hidden ' This is inherited to the Websh config and I'd expect your Makefile to have the following line: TCL_EXTRA_CFLAGS=' -pipe -fvisibility=hidden ' Remove the visibility setting in your src/unix/Makefile like that: TCL_EXTRA_CFLAGS=' -pipe ' and your make should now work. hth Ronnie -- Ronnie Brunner | [email protected] | T +41 44 297 59 79 | Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.com | --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
