swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] compiling development snapshot on FC4 or rendering an


From: Adam Plumb
Subject: [Swftools-common] compiling development snapshot on FC4 or rendering an image from swf file
Date: Tue, 23 Sep 2008 14:54:07 -0400

hi all,

I've been tasked with programmatically retrieving a png image from a single-framed swf file.  This is going to be done on an aging Fedora Core 4 server.

The way I've figured that I can do this is by compiling the swfrender module in the swftools development snapshot (9/22).  Unfortunately, I've hit a snag that I'm not really sure how to fix.  I'm able to run ./configure to completion, but when I try to make, I get the following error....

png2swf.c:166: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
png2swf.c:166: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
png2swf.c:166: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
png2swf.c:166: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
png2swf.c:166: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
png2swf.c:166: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
gcc -DHAVE_CONFIG_H png2swf.o -o png2swf ../lib/librfxswf.a ../lib/libbase.a -L/usr/local/lib -L/root/test/swftoolsbuild/lib -lz -lm
png2swf.o(.text+0x258b): In function `MovieAddFrame':
png2swf.c: undefined reference to `swf_SetJPEGBits3'
png2swf.o(.text+0x25d1):png2swf.c: undefined reference to `swf_SetJPEGBits2'
collect2: ld returned 1 exit status
make[1]: *** [png2swf] Error 1
make[1]: Leaving directory `/root/test/swftools-2008-09-22-1956/src'
make: *** [all] Error 2


I'm not a C programmer, so I'm not really sure how to fix this.  Is this a gcc version issue?  When I run gcc -v, I get gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

BTW, if swfrender is not the correct tool for this job, I'd appreciate it if someone could point me in the right direction.

Thanks!

Adam

reply via email to

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