delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/18/12:18:19

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: gialloporpora <sandrodll AT gmail DOT 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 AT dough DOT gmane DOT org> <i1um09$9sb$1 AT dough DOT gmane DOT org> <4C430830 DOT 806 AT bopp DOT net>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019