But the fix does not work... even if I apply the changes by hand. The
problem is in this part:
---------------------------------
@@ -3404,7 +3395,7 @@
#include <stdlib.h>
#include <stdio.h>
*-int main (int argc, char*argv)*
*+int main (int argc, char*argv[])*
{
int a,b;
b=3;
---------------------------------
In the SWFTools 0.9.2 the content is:
*int main ()*
without any argument.
I tried all the possible combinations:
*int main (int argc, char*argv)*
*int main (int argc, char*argv[])*
*
*
without success.
Well, as it seems an useless test then I simply removed the *return
1*statement if it fails. So,
*configure* shows the error message and goes on.
2012/12/10 Ryan Schmidt <[email protected]>
> On Dec 10, 2012, at 12:29, Pablo Beltran wrote:
>
> > I'm trying to compile SWFTools on Linux by using an alternative compiler
> to gcc and I got the following message:
> >
> > checking build system type... x86_64-pc-none
> > checking host system type... mips-unknown-elf
> > checking for mips-unknown-elf-gcc... mips-unknown-elf-gcc
> > checking whether the C compiler works... yes
> > checking for C compiler default output file name... a.out
> > checking for suffix of executables...
> > checking whether we are cross compiling... yes
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether mips-unknown-elf-gcc accepts -g... yes
> > checking for mips-unknown-elf-gcc option to accept ISO C89... unsupported
> > checking whether we are using the GNU C++ compiler... yes
> > checking whether mips-unknown-elf-g++ accepts -g... yes
> > checking whether gcc supports lazy variable declaration... no
> > ***************************************************
> > * Your gcc is too old to compile this!
> > *
> > * The last version compileable by this compiler is
> > * swftools 0.7.0, which you can download from
> > * http://www.swftools.org/swftools-0.7.0.tar.gz
> > * .
> > * Newer versions require at least gcc 3.0.0
> > ***************************************************
> >
> > I've read in this post that any alternative to gcc results in the error
> above (for clang on Mac OS X Lion):
> >
> > "Of course the error message is wrong; swftools is just under the
> mistaken impression that every compiler one might use to compile it is gcc.
> In this case, we're using clang; clang's version number happens to be lower
> than gcc's, though it is just as (or more) capable than gcc."
> >
> > http://trac.macports.org/ticket/32732
>
> And then in the next comment I said:
>
> "Actually, that's the problem we had in another port, but with swftools, I
> see they just wrote their test wrong. Fixed in r88456."
>
> http://trac.macports.org/changeset/88456
>
>
>
---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an
existing subscription, please kindly point your favourite web browser
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>