I have just downloaded Sybase's CT-Library for Linux.
I installed it into the directory "/usr/home/linux/sybase" and have
set the variable "SYBASE" to this directory and set "SYBASEPLATFORM"
to "linux" (as follows)
SYBASE=/usr/home/linux/sybase
SYBPLATFORM=linux
but wht I try to compile the ct-library examples I just get a whole
error messages of unresolved "ct_<name>" function (e.g. "ct_exit",
"ct_param").
I have done an "nm" on "libct.a" and they appear to be in there and
the makefile is linking them in, but they are just not being picked
up... anybody got any ideas ?
I tried a simple :-
cc rpc.o exutils.o /usr/home/linux/sybase/lib/libct.a -o rpc
but still got loads of "ct_<name>" functions missing...
partial extract
==============================================
rpc.o(.text+0x431): undefined reference to `ct_cmd_props'
rpc.o(.text+0x477): undefined reference to `ct_con_props'
rpc.o(.text+0x4c8): undefined reference to `cs_convert'
rpc.o(.text+0x508): undefined reference to `ct_command'
rpc.o(.text+0x597): undefined reference to `ct_param'
rpc.o(.text+0x611): undefined reference to `ct_param'
rpc.o(.text+0x691): undefined reference to `ct_param'
rpc.o(.text+0x711): undefined reference to `ct_param'
rpc.o(.text+0x789): undefined reference to `ct_param'
rpc.o(.text+0x7f9): more undefined references to `ct_param' follow
rpc.o(.text+0x909): undefined reference to `ct_cmd_alloc'
rpc.o(.text+0x965): undefined reference to `ct_send'
rpc.o(.text+0x999): undefined reference to `ct_results'
rpc.o(.text+0xaf5): undefined reference to `ct_res_info'
exutils.o(.text+0x428): undefined reference to `cs_will_convert'
exutils.o(.text+0x4fd): undefined reference to `cs_convert'
exutils.o(.text+0x834): undefined reference to `cs_ctx_alloc'
exutils.o(.text+0x869): undefined reference to `ct_init'
exutils.o(.text+0x88f): undefined reference to `cs_ctx_drop'
exutils.o(.text+0x8c8): undefined reference to `ct_callback'
exutils.o(.text+0x8ff): undefined reference to `ct_callback'
exutils.o(.text+0x93d): undefined reference to `ct_config'
exutils.o(.text+0x96e): undefined reference to `ct_exit'
exutils.o(.text+0x97c): undefined reference to `cs_ctx_drop'
exutils.o(.text+0x9bf): undefined reference to `ct_con_alloc'
exutils.o(.text+0xa12): undefined reference to `ct_con_props'
exutils.o(.text+0xa53): undefined reference to `ct_con_props'
exutils.o(.text+0xa94): undefined reference to `ct_con_props'
exutils.o(.text+0xae4): undefined reference to `ct_connect'
exutils.o(.text+0xb10): undefined reference to `ct_con_drop'
==============================================