swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Problem compiling dev snapshot


From: Matt Southall
Subject: [Swftools-common] Problem compiling dev snapshot
Date: Mon, 14 Mar 2005 12:37:33 +0000

I'm having trouble compiling the dev snapshot of SWFTools (see output
of 'make' below). I know Matthias is away skiing (which is what I'd
like to be doing too), but I figured somebody on here might know
what's wrong. I remember enough C from college to begin to fix these
errors by defining the variables at the beginning of the function but
the more I fix, the more appear. I'm assuming that something is wrong
and that I shouldn't be seeing them in the first place? I'm using
Debian Woody (up to date). Any help gratefully received.

Regards,

Matt

-----------------------snip-----------------------------
gladstone:~/src/swftools-2005-03-06-2118# make
making all in m4...
cd m4;make all
make[1]: Entering directory `/root/src/swftools-2005-03-06-2118/m4'
make[1]: Leaving directory `/root/src/swftools-2005-03-06-2118/m4'
making all in lib...
cd lib;make all
make[1]: Entering directory `/root/src/swftools-2005-03-06-2118/lib'
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -Wparentheses -Wimplicit 
-Wreturn-type -O -fomi
t-frame-pointer  rfxswf.c -o rfxswf.o
In file included from rfxswf.c:1537:
modules/swfbits.c: In function `swf_ImageGetNumberOfPaletteEntries':
modules/swfbits.c:111: parse error before `int'
modules/swfbits.c:113: `csize' undeclared (first use in this function)
modules/swfbits.c:113: (Each undeclared identifier is reported only once
modules/swfbits.c:113: for each function it appears in.)
modules/swfbits.c:114: `cpal' undeclared (first use in this function)
modules/swfbits.c: In function `swf_SetLosslessImage':
modules/swfbits.c:693: parse error before `int'
modules/swfbits.c:694: `num' undeclared (first use in this function)
modules/swfbits.c:697: parse error before `int'
modules/swfbits.c:702: `y' undeclared (first use in this function)
modules/swfbits.c:704: `data2' undeclared (first use in this function)
modules/swfbits.c:704: `width2' undeclared (first use in this function)
modules/swfbits.c:705: `x' undeclared (first use in this function)
modules/swfbits.c:707: `r' undeclared (first use in this function)
modules/swfbits.c: In function `make_scale_lookup':
modules/swfbits.c:1051: parse error before `double'
modules/swfbits.c:1059: `tox' undeclared (first use in this function)
modules/swfbits.c:1060: `xx' undeclared (first use in this function)
modules/swfbits.c:1060: `fromx' undeclared (first use in this function)
modules/swfbits.c:1062: `xweight' undeclared (first use in this function)
modules/swfbits.c:1063: `w' undeclared (first use in this function)
modules/swfbits.c:1064: `i' undeclared (first use in this function)
modules/swfbits.c:1069: `ex' undeclared (first use in this function)
modules/swfbits.c:1074: parse error before `int'
modules/swfbits.c:1076: `ix2' undeclared (first use in this function)
modules/swfbits.c:1077: parse error before `double'
modules/swfbits.c:1079: `r' undeclared (first use in this function)
modules/swfbits.c:1081: `ix1' undeclared (first use in this function)
modules/swfbits.c: In function `swf_ImageScale':
modules/swfbits.c:1096: parse error before `int'
modules/swfbits.c:1101: `lblockx' undeclared (first use in this function)
modules/swfbits.c:1102: `lblocky' undeclared (first use in this function)
modules/swfbits.c:1104: `p' undeclared (first use in this function)
modules/swfbits.c:1107: `y' undeclared (first use in this function)
modules/swfbits.c:1108: `newdata' undeclared (first use in this function)
modules/swfbits.c:1111: `tmpline' undeclared (first use in this function)
modules/swfbits.c:1118: `x' undeclared (first use in this function)
modules/swfbits.c:1127: parse error before `*'
modules/swfbits.c:1132: `p_x' undeclared (first use in this function)
modules/swfbits.c:1155: warning: control reaches end of non-void function
make[1]: *** [rfxswf.o] Error 1
make[1]: Leaving directory `/root/src/swftools-2005-03-06-2118/lib'
make: *** [all] Error 2
gladstone:~/src/swftools-2005-03-06-2118#

-----------------------snip-----------------------------





reply via email to

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