[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] cannot install 0.9 version on red hat 7.2
From: |
Ricardo Pedroso |
Subject: |
Re: [Swftools-common] cannot install 0.9 version on red hat 7.2 |
Date: |
Thu, 17 Sep 2009 18:11:46 +0100 |
On Thu, Sep 17, 2009 at 4:28 PM, Gabriel troisgros <address@hidden> wrote:
> Hi all
>
> i'm trying to install the latest version on my linux red hat 7.2 server, but
> there is an error durin the make:
>
> bash-2.05# make
> making all in m4...
> cd m4;make all
> make[1]: Entre dans le répertoire `/usr/local/swftools-0.9.0/m4'
> make[1]: Quitte le répertoire `/usr/local/swftools-0.9.0/m4'
> making all in lib...
> cd lib;make all
> make[1]: Entre dans le répertoire `/usr/local/swftools-0.9.0/lib'
> ../librfxswf.a(pool.o): In function `pool_lookup_float':
> pool.o(.text+0x2602): undefined reference to `__builtin_nan'
> collect2: ld returned 1 exit status
> make[1]: *** [pdf2swf] Erreur 1
> make[1]: Quitte le répertoire `/usr/local/swftools-0.9.0/lib/pdf'
> make: *** [all] Erreur 2
you have __builtin_nan in this 3 files:
./lib/as3/pool.c: if(!i) return __builtin_nan("");
./lib/as3/builtin.c: _NaN_constant.f = __builtin_nan("");
./lib/as3/parser.tab.c: {(yyval.constant) =
constant_new_float(__builtin_nan(""));}
try replace the __builtin_nan("") call with 0 (zero).
for example, in lib/as3/pool.c:
replace:
if(!i) return __builtin_nan("");
with:
if(!i) return 0;
I'm not sure if this will work, and if it works, I don't know if it is
the correct way,
and probably you will find some more problems, because you system
(redhat 72) is very, very old.
Ricardo
- [Swftools-common] pdf2swf conversion error using php, franck ruzzin, 2009/09/12
- Re: [Swftools-common] pdf2swf conversion error using php, Ricardo Pedroso, 2009/09/16
- Re: [Swftools-common] pdf2swf conversion error using php, Ricardo Pedroso, 2009/09/17
- [Swftools-common] cannot install 0.9 version on red hat 7.2, Gabriel troisgros, 2009/09/17
- Re: [Swftools-common] cannot install 0.9 version on red hat 7.2,
Ricardo Pedroso <=
- RE: [Swftools-common] cannot install 0.9 version on red hat 7.2, Gabriel troisgros, 2009/09/18
- Re: [Swftools-common] cannot install 0.9 version on red hat 7.2, Ricardo Pedroso, 2009/09/18
- Message not available
- Re: [Swftools-common] cannot install 0.9 version on red hat 7.2, Ricardo Pedroso, 2009/09/18
- RE: [Swftools-common] cannot install 0.9 version on red hat 7.2, Gabriel troisgros, 2009/09/18
Re: [Swftools-common] pdf2swf conversion error using php, franck ruzzin, 2009/09/18