swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Re: compiling pdf2swf.exe with linux mingw


From: matt cline
Subject: Re: [Swftools-common] Re: compiling pdf2swf.exe with linux mingw
Date: Wed, 15 Jul 2009 11:23:15 -0700

RESULT:
cd m4;make all
make[1]: Entering directory `/usr/share/swftools-0.9.0/m4'
make[1]: Leaving directory `/usr/share/swftools-0.9.0/m4'
making all in lib...
cd lib;make all
make[1]: Entering directory `/usr/share/swftools-0.9.0/lib'
i586-mingw32msvc-gcc -c -DHAVE_CONFIG_H  -I/usr/i586-mingw32msvc/include -I/usr/bin/i586-mingw32msvc/include -I/usr/include -I/usr/freetype2 -DO_BINARY=0 -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  rfxswf.c -o rfxswf.obj
rfxswf.c:1: warning: -fPIC ignored for target (all code is position independent)
In file included from rfxswf.c:44:
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:84: error: expected specifier-qualifier-list before â__time64_tâ
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:112: error: expected specifier-qualifier-list before â__time64_tâ
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:157: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âlseek64â
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:158: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âlseek64â
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:170: error: conflicting types for âgetcwdâ
/usr/include/unistd.h:477: error: previous declaration of âgetcwdâ was here
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:288: error: conflicting types for âcreatâ
/usr/include/fcntl.h:130: error: previous declaration of âcreatâ was here
make[1]: *** [rfxswf.obj] Error 1
make[1]: Leaving directory `/usr/share/swftools-0.9.0/lib'
make: *** [all] Error 2

On Wed, Jul 15, 2009 at 11:34 AM, Matthias Kramm <address@hidden> wrote:
On Wed, Jul 15, 2009 at 10:55:24AM -0700, matt cline <address@hidden> wrote:
> since i have libs and incs in 3 diff locations due to my lack of experience
> with unix os's my configure command is as follows(im sure there's overkill
> in there):

It's not overkill- my configure command for mingw compilation
is of comparable size.

> modules/swftext.c:1334: error: āO_BINARYā undeclared (first use in this
> function)

Looks like a bug in configure.
For now, try adding "-DO_BINARY=0" to your CFLAGS.

Matthias






reply via email to

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