Skip to Content.
Sympa Menu

freetds - [freetds] compiler and install errors on IRIX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Joerg Behrens" <behrens AT takenet.de>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] compiler and install errors on IRIX
  • Date: Thu, 17 Feb 2005 16:02:53 +0100

Hello,

i have some problems with freetds-0.63rc10. on latest irix 6.5.27.

One unresolve symbol 'basename' which is easy to fix.

/bin/sh ../../libtool --mode=link cc -g -L/usr/nekoware/lib
-L/usr/nekoware/lib -o defncopy
defncopy.o ../dblib/libsybdb.la -lc
cc -g -o .libs/defncopy defncopy.o -L/usr/nekoware/lib
../dblib/.libs/libsybdb.so
/usr/nekoware/lib/libiconv.so -L/usr/lib32 -lc -Wl,-rpath
-Wl,/usr/nekoware-build/lib:/usr/nekoware/
lib
ld32: ERROR 33 : Unresolved text symbol "basename" -- 1st referenced by
defncopy.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: INFO 152: Output file removed because of error.

basename is defined in libgen.so so i add -lgen to the end of the line.

o2k]:/usr2/MIPS/freetds-0.63RC10 $ nm /usr/lib32/libc.so | grep '|basename'
[8521] | 262964992| 64|STAT |LOCL |DEFAULT |MIPS_TEXT|basename
[o2k]:/usr2/MIPS/freetds-0.63RC10 $ nm /usr/lib32/libgen.so | grep '|basename'
[33] | 261171776| 196|FUNC |WEAK |DEFAULT |MIPS_TEXT|basename


after fixing that

/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
*[ ]\([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)]
[-f produce full output (ignored)]
[-g print globally visible names]
[-h suppress printing of headings]
[-l produce longer listing of -p output]
[-n sort external symbols by name]
[-o print value and size in octal
[ (after -B means prefix with file name)
[-p produce terse, easily parsable output]
[-r prepend object or archive filename to symbol name]
[-u print only undefined symbols]
[-v sort external symbols by value]
[-x print value and size in hex]
[-B Use Berkeley (4.3BSD) format output]
[-C print decoded C++ names]
[-T truncate names that over flow column width (ignored)]
[-V print version information]
[-P prints information in an XPG4 portable format]
[-A effect depends if XPG4 or not]
[-td The offset is written in decimal]
[-to The offset is written in octal]
[-tx The offset is written in hex]
grep -E -e "^(tds_|tdsdump_|tds5_|tds7_).*" ".libs/libtds.exp" >
".libs/libtds.expT"
mv -f ".libs/libtds.expT" ".libs/libtds.exp"
mv: cannot stat `libtds.so.5.0': No such file or directory
libtool: install: error: relink `libtds.la' with the above command before
installing it
gmake[4]: *** [install-libLTLIBRARIES] Error 1
gmake[4]: Leaving directory `/raids/strip2/MIPS/freetds-0.63RC10/src/tds'

i hope someone can help me with this.

regards
Joerg














Archive powered by MHonArc 2.6.24.

Top of Page