X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0	tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,TW_BG,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: gialloporpora <sandrodll@gmail.com>
Subject: Re: Some missing .a file trying to compile cfc util on cygwin libgmp.a, libhistory.a, libreadline.a)
Date: Sun, 18 Jul 2010 18:17:21 +0200
Lines: 52
Message-ID: <i1v9fe$vma$1@dough.gmane.org>
References: <i1uk95$54f$1@dough.gmane.org> <i1um09$9sb$1@dough.gmane.org> <4C430830.806@bopp.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1
In-Reply-To: <4C430830.806@bopp.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Risposta al messaggio di Jeremy Bopp :

> On 07/18/2010 05:45 AM, gialloporpora wrote:
>> Risposta al messaggio di gialloporpora :
>>
>>> Now I have this problem trying to compile the package (GMP and readline):
>>> g++: libgmp.a: No such file or directory
>>> g++: libreadline.a: No such file or directory
>>> g++: libhistory.a: No such file or directory
>>> make: *** [cf_arith] Error 1
>> Te only file really missing is ibgmp.a, the other files are in the lib
>> directory (libreadline.a, libhistory.a), I have a similar file named
>> "ibgmp.dll.a".
>
> You need to install the -devel packages such as readline-devel.
>
> -Jeremy
>
Thank you, Jeremy for your suggestion, but I have already installed all 
readline packages, I have installed also devel packages, I have the 
files in the lib directory but it seems that the make command not find 
these files.

I have now download  the last version of GMP and compiled it in:
/usr/gmp

and I have the file libgmp in /usr/lib.
If I copy all the files in the directory where I have extracted the cfc 
source and execute the make commands, now I have this new errors messags 
:-( :

g++ -g -o cf_arith cf_arith.o cf_arith2.tab.o lex.yy.o libgmp.a 
libreadline.a li
bhistory.a -lfl -ltermcap
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: 
cannot find
  -lfl
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: 
cannot find
  -ltermcap
collect2: ld returned 1 exit status
make: *** [cf_arith] Error 1

sandro@user-632b6d8c28 /usr/cf_arith_v0.7

I don't know how to solve this.

Sandro






--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

