[freetds] freetds compile issues on solaris 8 sparc

Becerra, Marrcello Marrcello_Becerra at cable.comcast.com
Fri Sep 3 03:38:08 EDT 2004

Thanks Les and Idai,
	That fixed my problem with freetds on the first time around.

I have a new problem with getting DBD-Sybase to compile using the freetds
I've tried older and new versions of freetds and DBD-Sybase with no luck.
dbdimp.c always seams to fail for some reason or another.

Any suggestions anyone?

prompt# make
gcc -c  -I/usr/local/freetds/include
-solaris/auto/DBI  -fno-strict-aliasing -pipe -I/usr/local/include
-DXS_VERSION=\"0.94\" -f
PIC "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE"   dbdimp.c
dbdimp.c: In function `servermsg_cb':
dbdimp.c:313: warning: passing arg 1 of `fflush' from incompatible pointer
dbdimp.c:1973:22: missing terminating " character
dbdimp.c:1981:1: missing terminating " character
dbdimp.c:1983:22: missing terminating " character
dbdimp.c:1990:21: missing terminating " character
*** Error code 1
make: Fatal error: Command failed for target `dbdimp.o'

-----Original Message-----
From: Les Gondor [mailto:les at adanac.net]
Sent: Thursday, September 02, 2004 2:54 PM
To: FreeTDS Development Group
Subject: Re: [freetds] freetds compile issues on solaris 8 sparc

Does your PATH environment variable include '/usr/ccs/bin'? That is the 
default location of Sun's 'ar', as part of package SUNWbtool.


Becerra, Marrcello wrote:
> I am having trouble getting freetds .053 to compile on Solaris 8 sparc.
> Here is the following error after running make
> (cd .libs && rm -f libtds.so.0 && ln -s libtds.so.0.0.0 libtds.so.0)
> (cd .libs && rm -f libtds.so && ln -s libtds.so.0.0.0 libtds.so)
> ar cru .libs/libtds.a  mem.o token.o util.o login.o read.o write.o
> num
> eric.o config.o query.o iconv.o
> ../../libtool: ar: not found
> *** Error code 1
> make: Fatal error: Command failed for target `libtds.la'
> Current working directory /export/home/xer/db/freetds-0.53.orig/src/tds
Les Gondor                           les at adanac.net
"If you don't know what you're doing, do it neatly"
FreeTDS mailing list
FreeTDS at lists.ibiblio.org

More information about the FreeTDS mailing list