Skip to Content.
Sympa Menu

freetds - Re: [freetds] 'make/gmake" error on Solaris 11 SPARC

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: matthew.green AT datamartcomputing.com
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] 'make/gmake" error on Solaris 11 SPARC
  • Date: Wed, 21 Dec 2016 08:01:53 +0000

I've compiled older version on SPARC. I know that might not help with this
problem but it does show that it's likely to either be an environmental issue
or something introduced after 0.9.

Cheers,

Matthew.

December 20 2016 5:54 PM, "Frediano Ziglio" <freddy77 AT gmail.com> wrote:
> 2016-12-19 23:46 GMT+00:00 Andrew Mak <amak AT mazda.com.au>:
>
>> Dear members of the list,
>>
>> I downloaded FreeTDS version 1.00.23 (freetds-patched.tar.gz) from
>> http://www.freetds.org/software.html and compile it on SPARC Solaris 11.3
>> using gcc 4.8.2
> compiler.
>> The "./configure" finished successfully without any error.
>> However the "make" (or "gmake") generates the following error
>> ...
>> ...
>> ct.c:1111:6: warning: \u2018ret\u2019 may be used uninitialized in this
>> function
>> [-Wmaybe-uninitialized]
>> if (TDS_SUCCEED(ret))
>> ^
>> CC cs.lo
>> CC blk.lo
>> CC ctutil.lo
>> CCLD libct.la
>> ../../libtool[1721]: eval: syntax error at line 1: `|' unexpected
>
> The main issue here is the libtool. libtool is a shell script
> generated by configure adding some variable
> to a base script. It seems it does not like some shell syntax. If you
> have another shell installed
> you can open it and change the first line (I would try bash if it's
> available).
> Or if you have another libtool on your system you can try to replace
> with the one you
> have.
> What does "./libtool --version" says?
> If the above does not work I could try to send a distribution with
> another libtool version.
>
>> gmake[3]: *** [libct.la] Error 3
>> gmake[3]: Leaving directory
>> `/export/home/amak/freetds/freetds-1.00.23/src/ctlib'
>> gmake[2]: *** [all-recursive] Error 1
>> gmake[2]: Leaving directory
>> `/export/home/amak/freetds/freetds-1.00.23/src/ctlib'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/export/home/amak/freetds/freetds-1.00.23/src'
>> gmake: *** [all-recursive] Error 1
>>
> root@wl-remote-deploy:/export/home/amak/freetds/freetds-1.00.23#<mailto:root@wl-remote-deploy:/expor
>> /home/amak/freetds/freetds-1.00.23#>
>>
>> When I search for the file "libct.la", it does not exist anywhere.
>>
>> root@wl-remote-deploy:/export/home/amak/freetds/freetds-1.00.23# cd ..
>> root@wl-remote-deploy:/export/home/amak/freetds# find . -name libct.la
>> root@wl-remote-deploy:/export/home/amak/freetds#
>>
>> Any suggestions?
>>
>> Regards
>> Andrew Mak
>
> Frediano
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page