Skip to Content.
Sympa Menu

freetds - Segmentation fault

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Joe" <harfranks AT yahoo.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Segmentation fault
  • Date: Fri, 10 Aug 2001 17:24:45 -0400


I am receiving a seg failure with sybperl that Michael Peppler says is in
FreeTDS. I have compiled freetds but the make test hangs on Ctlib...
TDS works fine but the rest dont...

if someone could help me fix this or get me some examples of a C file for
TDS that would be usefull.

make check
make check-recursive
Making check in include
make
Making check in src
make check-recursive
Making check in tds
make check-recursive
Making check in unittests
make check-TESTS
t0001.c: Testing login, logout
PASS: t0001
t0002.c: Test basic submit query, results
col 0 is ggausta
col 1 is ggausta
PASS: t0002
t0003.c: Testing DB change -- 'use tempdb'
PASS: t0003
t0004.c: Test large (>512 bytes) queries
PASS: t0004
t0005.c: Test large (>512 bytes) replies
PASS: t0005
t0006.c: Test SYBREAL, SYBFLT8 values
PASS: t0006
==================
All 6 tests passed
==================
Making check in ctlib
make check-recursive
Making check in unittests
/bin/sh ../../../libtool --mode=link gcc -g -O2 -DTDS42 -o t0001 t0001.o
commo
n.o ../libct.la -lsocket
gcc -g -O2 -DTDS42 -o .libs/t0001 t0001.o common.o ../.libs/libct.so
-lsocket -R
/home/top/hfranks/hfranks2/hfranks1/lib
Undefined first referenced
symbol in file
tds_alloc_login ../.libs/libct.so
tds_process_result_tokens ../.libs/libct.so
tds_get_null ../.libs/libct.so
tds_set_charset ../.libs/libct.so
tds_set_bulk ../.libs/libct.so
tds_connect ../.libs/libct.so
tds_submit_query ../.libs/libct.so
g_tds_err_handler ../.libs/libct.so
tds_get_conversion_type ../.libs/libct.so
tds_free_results ../.libs/libct.so
tds_set_version ../.libs/libct.so
tds_set_parent ../.libs/libct.so
tds_process_cancel ../.libs/libct.so
tds_set_packet ../.libs/libct.so
tds_set_app ../.libs/libct.so
tds_convert ../.libs/libct.so
tds_set_library ../.libs/libct.so
tds_set_passwd ../.libs/libct.so
tds_free_socket ../.libs/libct.so
tds_set_user ../.libs/libct.so
tds_set_server ../.libs/libct.so
tds_free_login ../.libs/libct.so
tdsdump_log ../.libs/libct.so
tds_send_cancel ../.libs/libct.so
g_tds_msg_handler ../.libs/libct.so
tds_process_row_tokens ../.libs/libct.so
ld: fatal: Symbol referencing errors. No output written to .libs/t0001
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `t0001'
Current working directory
/home/top/hfranks/hfranks2/hfranks1/freetds-0.51/src/c
tlib/unittests
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
Current working directory
/home/top/hfranks/hfranks2/hfranks1/freetds-0.51/src/c
tlib
*** Error code 1
make: Fatal error: Command failed for target `check'
Current working directory
/home/top/hfranks/hfranks2/hfranks1/freetds-0.51/src/c
tlib
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
Current working directory
/home/top/hfranks/hfranks2/hfranks1/freetds-0.51/src
*** Error code 1
make: Fatal error: Command failed for target `check'
Current working directory
/home/top/hfranks/hfranks2/hfranks1/freetds-0.51/src
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
Current working directory /home/top/hfranks/hfranks2/hfranks1/freetds-0.51
*** Error code 1
make: Fatal error: Command failed for target `check'



  • Segmentation fault, Joe, 08/10/2001

Archive powered by MHonArc 2.6.24.

Top of Page