freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- 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: Fri, 17 Sep 2004 12:07:18 -0400
----Original Message-----
From: WATTS, RANDY (SBCSI)
Sent: Thursday, September 16, 2004 8:39 PM
I am unable to compile freeTDS on AIX.
I can get things up and running fine on Solaris and Linux ok but no go
on AIX. I am a newbie to the AIX environment. Any help would be
appreciated.
...
freetds-0.62.4
AIX 4.3.3.0
VisualAge C++ compiler version 5
No configure options at all . Just using defaults.
...
generating symbol list for `libtds.la'
/usr/bin/nm -B -BCpg ./.libs/libtds_objects.a
../replacements/.libs/libreplacements.a | awk '{ if ((($2 == "T") || ($2
== "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' |
sort -u > .libs/libtds.expcc -Wl,-bM:SRE -o .libs/libtds.so.3 -liconv
-lc
-Wl,-bE:.libs/libtds.exp -Wl,-bnoentry ${wl}-berok
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
----End Original Message-----
I've never used AIX either, so I can't help much, except to send you
back the man pages for ld(1) and nm(1). It looks like this line is not
doing what you want:
/usr/bin/nm -B -BCpg \
./.libs/libtds_objects.a \
../replacements/.libs/libreplacements.a \
| awk '{ if ((($2 == "T") \
|| ($2 == "D") \
|| ($2 == "B")) \
&& (substr($3,1,1) != ".")) \
{ print $3 } }' \
| sort -u \
> .libs/libtds.exp
I'd look at libtds.exp (is it empty?), and try adjusting either the awk
filter or the nm(1) options. I would imagine it should include lines
something like these:
$ nm .libs/libtds_objects.a |grep T | awk '{ print $3 }' |head
tds_alloc_bcp_column_data
tds_alloc_client_sqlstate
tds_alloc_compute_results
tds_alloc_compute_row
tds_alloc_connection
tds_alloc_context
tds_alloc_cursor
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.
-
[freetds] Problem compiling on AIX 4.3.3.0,
WATTS, RANDY (SBCSI), 09/16/2004
-
Re: [freetds] Problem compiling on AIX 4.3.3.0,
Martin Spott, 09/20/2004
- Re: [freetds] Problem compiling on AIX 4.3.3.0, Chris Eleveld, 09/20/2004
- <Possible follow-up(s)>
- RE: [freetds] Problem compiling on AIX 4.3.3.0, Lowden, James K, 09/17/2004
- [freetds] Problem compiling on AIX 4.3.3.0, WATTS, RANDY (SBCSI), 09/17/2004
- RE: [freetds] Problem compiling on AIX 4.3.3.0, Lowden, James K, 09/20/2004
- FW: [freetds] Problem compiling on AIX 4.3.3.0, WATTS, RANDY (SBCSI), 09/20/2004
-
RE: [freetds] Problem compiling on AIX 4.3.3.0,
Lowden, James K, 09/20/2004
- RE: [freetds] Problem compiling on AIX 4.3.3.0, Chris Eleveld, 09/20/2004
- RE: [freetds] Problem compiling on AIX 4.3.3.0, WATTS, RANDY (SBCSI), 09/20/2004
- RE: [freetds] Problem compiling on AIX 4.3.3.0, ZIGLIO, Frediano, VF-IT, 09/21/2004
- RE: [freetds] Problem compiling on AIX 4.3.3.0, Lowden, James K, 09/21/2004
-
Re: [freetds] Problem compiling on AIX 4.3.3.0,
Martin Spott, 09/20/2004
Archive powered by MHonArc 2.6.24.