Skip to Content.
Sympa Menu

freetds - [freetds] Problem compiling on AIX 4.3.3.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "WATTS, RANDY (SBCSI)" <ww1232 AT sbc.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Problem compiling on AIX 4.3.3.0
  • Date: Fri, 17 Sep 2004 15:31:00 -0700

James,

Thanks for the pointers.
The libtds.exp was being created but all the "T" files in
libtds_objects.a were .File_name files.
So I modifed tha awk line and removed the the substr entry which didn't
seem to make any difference.

I then discovered another thread out on the net reagarding compile
problems with apache on AIX and
it mentioned adding the -bexpall option to ld. This option "exports all
symbols".
That got me past past this error but then thing bombed out farther down
the line.

The error I am now getting apprears to be identical to the error someone
was getting in the
"MSSQL on AIX" thread. Last date was 6/30/2004. It doesn't look that
problem has been resolved or the
answer wasn't posted.

Looks to be another linker issue.

Here is the error I'm getting now:

Target "all-am" is up to date.
Target "all" is up to date.
Making all in apps
source='tsql.c' object='tsql.o' libtool=no
depfile='.deps/tsql.Po' tmpdepfile='.deps/tsql.TPo' depmode=aix /bi
n/sh ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -
g -c `test -f 'tsql.c' || echo './'`tsql.c
/bin/sh ../../libtool --mode=link cc -g -o tsql tsql.o
-lcurses ../tds/libtds.la
mkdir .libs
cc -g -o .libs/tsql tsql.o -lcurses -L../tds/.libs -ltds -liconv
-Wl,-blibpath:/usr/local/lib:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .tds_alloc_login
ld: 0711-317 ERROR: Undefined symbol: .tds_alloc_context
ld: 0711-317 ERROR: Undefined symbol: .tds_alloc_socket
ld: 0711-317 ERROR: Undefined symbol: .tds_set_parent
ld: 0711-317 ERROR: Undefined symbol: .tds_read_config_info
ld: 0711-317 ERROR: Undefined symbol: .tds_connect
ld: 0711-317 ERROR: Undefined symbol: .tds_free_connect
ld: 0711-317 ERROR: Undefined symbol: .tds_version
ld: 0711-317 ERROR: Undefined symbol: .tds_free_socket
ld: 0711-317 ERROR: Undefined symbol: .tds_free_login
ld: 0711-317 ERROR: Undefined symbol: .tds_free_context
ld: 0711-317 ERROR: Undefined symbol: .tds_get_compiletime_settings
ld: 0711-317 ERROR: Undefined symbol: .tds_set_user
ld: 0711-317 ERROR: Undefined symbol: .tds_set_app
ld: 0711-317 ERROR: Undefined symbol: .tds_set_library
ld: 0711-317 ERROR: Undefined symbol: .tds_set_server
ld: 0711-317 ERROR: Undefined symbol: .tds_set_client_charset
ld: 0711-317 ERROR: Undefined symbol: .tds_set_language
ld: 0711-317 ERROR: Undefined symbol: .tds_set_passwd
ld: 0711-317 ERROR: Undefined symbol: .tds_set_interfaces_file_loc
ld: 0711-317 ERROR: Undefined symbol: .tds_set_port
ld: 0711-317 ERROR: Undefined symbol: .tds_submit_query
ld: 0711-317 ERROR: Undefined symbol: .tds_process_result_tokens
ld: 0711-317 ERROR: Undefined symbol: .tds_process_row_tokens
ld: 0711-317 ERROR: Undefined symbol: .tds_get_null
ld: 0711-317 ERROR: Undefined symbol: .tds_get_conversion_type
ld: 0711-317 ERROR: Undefined symbol: .tds_convert
ld: 0711-317 ERROR: Undefined symbol: .tds_client_msg
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.






Archive powered by MHonArc 2.6.24.

Top of Page