Skip to Content.
Sympa Menu

freetds - [freetds] Build fails for tsql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jason Signalness <jason AT btiadmin.net>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Build fails for tsql
  • Date: Thu, 02 Dec 2004 11:34:19 -0600

Hello,

I'm trying to build the CVS version (freetds-0.64.dev.20041202) or the stable version (freetds-0.62.4) on Solaris 9 using gcc, and it seems to be failing on make for the "apps" target (same error for both). I was wondering if anyone out there could lend me a hand.

I didn't see any warnings or errors during configure or make until this:

Making all in apps
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -g -O2 -MT tsql.o -MD -MP -MF
".deps/tsql.Tpo" \
-c -o tsql.o `test -f 'tsql.c' || echo './'`tsql.c; \
then mv ".deps/tsql.Tpo" ".deps/tsql.Po"; \
else rm -f ".deps/tsql.Tpo"; exit 1; \
fi
/bin/bash ../../libtool --mode=link gcc -g -O2 -o tsql tsql.o -lcurses ../tds/libtds.la -lnsl -lsocket mkdir .libs
gcc -g -O2 -o .libs/tsql tsql.o -lcurses ../tds/.libs/libtds.so
/usr/local/lib/libiconv.so -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib
-lnsl -lsocket -R/opt/share/scada/freetds/lib -R/usr/local/lib
Undefined first referenced
symbol in file
tds_set_interfaces_file_loc tsql.o
tds_submit_query tsql.o
tds_process_result_tokens tsql.o
tds_client_msg tsql.o
tds_alloc_login tsql.o
tds_alloc_context tsql.o
tds_set_language tsql.o
tds_free_login tsql.o
tds_alloc_socket tsql.o
tds_get_compiletime_settings tsql.o
tds_set_app tsql.o
tds_convert tsql.o
tds_connect tsql.o
tds_process_row_tokens tsql.o
tds_set_user tsql.o
tds_set_port tsql.o
tds_get_null tsql.o
tds_set_library tsql.o
tds_read_config_info tsql.o
tds_version tsql.o
tds_set_server tsql.o
tds_set_client_charset tsql.o
tds_free_context tsql.o
tds_free_connect tsql.o
tds_set_parent tsql.o
tds_set_passwd tsql.o
tds_get_conversion_type tsql.o
tds_free_socket tsql.o
ld: fatal: Symbol referencing errors. No output written to .libs/tsql
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `tsql'
Current working directory
/export/home/btinet.net/jsignalness/freetds-0.62.4/src/apps
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/export/home/btinet.net/jsignalness/freetds-0.62.4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Any hints? Thanks in advance,
Jason





Archive powered by MHonArc 2.6.24.

Top of Page