Issues complining packages with 8.6 - Stub Issues

Posted by moegarcia on 2011-04-21 20:00

This is one example of trying to compile packages using ActiveState 8.6. and getting stub errors.

Google was not much help...

MySQLTCL Package

Not sure what is going on???

Any help??

[root@dama mysqltcl-3.05]# make
gcc -pipe -DPACKAGE_NAME=\"mysqltcl\" -DPACKAGE_TARNAME=\"mysqltcl\" -DPACKAGE_VERSION=\"3.05\" -DPACKAGE_STRING=\"mysqltcl\ 3.05\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"/opt/tcl_Library/include" -I/usr/include/mysql -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/mysqltcl.c` -o mysqltcl.o
./generic/mysqltcl.c: In function ‘MysqlHandleSet’:
./generic/mysqltcl.c:155: warning: initialization discards qualifiers from pointer target type
./generic/mysqltcl.c: In function ‘MysqlNullSet’:
./generic/mysqltcl.c:187: warning: initialization discards qualifiers from pointer target type
rm -f libmysqltcl3.05.so
gcc -pipe -shared -o libmysqltcl3.05.so mysqltcl.o -L/opt/tcl_Library/lib -ltclstub8.6 -L/usr/lib/mysql -lmysqlclient
/usr/bin/ld: skipping incompatible /opt/tcl_Library/lib/libtclstub8.6.a when searching for -ltclstub8.6
/usr/bin/ld: cannot find -ltclstub8.6
collect2: ld returned 1 exit status
make: *** [libmysqltcl3.05.so] Error 1

jeffh
ActiveState Staff
Tue, 2011-05-03 13:16

The error looks like it is an incompatibility at some other level, and has nothing to do with stubs in particular. Perhaps you are mixing 32- and 64-bit components?