swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Hi, is this the correct location to post question to


From: George Kirkham
Subject: [Swftools-common] Hi, is this the correct location to post question to
Date: Fri, 25 May 2012 13:24:53 +1000

Hi, is this the correct location to post question to?

 

I would like to compile and install SWF Tools swftools-0.9.2.exe  in Ubuntu 12.04 however when I follow the steps in the http://wiki.swftools.org/wiki/Installation the installation has many warnings and errors.  I have found that installing to Debian is not an issue but there seems to be differences in Ubuntu that causes issues. I am working with Ubuntu server 32 bit and 64 bit.

 

If I run “make distclean”, and then run through the installation process again, then the “”make” succeeds and I can do a “make install”, but I am not confident in the result due to the large number of warnings.

 

The error message “Hunk #22 FAILED at 703.” Is a concern, but I do not know what this indicates.

 

Does anyone know how to compile SWFTools under Ubuntu ? and if so could you please let me know the steps the work without major errors or warnings.

 

 

How to compile/link swftools on Unix/Linux/BSD?

Download swftools-0.x.x.tar.gz. Then type, on the command-line:

   tar -zvxf swftools-0.x.x.tar

   cd swftools-0.x.x

   ./configure

   make

   make install

 

 

Warning messages

 

 

config.status: creating lib/action/Makefile

config.status: creating src/Makefile

config.status: creating lib/pdf/Makefile

config.status: creating swfs/Makefile

config.status: creating lib/lame/Makefile

config.status: creating lib/readers/Makefile

config.status: creating config.h

address@hidden:/home/itsupport/om/swftools# make>../swftoolsmake.log

modules/swffont.c: In function âisSWFâ:

modules/swffont.c:572:10: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result]

rfxswf.c: In function âswf_WriteCGIâ:

rfxswf.c:1888:8: warning: ignoring return value of âwriteâ, declared with attribute warn_unused_result [-Wunused-result]

lame/VbrTag.c: In function âPutVbrTagâ:

lame/VbrTag.c:803:14: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result]

lame/VbrTag.c:822:7: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result]

as3/abc.c: In function âtraits_parseâ:

as3/abc.c:469:6: warning: format â%pâ expects argument of type âvoid *â, but argument 4 has type âintâ [-Wformat]

as3/pool.c: In function âpool_find_namespaceâ:

as3/pool.c:969:9: warning: format â%pâ expects argument of type âvoid *â, but argument 4 has type âintâ [-Wformat]

as3/builtin.c:4032:1: warning: initialisation from incompatible pointer type [enabled by default]

as3/builtin.c:4032:1: warning: (near initialisation for âflash_utils_flash_proxy_constant.<anonymous>.sâ) [enabled by default]

as3/builtin.c:5469:1: warning: initialisation from incompatible pointer type [enabled by default]

as3/builtin.c:5469:1: warning: (near initialisation for â_AS3_constant.<anonymous>.sâ) [enabled by default]

as3/import.c: In function âas3_import_fileâ:

as3/import.c:243:10: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result]

ar: creating librfxswf.a

cc1plus: warning: command line option â-Wimplicitâ is valid for C/ObjC but not for C++ [enabled by default]

cc1plus: warning: command line option â-Wimplicitâ is valid for C/ObjC but not for C++ [enabled by default]

cc1plus: warning: command line option â-Wimplicitâ is valid for C/ObjC but not for C++ [enabled by default

.

.

.

cc1plus: warning: command line option â-Wimplicitâ is valid for C/ObjC but not for C++ [enabled by default]

ar: creating ../libgfxpdf.a

png.c: In function âpng_read_headerâ:

png.c:102:10: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result]

ar: creating libbase.a

ar: creating libgfx.a

ar: creating libgfxswf.a

gocr/database.c: In function âocr_dbâ:

gocr/database.c:401:10: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result]

ar: creating libocr.a

png2swf.c: In function âpng_read_headerâ:

png2swf.c:166:10: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result]

png2swf.c: In function âpng_get_dwordâ:

png2swf.c:146:10: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result]

swfdump.c: In function âmainâ:

swfdump.c:1151:9: warning: ignoring return value of âreadâ, declared with attribute warn_unused_result [-Wunused-result]

font2swf.c: In function âmainâ:

font2swf.c:118:11: warning: ignoring return value of âgetcwdâ, declared with attribute warn_unused_result [-Wunused-result]

swfbytes.c: In function âswf_IsSWFâ:

swfbytes.c:338:9: warning: ignoring return value of âreadâ, declared with attribute warn_unused_result [-Wunused-result]

 

 

 

cc1plus: warning: command line option â-Wimplicitâ is valid for C/ObjC but not for C++ [enabled by default]

 

rm -f librfxswf.a

ar r librfxswf.a modules/swfaction.o modules/swfbits.o modules/swfbutton.o modules/swfcgi.o modules/swfdraw.o modules/swfdump.o modules/swffilter.o modules/swffont.o modules/swfobject.o modules/swfrender.o modules/swfshape.o modules/swfsound.o modules/swftext.o modules/swftools.o modules/swfalignzones.o rfxswf.o drawer.o lame/psymodel.o lame/fft.o lame/newmdct.o lame/quantize.o lame/takehiro.o lame/reservoir.o lame/quantize_pvt.o lame/vbrquantize.o lame/encoder.o lame/id3tag.o lame/version.o lame/tables.o lame/util.o lame/bitstream.o lame/set_get.o lame/VbrTag.o lame/lame.o h.263/dct.o h.263/h263tables.o h.263/swfvideo.o action/assembler.o action/compile.o action/lex.swf4.o action/lex.swf5.o action/libming.o action/swf4compiler.tab.o action/swf5compiler.tab.o action/actioncompiler.o as3/abc.o as3/pool.o as3/files.o as3/opcodes.o as3/code.o as3/registry.o as3/builtin.o as3/tokenizer.yy.o as3/parser.tab.o as3/scripts.o as3/compiler.o as3/import.o as3/expr.o as3/parser_help.o as3/state.o as3/common.o as3/initcode.o as3/assets.o

ar: creating librfxswf.a

ranlib librfxswf.a

cd pdf;make libgfxpdf

make[2]: Entering directory `/home/user/om/swftools/lib/pdf'

Extracting xpdf-3.02.tar.gz

Applying security patches...

find . \( -name "*.cc" -or -name "*.h" -or -name "*.c" \) -exec cp {} {}.orig \;

Hunk #22 FAILED at 703.

Hunk #23 FAILED at 719.

 

I have also tried

LDFLAGS="-L/usr/lib/i386-linux-gnu" CPPFLAGS="-I/usr/local/include" CXXLIBS="-lstdc++" ./configure

 

But the results are the same.

 

 

 

 

 


reply via email to

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