[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] error compiling swftools 0.9 with gcc 4.4

From: matthieu JOURDAN
Subject: [Swftools-common] error compiling swftools 0.9 with gcc 4.4
Date: Mon, 20 Jul 2009 13:12:33 +0200
User-agent: Thunderbird (X11/20090105)


i have an error when i do the make to compile swftools 0.9.0 with gcc 4.4

cd pdf;make libpdf
make[2]: entrant dans le répertoire « /opt/swftools/swftools-0.9.0/lib/pdf »
g++ -c -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer -I ./ -I xpdf GFXOutputDev.cc -o GFXOutputDev.o
GFXOutputDev.cc: In function ‘void addGlobalFont(const char*)’:
GFXOutputDev.cc:2507: erreur: invalid conversion from ‘const char*’ to ‘char*’ GFXOutputDev.cc:2508: erreur: invalid conversion from ‘const char*’ to ‘char*’
make[2]: *** [GFXOutputDev.o] Erreur 1
make[2]: quittant le répertoire « /opt/swftools/swftools-0.9.0/lib/pdf »
make[1]: *** [libpdf.a] Erreur 2
make[1]: quittant le répertoire « /opt/swftools/swftools-0.9.0/lib »
make: *** [all] Erreur 2

I do
yum install zlib-devel libjpeg-devel giflib-devel freetype-devel gcc gcc-c++

After i unpack the tar.gz file.
then i type the following command to configure the package for my system:
make install

fedora 11
gcc 4.4.0
With an other computer (fedora 9 and gcc 4.3) i didn't have an error.

4 impasse Bel Air
69290 Saint Genis Les Ollières  *
Matthieu JOURDAN
Tel._ : 04 37 41 30 00
_Fax._ : 04 37 41 00 01

address@hidden <mailto:address@hidden> - www.tgi.fr <http://www.tgi.fr/>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]