Skip to Content.
Sympa Menu

freetds - RE: [freetds] compiler and install errors on IRIX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: <ml AT freetds.org>
  • Cc:
  • Subject: RE: [freetds] compiler and install errors on IRIX
  • Date: Thu, 17 Feb 2005 11:24:24 -0500

> From: Joerg Behrens
> Sent: Thursday, February 17, 2005 10:03 AM
>
> i have some problems with freetds-0.63rc10. on latest irix 6.5.27.
>
> One unresolve symbol 'basename' which is easy to fix.

Hmm. I guess we need further autoconf testing to discover the location
of basename. Thanks for point that out.

(I somethimes employ functions in src/apps that aren't used in the main
libraries. regex(3) is another example. I think the applications --
certainly defncopy -- are expendable, so it's a good place to experiment
with portability.)

Reformatting your listing:

: /bin/sh ../../mkinstalldirs /usr/nekoware-build/lib
: /bin/sh ../../libtool --mode=install /usr/nekoware/bin/install -c
libtds.la /usr/nekoware-build/lib/libtds.la
: libtool: install: warning: relinking `libtds.la'
: (cd /usr2/MIPS/freetds-0.63RC10/src/tds; \
: /bin/sh ../../libtool --mode=relink \
: cc -g -L/usr/nekoware/lib \
: -rpath /usr/nekoware-build/lib -lgen \
: -L/usr/nekoware/lib -o libtds.la \
: -rpath /usr/nekoware-build/lib \
: -version-info 4:0:0 \
: -export-symbols-regex
"^(tds_|tdsdump_|tds5_|tds7_).*" \
: libtds_objects.la \
: ../replacements/libreplacements.la \
: -L/usr/nekoware/lib -liconv -lc )
:
: generating symbol list for `libtds.la'
:
: /usr/bin/nm -B | sed -n -e \
----> ^ problem is here
: *[ ]\([BCDEGRST][BCDEGRST]*\)[ ][
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' |
: /usr/nekoware/bin/sed 's/.* //' | sort | uniq > .libs/libtds.exp
: Usage: /usr/bin/nm [-bdefghlnopruvxABCTVPt:] file(s) ...
: [-b Print the value field in octal]
: [-d print the value field in decimal]
: [-e print only external or static symbols (ignored)]

nm(1) isn't being passed a library name. Maybe libtool is being
surprised by the IRIS /bin/sh, which is known to be shy about exporting
environment variables.

In any case, try eliminating the '-export-symbols-regex
"^(tds_|tdsdump_|tds5_|tds7_).*"' option.

Even before you do that, did you try "make clean; make" after you added
-lgen? I wonder why libtool is relinking. Maybe a clean build doesn't
trip the bug.

--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