freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Rafi Sheikh <Rafi.Sheikh AT Ingenix.com>
- To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] MSSQL on AIX 5.1
- Date: Tue, 29 Jun 2004 16:55:22 -0500
now we get this:
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-D_FREETDS_LIBRARY_SOURCE -DMSDBLIB -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -g -O2 -c
`test -f 'tsql.c' || echo './'`tsql.c
/bin/sh ../../libtool --mode=link gcc -g -O2 -o tsql tsql.o -lcurses
../tds/libtds.la -lc
mkdir .libs
gcc -g -O2 -o .libs/tsql tsql.o -lcurses -L../tds/.libs -ltds -liconv -lc
-Wl,-blibpath:/usr/local/lib:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/
2.9-aix51-020209:/usr/bin/../lib/gcc-lib:/opt/freeware/GNUPro/lib/gcc-lib/po
werpc-ibm-aix5.1.0.0/2.9-aix51-020209:/usr/bin/../lib/gcc-lib/powerpc-ibm-ai
x5.1.0.0/2.9-aix51-020209/../../..:/opt/freeware/GNUPro/lib/gcc-lib/powerpc-
ibm-aix5.1.0.0/2.9-aix51-020209/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .tds_submit_query
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_process_row_tokens
ld: 0711-317 ERROR: Undefined symbol: .tds_version
ld: 0711-317 ERROR: Undefined symbol: .tds_client_msg
ld: 0711-317 ERROR: Undefined symbol: .tds_process_result_tokens
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_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_connection
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-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make[2]: *** [tsql] Error 1
make[2]: Leaving directory `/install/freetds-0.63.dev.20040624/src/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/freetds-0.63.dev.20040624/src'
make: *** [all-recursive] Error 1
-----Original Message-----
From: Frediano Ziglio [mailto:freddyz77 AT tin.it]
Sent: Tuesday, June 29, 2004 11:51 AM
To: FreeTDS Development Group
Subject: RE: [freetds] MSSQL on AIX 5.1
Il mar, 2004-06-29 alle 18:27, Thompson, Bill D (London) ha scritto:
> Somehow you are jot picking up one of the FreeTDS libraries when you try
and
> build one of our executables - tsql.
>
> It's a bit difficult to see why as your setup is far from transparent:
>
> /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/../../.. ?
>
> I make that
>
> /usr/lib
>
> :-0
>
> Bill
However he has -L../tds/.libs -ltds, so libtds is searched from current
directory (correct to me) however linker do not finds libtds symbols.
You can note also that symbols are '.' prefixed... it can be a wrong
name mangling... what does nm returns ??
For example on my machine (Linux) I get
[freddy@freddy apps]$ nm ../tds/.libs/libtds.so | grep tds_ge
0000ef2c T tds_get_byte
0001df30 t tds_get_cardinal_type
0000f104 T tds_get_char_data
00016938 t tds_get_column_declaration
0001620c T tds_get_compiletime_settings
00010140 T tds_get_conversion_type
0000ab94 t tds_get_data
0000a44c t tds_get_data_info
0001809c T tds_get_dynid
0001bdbc T tds_get_homedir
0001472c t tds_get_home_file
0001bd44 T tds_gethostbyaddr_r
0001bd04 T tds_gethostbyname_r
00019a5c t tds_get_iconv_name
0000eff4 T tds_get_int
0001b784 T tds_get_locale
0001dd70 T tds_getmac
0000f208 T tds_get_n
0000ba50 T tds_get_null
000139dc T tds_get_null_type
0000ce08 T tds_get_parent
0001bd88 T tds_getservbyname_r
0000f2d0 T tds_get_size_by_type
0000efc8 T tds_get_smallint
0000f020 T tds_get_string
0000bf78 T tds_get_token_size
0001dfa0 t tds_get_varint_size
[freddy@freddy apps]$ nm /lib/libc.so.6 | grep strcp
00076700 t __GI_strcpy
00076700 T strcpy
0007c450 T __strcpy_g
0007cc80 T __strcpy_small
as you can note symbols doesn't have any mangling...
freddy77
> > -----Original Message-----
> > From: Rafi Sheikh [SMTP:Rafi.Sheikh AT Ingenix.com]
> > Sent: 29 June 2004 17:07
> > To: 'FreeTDS Development Group'
> > Subject: RE: [freetds] MSSQL on AIX 5.1
> >
> > Resending this again please if you don't mind, let me know what is wrong
> > here (Aix 5.1)
> > TIA
> >
> > -----Original Message-----
> > From: Rafi Sheikh
> > Sent: Monday, June 28, 2004 3:37 PM
> > To: 'FreeTDS Development Group'
> > Subject: RE: [freetds] MSSQL on AIX 5.1
> >
> >
> > Here is the error my unix admin got when trying ot install FreeTDS on
Aix
> > 5.1...any suggestions?
> >
> > TIA
> >
> > ---error starts here---
> > gcc -g -O2 -o .libs/tsql tsql.o -lcurses -L../tds/.libs -ltds -liconv
-lc
> >
-Wl,-blibpath:/usr/local/lib:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.
> > 0/
> >
2.9-aix51-020209:/usr/bin/../lib/gcc-lib:/opt/freeware/GNUPro/lib/gcc-lib/
> > po
> >
werpc-ibm-aix5.1.0.0/2.9-aix51-020209:/usr/bin/../lib/gcc-lib/powerpc-ibm-
> > ai
> >
x5.1.0.0/2.9-aix51-020209/../../..:/opt/freeware/GNUPro/lib/gcc-lib/powerp
> > c-
> > ibm-aix5.1.0.0/2.9-aix51-020209/../../..:/usr/lib:/lib
> > ld: 0711-317 ERROR: Undefined symbol: .tds_submit_query
> > 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_process_row_tokens
> > ld: 0711-317 ERROR: Undefined symbol: .tds_version
> > ld: 0711-317 ERROR: Undefined symbol: .tds_client_msg
> > ld: 0711-317 ERROR: Undefined symbol: .tds_process_result_tokens
> > 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_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_connection
> > 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-345 Use the -bloadmap or -bnoquiet option to obtain more
> > information.
> > collect2: ld returned 8 exit status
> > make: 1254-004 The error code from the last command is 1.
> >
> >
> > Stop.
> > make: 1254-004 The error code from the last command is 1.
> >
> >
> > Stop.
> > make: 1254-004 The error code from the last command is 1.
> >
> >
> > Stop.
> >
> >
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.
-
[freetds] MSSQL on AIX 5.1,
Rafi Sheikh, 06/28/2004
- <Possible follow-up(s)>
-
RE: [freetds] MSSQL on AIX 5.1,
Thompson, Bill D (London), 06/28/2004
- Re: [freetds] MSSQL on AIX 5.1, Martin Spott, 06/28/2004
- RE: [freetds] MSSQL on AIX 5.1, Rafi Sheikh, 06/28/2004
-
RE: [freetds] MSSQL on AIX 5.1,
Rafi Sheikh, 06/28/2004
- Re: [freetds] MSSQL on AIX 5.1, Daniel Fazekas, 06/28/2004
- RE: [freetds] MSSQL on AIX 5.1, Rafi Sheikh, 06/29/2004
-
RE: [freetds] MSSQL on AIX 5.1,
Thompson, Bill D (London), 06/29/2004
- RE: [freetds] MSSQL on AIX 5.1, Frediano Ziglio, 06/29/2004
- RE: [freetds] MSSQL on AIX 5.1, Rafi Sheikh, 06/29/2004
- RE: [freetds] MSSQL on AIX 5.1, Rafi Sheikh, 06/30/2004
- RE: [freetds] MSSQL on AIX 5.1, ZIGLIO, Frediano, VF-IT, 06/30/2004
-
RE: [freetds] MSSQL on AIX 5.1,
Rafi Sheikh, 06/30/2004
- RE: [freetds] MSSQL on AIX 5.1, Frediano Ziglio, 06/30/2004
- RE: [freetds] MSSQL on AIX 5.1, brian, 06/30/2004
Archive powered by MHonArc 2.6.24.