Skip to Content.
Sympa Menu

freetds - RE: [freetds] freetds on solaris 9

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Зверев Виталий Борисович <VZverev AT genesis.spb.ru>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] freetds on solaris 9
  • Date: Wed, 17 Sep 2003 17:23:52 +0400

Hi Allan!

Freetds worked like a sharm in 64 bit mode under SPARC Solaris (I have
Freetds 5.2 & Solaris 8) .
You should use GCC 3.* with fresh binutils (both available on
sunfreeware.com) & may see the sample of "64 bit" gcc
usage at http://coombs.anu.edu.au/~avalon/faq/IPFsolaris.html#5

Sincerely yours.

------------------------------------------------------------
Vitaly Zverev, Oracle Applications DBA,
Genesis Ltd., S.Petersburg, Russia


-----Original Message-----
From: Ako Ito [mailto:allan AT lxd1.asiandevbank.org]
Sent: Wednesday, September 17, 2003 11:18 AM
To: freetds AT lists.ibiblio.org
Subject: [freetds] freetds on solaris 9


i am having a problem in compiling freetds-0.61 and freetds-current on my
solaris 9 machine.. i am configuring it to support 64 bit but encountered
problems shown below.. any ideas on how i can fix it.. or freetds as of now
dont support 64 bit?

thanks,
allan

make[2]: Entering directory
`/adb/ops/home/a3g/freetds-0.62.dev.20030814/src/apps'
if
c -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRA
RY_SOURCE -DTDS50 -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-proto
types -Wmissing-prototypes -m64 -MT tsql.o -MD -MP -MF ".deps/tsql.Tpo" \
-c -o tsql.o `test -f 'tsql.c' || echo './'`tsql.c; \
then mv ".deps/tsql.Tpo" ".deps/tsql.Po"; \
else rm -f ".deps/tsql.Tpo"; exit 1; \
fi
/bin/bash ../../libtool --mode=link gcc -m64 -mcpu=v9 -m64 -o tsql
tsql.o -lcurses ../tds/libtds.la
mkdir .libs
gcc -m64 -mcpu=v9 -m64 -o .libs/tsql tsql.o -lcurses
./tds/.libs/libtds.so -lsocket -lnsl -R/usr/local/lib
ld: fatal: file ../tds/.libs/libtds.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to .libs/tsql
collect2: ld returned 1 exit status
make[2]: *** [tsql] Error 1
make[2]: Leaving directory
`/adb/ops/home/a3g/freetds-0.62.dev.20030814/src/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/adb/ops/home/a3g/freetds-0.62.dev.20030814/src'
make: *** [all-recursive] Error 1

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds

**************************************************************
Scanned by MailScan Anti-Virus and Content Security Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************





Archive powered by MHonArc 2.6.24.

Top of Page