Compiling problems xisql with linux debian 1.3.1 
Author Message
 Compiling problems xisql with linux debian 1.3.1

This is a multi-part message in MIME format.
--------------CA5B80ACF05980D47190DC3C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi all.

I have hard problems when i try compiling xisql.
My OS ix linux 2.0.29, gcc version 2.7.2.1.
I had installed ct libraries in /sybase directory, variable SYBASE is
/sybase.
DSQUERYenvironment variable is properly configured.

When run make there produced the following errors:

Any ideas

Thanks in advance

--------------CA5B80ACF05980D47190DC3C
Content-Type: text/plain; charset=us-ascii; name="errors"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="errors"

/usr/bin/cc  xisql.o window.o win_dbg.o win_lang.o win_msg.o win_cap.o win_cmd.o win_con.o win_cur.o win_dyn.o win_opt.o win_prop.o win_res.o win_rpc.o cm.o cm_cb.o cm_cap.o cm_cur.o cm_disp.o cm_dyn.o cm_lang.o cm_opt.o cm_prop.o cm_res.o cm_rpc.o util.o -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lXext -lm -L/sybase/lib -lct -lcs -lcomn -lsybtcl -linsck -lintl -o xisql
cm.o: In function `cm_init':
/xisql/xisql/cm.c:89: undefined reference to `cs_ctx_alloc'
/xisql/xisql/cm.c:97: undefined reference to `ct_init'
/xisql/xisql/cm.c:111: undefined reference to `ct_config'
/xisql/xisql/cm.c:121: undefined reference to `ct_callback'
/xisql/xisql/cm.c:126: undefined reference to `ct_callback'
/xisql/xisql/cm.c:131: undefined reference to `ct_callback'
/xisql/xisql/cm.c:151: undefined reference to `ct_con_alloc'
cm.o: In function `cm_connect':
/xisql/xisql/cm.c:172: undefined reference to `ct_con_props'
/xisql/xisql/cm.c:178: undefined reference to `ct_con_props'
/xisql/xisql/cm.c:185: undefined reference to `ct_con_props'
/xisql/xisql/cm.c:191: undefined reference to `ct_connect'
cm.o: In function `cm_close':
/xisql/xisql/cm.c:216: undefined reference to `ct_close'
cm.o: In function `cm_exit':
/xisql/xisql/cm.c:232: undefined reference to `ct_con_drop'
/xisql/xisql/cm.c:237: undefined reference to `ct_exit'
/xisql/xisql/cm.c:242: undefined reference to `cs_ctx_drop'
cm_cb.o: In function `cm_msg_handler':
/xisql/xisql/cm_cb.c:126: undefined reference to `ct_con_props'
cm_cb.o: In function `cm_notif_handler':
/xisql/xisql/cm_cb.c:157: undefined reference to `ct_con_props'
cm_cap.o: In function `cm_cap':
/xisql/xisql/cm_cap.c:54: undefined reference to `ct_capability'
cm_cur.o: In function `cm_cursor':
/xisql/xisql/cm_cur.c:176: undefined reference to `ct_dynamic'
/xisql/xisql/cm_cur.c:182: undefined reference to `ct_cursor'
/xisql/xisql/cm_cur.c:222: undefined reference to `ct_param'
/xisql/xisql/cm_cur.c:239: undefined reference to `ct_send'
/xisql/xisql/cm_cur.c:247: undefined reference to `ct_results'
cm_cur.o: In function `cm_cursor_finish':
/xisql/xisql/cm_cur.c:358: undefined reference to `ct_cmd_drop'
cm_cur.o: In function `cm_cursor_fetch':
/xisql/xisql/cm_cur.c:404: undefined reference to `ct_res_info'
/xisql/xisql/cm_cur.c:427: undefined reference to `ct_describe'
/xisql/xisql/cm_cur.c:447: undefined reference to `ct_bind'
/xisql/xisql/cm_cur.c:458: undefined reference to `ct_fetch'
cm_cur.o: In function `cm_get_cursor_cmd':
/xisql/xisql/cm_cur.c:542: undefined reference to `ct_cmd_alloc'
cm_disp.o: In function `cm_display_data':
/xisql/xisql/cm_disp.c:204: undefined reference to `cs_will_convert'
/xisql/xisql/cm_disp.c:214: undefined reference to `cs_convert'
cm_dyn.o: In function `cm_dynamic':
/xisql/xisql/cm_dyn.c:128: undefined reference to `ct_dynamic'
/xisql/xisql/cm_dyn.c:148: undefined reference to `cs_convert'
/xisql/xisql/cm_dyn.c:154: undefined reference to `ct_param'
/xisql/xisql/cm_dyn.c:164: undefined reference to `ct_send'
cm_dyn.o: In function `cm_dynamic_finish':
/xisql/xisql/cm_dyn.c:204: undefined reference to `ct_cmd_drop'
cm_dyn.o: In function `cm_get_dynamic_cmd':
/xisql/xisql/cm_dyn.c:261: undefined reference to `ct_cmd_alloc'
cm_lang.o: In function `cm_lang':
/xisql/xisql/cm_lang.c:74: undefined reference to `ct_cmd_alloc'
/xisql/xisql/cm_lang.c:82: undefined reference to `ct_command'
/xisql/xisql/cm_lang.c:104: undefined reference to `cs_convert'
/xisql/xisql/cm_lang.c:109: undefined reference to `ct_param'
/xisql/xisql/cm_lang.c:119: undefined reference to `ct_send'
/xisql/xisql/cm_lang.c:126: undefined reference to `ct_cmd_drop'
cm_opt.o: In function `cm_opt':
/xisql/xisql/cm_opt.c:95: undefined reference to `ct_options'
cm_prop.o: In function `cm_prop':
/xisql/xisql/cm_prop.c:58: undefined reference to `ct_config'
/xisql/xisql/cm_prop.c:69: undefined reference to `ct_con_props'
cm_res.o: In function `cm_browse':
/xisql/xisql/cm_res.c:103: undefined reference to `ct_res_info'
/xisql/xisql/cm_res.c:121: undefined reference to `ct_br_column'
/xisql/xisql/cm_res.c:145: undefined reference to `ct_br_table'
/xisql/xisql/cm_res.c:153: undefined reference to `ct_br_table'
/xisql/xisql/cm_res.c:159: undefined reference to `ct_br_table'
cm_res.o: In function `cm_do_status':
/xisql/xisql/cm_res.c:195: undefined reference to `ct_bind'
/xisql/xisql/cm_res.c:201: undefined reference to `ct_fetch'
cm_res.o: In function `cm_fetch':
/xisql/xisql/cm_res.c:261: undefined reference to `ct_res_info'
/xisql/xisql/cm_res.c:284: undefined reference to `ct_describe'
/xisql/xisql/cm_res.c:304: undefined reference to `ct_bind'
/xisql/xisql/cm_res.c:317: undefined reference to `ct_fetch'
cm_res.o: In function `cm_print_fmt':
/xisql/xisql/cm_res.c:390: undefined reference to `ct_res_info'
/xisql/xisql/cm_res.c:397: undefined reference to `ct_describe'
cm_res.o: In function `cm_print_msg':
/xisql/xisql/cm_res.c:456: undefined reference to `ct_res_info'
cm_res.o: In function `cm_results':
/xisql/xisql/cm_res.c:484: undefined reference to `ct_results'
cm_res.o: In function `cm_cancel':
/xisql/xisql/cm_res.c:611: undefined reference to `ct_cancel'
/xisql/xisql/cm_res.c:619: undefined reference to `ct_cancel'
cm_rpc.o: In function `cm_rpc':
/xisql/xisql/cm_rpc.c:122: undefined reference to `ct_cmd_alloc'
/xisql/xisql/cm_rpc.c:130: undefined reference to `ct_command'
/xisql/xisql/cm_rpc.c:167: undefined reference to `cs_convert'
/xisql/xisql/cm_rpc.c:179: undefined reference to `cs_convert'
/xisql/xisql/cm_rpc.c:187: undefined reference to `ct_param'
/xisql/xisql/cm_rpc.c:196: undefined reference to `ct_send'
/xisql/xisql/cm_rpc.c:203: undefined reference to `ct_cmd_drop'
make: *** [xisql] Error 1

--------------CA5B80ACF05980D47190DC3C--



Tue, 11 Apr 2000 03:00:00 GMT
 Compiling problems xisql with linux debian 1.3.1

Quote:
> I have hard problems when i try compiling xisql.
> My OS ix linux 2.0.29, gcc version 2.7.2.1.
> I had installed ct libraries in /sybase directory, variable SYBASE is
> /sybase.
> DSQUERYenvironment variable is properly configured.

> When run make there produced the following errors:

> Any ideas

> Thanks in advance

Julian,
  I have a similiar setup to yours ( Slackware 3.2, 2.0.29, gcc 2.7.2.1)
and am having the same problems getting sybperl to compile.  This is
what
I have found out:
  1) There are two versions of the sybase libraries
     A) a.out format published by Sybase a long time ago.
     B) ELF format - a translated version of the a.out format.
     ( see the sybase faq Q9.17 )

  2) Running nm -s libct.a produces proper names for the a.out format
  3) Running nm -s libct.a produces 'File format not recognized' for the
ELF libraries.

It looks like linux does not recognize the ELF libaries.

Rich More



Thu, 13 Apr 2000 02:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Oracle Compile err 8.0.5 Debian Linux - libctl.so needed

2. Debian compile problem

3. sqsh1.7/readline compiling problems on debian 2.1

4. Missing libdb-3.1 DB2 Linux V7.2 OS Linux Debian

5. Problems with the installation of Oracle 8i on Debian GNU/Linux

6. Problems with Oracle9i on Debian linux

7. Form/Report 6i install problem under Debian/Linux

8. Q: Trouble with xisql for OpenClient for Linux

9. stupid patches to compile cvs docs with debian

10. stupid patches to compile cvs docs with debian

11. interfaces/libpqxx debian/.cvsignore debian/li ...

12. Installing Oracle On Debian Linux


 
Powered by phpBB® Forum Software