Sybase's "CT-Library" on Linux

Sybase's "CT-Library" on Linux

Post by James Steve » Wed, 26 Mar 1997 04:00:00



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'
==============================================

 
 
 

Sybase's "CT-Library" on Linux

Post by Wouter Vissch » Wed, 26 Mar 1997 04:00:00



>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...

The library is in a.out format, NOT ELF, make for an a.out type executable
see the ELF-howto

Wouter

#include <stddisclaimer.h>       This might not be the view of my employer.

 
 
 

1. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

My machine: P166+mmx, 32mb ram, 4gb HD with Win95 and Win NT 4.0 and
redhat5.1 co-existed in different partitions.

I issued "sndconfig" within a xterm inside X Window, The program
detects the SB 16 pnp card sets it up with no error message, but when
it launch ModProbe to test out, it gets a message states: An error was
encountered running the ModProbe program."  I tried different IRQ
settings, all ends with the same message.

2nd, When I try to mount /dev/cdrom from File Systerm Manager, the
following error is returned:  Can't find /dev/hdb in /etc/mtab or
/etc/fstab.

3nd, When my machine boots, it halts at "Sendmail" for about 3-5 mins
before it goes to next step.  Obviously there isn't any mail system on
the machine right now because it is a standalone.  How can take this
mail thing out and speed up booting?

last one, Is my Zoom 56k PCI FaxModem a Windmodem that Linux can't use
to connect me to my local isp?

Experts help me out please. thanks.

2. Help! How to make BSD boot-cd

3. GETSERVBYNAME()????????????????????"""""""""""""

4. Installing Apache::ASP module on Apache on solaris

5. Shared Libraries: what is the linux equivalent of "dllimport" and "dllexport"

6. permission for individual commands

7. Sybase for Linux: where's the "pubs2" sample database?

8. Novis UNIX user's question

9. Why it's call "Linux" and not "GNU/Linux"

10. Why doesn't echo "text" 'command' "more text" work?

11. Type "(", ")" and "{", "}" in X...

12. WHY 'exec "$REALFILE" ${1+"$@"}'