Skip to Content.
Sympa Menu

freetds - RE: [freetds] Problem compiling on AIX 4.3.3.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Problem compiling on AIX 4.3.3.0
  • Date: Mon, 20 Sep 2004 10:16:31 -0400

-----Original Message-----
From: WATTS, RANDY (SBCSI)
Sent: Friday, September 17, 2004 6:31 PM

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-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
----- END -----

Hi Randy,

Looks like progress, but there's still some disagreement between the
library symbol list and what the compiler wants the linker to import.
What does "nm libtds.so.3.0 |grep tds_alloc_login" tell you? Is there a
".tds_alloc_login", or is it perhaps missing that leading dot? Are
"-bloadmap or -bnoquiet" of any use?

All this option twiddling is just what libtool was invented to avoid, of
course. Once you find the right settings, I'll add it to the
documentation, so maybe the next VisualAge C++ version 5 guy will have
an easier time. At least until we upgrade our libtool, that is.

HTH.

--jkl


-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.
If you, as the intended recipient of this message, the purpose of which is to
inform and update our clients, prospects and consultants of developments
relating to our services and products, would not like to receive further
e-mail correspondence from the sender, please "reply" to the sender
indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York,
NY 10105.






Archive powered by MHonArc 2.6.24.

Top of Page