swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] make failed on debian


From: Brian C
Subject: [Swftools-common] make failed on debian
Date: Sat, 08 May 2004 07:28:31 -0700
User-agent: Mozilla Thunderbird 0.5 (X11/20040306)

Hi,

I tried to compile swftools 0.5.1 and it spat out errors during the pdf2swf bit. Pages and pages of errors. Here's the last bit:

: undefined reference to `operator new(unsigned)'
xpdf/libpdf.a(Lexer.o)(.text+0xbca): In function `Lexer::getObj(Object*)':
: undefined reference to `operator new(unsigned)'
xpdf/libpdf.a(Lexer.o)(.text+0xbf9): In function `Lexer::getObj(Object*)':
: undefined reference to `operator delete(void*)'
xpdf/libpdf.a(Lexer.o)(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' xpdf/libpdf.a(PSTokenizer.o)(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make[1]: *** [pdf2swf] Error 1
make[1]: Leaving directory `/home/brian/swftools-0.5.1/pdf2swf'
make: *** [all] Error 2

I've attached config.log if that's helpful.

Also, I'm trying to make this work because I'd like to do the following:

I have an Impress Presentation which I can export to .swf from within OpenOffice. I also have a .wav file that I would like to include in a unified .swf file. So I'll use wav2swf to make an audio-only .swf and then use SWFCombine to merge the two .swf files, resulting in a presentation with accompanying audio. Is this even going to work or am I misunderstanding something?

Also, since I don't know how to time the advancement of the presentation's slides with the audio, the resulting .swf will still need to be clickable to advance the slides. (Or is there a way for me to sit through the audio once clicking the slides and record that result and then pair THAT with the audio?)

Thanks for any help,
Brian
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:797: checking host system type
configure:828: checking for gcc
configure:941: checking whether the C compiler (gcc -Wparentheses -Wimplicit 
-Wreturn-type -O -fomit-frame-pointer  ) works
configure:957: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    conftest.c  1>&5
configure:954: warning: return type defaults to `int'
configure:983: checking whether the C compiler (gcc -Wparentheses -Wimplicit 
-Wreturn-type -O -fomit-frame-pointer  ) is a cross-compiler
configure:988: checking whether we are using GNU C
configure:997: gcc -E conftest.c
configure:1016: checking whether gcc accepts -g
configure:1052: checking for c++
configure:1052: checking for g++
configure:1052: checking for gcc
configure:1084: checking whether the C++ compiler (gcc -Wparentheses -Wimplicit 
-Wreturn-type -O -fomit-frame-pointer  ) works
configure:1100: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    conftest.C  1>&5
configure:1126: checking whether the C++ compiler (gcc -Wparentheses -Wimplicit 
-Wreturn-type -O -fomit-frame-pointer  ) is a cross-compiler
configure:1131: checking whether we are using GNU C++
configure:1140: gcc -E conftest.C
configure:1159: checking whether gcc accepts -g
configure:1201: checking how to run the C preprocessor
configure:1222: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1284: checking for ranlib
configure:1312: checking whether make sets ${MAKE}
configure:1350: checking for a BSD compatible install
configure:1403: checking whether ln -s works
configure:1435: checking for Cygwin environment
configure:1451: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure: In function `main':
configure:1447: error: `__CYGWIN32__' undeclared (first use in this function)
configure:1447: error: (Each undeclared identifier is reported only once
configure:1447: error: for each function it appears in.)
configure: failed program was:
#line 1440 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1468: checking for mingw32 environment
configure:1480: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure: In function `main':
configure:1476: error: `__MINGW32__' undeclared (first use in this function)
configure:1476: error: (Each undeclared identifier is reported only once
configure:1476: error: for each function it appears in.)
configure: failed program was:
#line 1473 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1566: checking build system type
configure:1595: checking for ld used by GCC
configure:1663: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux
configure:1680: checking for /usr/bin/ld option to reload object files
configure:1692: checking for BSD-compatible nm
configure:1730: checking for a sed that does not truncate output
configure:1814: checking how to recognise dependent libraries
configure:2000: checking for object suffix
configure:2006: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure:2026: checking for executable suffix
configure:2036: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    conftest.c  1>&5
configure:2067: checking command to parse /usr/bin/nm -B output
configure:2150: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure:2153: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 
]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 
\3/p' > conftest.nm
configure:2204: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    conftest.c conftstm.o 1>&5
configure:2253: checking for dlfcn.h
configure:2263: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2432: checking for ranlib
configure:2499: checking for strip
configure:2601: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure:2756: checking for objdir
configure:2783: checking for gcc option to produce PIC
configure:2931: checking if gcc PIC flag -fPIC works
configure:2945: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -fPIC -DPIC  conftest.c 1>&5
configure:2997: checking if gcc static flag -static works
configure:3012: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -static conftest.c  1>&5
configure:3039: checking if gcc supports -c -o file.o
configure:3058: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -o out/conftest2.o  conftest.c 1>&5
configure:3087: checking if gcc supports -c -o file.lo
configure:3105: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -c -o conftest.lo  conftest.c 1>&5
configure:3155: checking if gcc supports -fno-rtti -fno-exceptions
configure:3168: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure:3195: checking whether the linker (/usr/bin/ld) supports shared 
libraries
configure:3894: checking how to hardcode library paths into programs
configure:3922: checking whether stripping libraries is possible
configure:3936: checking dynamic linker characteristics
configure:4374: checking if libtool supports shared libraries
configure:4378: checking whether to build shared libraries
configure:4401: checking whether to build static libraries
configure:4937: checking whether -lc should be explicitly linked in
configure:4944: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure:4957: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 
2>&1 | grep  -lc  >/dev/null 2>&1
configure:5546: checking for gzip
configure:5579: checking for executable suffix
configure:5618: checking host system type
configure:5641: checking for executable suffix
configure:5673: checking for target system
configure:5771: checking for sin in -lm
configure:5790: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lm   1>&5
configure:5783: warning: conflicting types for built-in function `sin'
configure:5821: checking for deflate in -lz
configure:5840: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lz  -lm  1>&5
configure:5872: checking for jpeg_write_raw_data in -ljpeg
configure:5891: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -ljpeg  -lz -lm  1>&5
configure:5923: checking for T1_LoadFont in -lt1
configure:5942: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1  -ljpeg -lz -lm  1>&5
configure:5979: checking for freetype-config
configure:6020: checking for FT_Init_FreeType in -lfreetype
configure:6039: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -I/usr/include/freetype2  -L/usr/local/lib conftest.c 
-lfreetype  -lt1 -ljpeg -lz -lm  1>&5
configure:6063: checking for freetype/freetype.h
configure:6073: gcc -E -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -I/usr/include/freetype2 conftest.c >/dev/null 
2>conftest.out
In file included from configure:6069:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't 
been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use 
macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include 
<ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include 
FT_FREETYPE_H"
configure: failed program was:
#line 6068 "configure"
#include "confdefs.h"
#include <freetype/freetype.h>
configure:6127: checking for byte order
configure:6142: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure: failed program was:
#line 6132 "configure"
#include "confdefs.h"

int main (int argc, char *argv[])
{
    int i = 1;
    return *(char*)&i;
}

configure:6284: checking whether system() can handle command substitution
configure:6299: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6358: checking for dirent.h that defines DIR
configure:6371: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure:6396: checking for opendir in -ldir
configure:6415: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -ldir  -lt1 -ljpeg -lz -lm  
1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 6404 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:6479: checking for ANSI C header files
configure:6492: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6559: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure: In function `main':
configure:6554: warning: implicit declaration of function `exit'
configure:6586: checking for zlib.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for jpeglib.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for t1lib.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for assert.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for signal.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for pthread.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for sys/stat.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for sys/types.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for dirent.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for sys/bsdtypes.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6592:26: sys/bsdtypes.h: No such file or directory
configure: failed program was:
#line 6591 "configure"
#include "confdefs.h"
#include <sys/bsdtypes.h>
configure:6586: checking for sys/ndir.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6592:22: sys/ndir.h: No such file or directory
configure: failed program was:
#line 6591 "configure"
#include "confdefs.h"
#include <sys/ndir.h>
configure:6586: checking for sys/dir.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6586: checking for ndir.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6592:18: ndir.h: No such file or directory
configure: failed program was:
#line 6591 "configure"
#include "confdefs.h"
#include <ndir.h>
configure:6586: checking for time.h
configure:6596: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6653: checking for working const
configure:6707: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure:6728: checking for inline
configure:6742: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure: In function `main':
configure:6737: warning: control reaches end of non-void function
configure: At top level:
configure:6738: warning: return type defaults to `int'
configure:6768: checking for off_t
configure:6801: checking for size_t
configure:6834: checking whether struct tm is in sys/time.h or time.h
configure:6847: gcc -c -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer   conftest.c 1>&5
configure:6868: checking for boolean
configure:6901: checking for bool
configure:6937: checking for popen
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6937: checking for mkstemp
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6937: checking for stat
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6937: checking for lrand48
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6937: checking for rand
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6937: checking for srand48
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6937: checking for srand
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6937: checking for bcopy
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6937: checking for bzero
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6949: warning: conflicting types for built-in function `bzero'
configure:6937: checking for time
configure:6965: gcc -o conftest -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer    -L/usr/local/lib conftest.c -lt1 -ljpeg -lz -lm  1>&5
configure:6996: checking for avifile-config
configure:7035: checking for avifile/version.h
configure:7045: gcc -E  -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -I/usr/include/avifile-0.7 conftest.c >/dev/null 
2>conftest.out
configure:7041:29: avifile/version.h: No such file or directory
configure: failed program was:
#line 7040 "configure"
#include "confdefs.h"
#include <avifile/version.h>
configure:7035: checking for version.h
configure:7045: gcc -E  -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -I/usr/include/avifile-0.7 conftest.c >/dev/null 
2>conftest.out
configure:7076: checking whether we can compile the avifile test program
avi2swf.m4:71: gcc  -Wparentheses -Wimplicit -Wreturn-type -O 
-fomit-frame-pointer  -I/usr/include/avifile-0.7 -Wl,-rpath,/usr/lib -laviplay 
conftest.cpp -o conftest
In file included from conftest.cpp:17:
/usr/include/avifile-0.7/fourcc.h:4:2: warning: #warning Use #include 
"avm_fourcc.h" instead
In file included from conftest.cpp:18:
/usr/include/avifile-0.7/creators.h:4:2: warning: #warning Use #include 
"avm_creators.h" instead
/tmp/ccCK2r8R.o(.gnu.linkonce.t._ZNK3avm11IReadStream18GetAudioFormatInfoEPvPPc+0x2d):
 In function `avm::IReadStream::GetAudioFormatInfo(void*, char**) const':
: undefined reference to `operator new[](unsigned)'
/tmp/ccCK2r8R.o(.gnu.linkonce.t._ZNK3avm11IReadStream18GetAudioFormatInfoEPvPPc+0x99):
 In function `avm::IReadStream::GetAudioFormatInfo(void*, char**) const':
: undefined reference to `operator delete[](void*)'
/tmp/ccCK2r8R.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `__cxa_rethrow'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `vtable for __cxxabiv1::__si_class_type_info'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `operator delete(void*)'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `__cxa_end_catch'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `__cxa_pure_virtual'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `vtable for __cxxabiv1::__class_type_info'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `__cxa_throw'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `vtable for __cxxabiv1::__vmi_class_type_info'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `__cxa_begin_catch'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `__cxa_allocate_exception'
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libaviplay.so: undefined reference 
to `operator new(unsigned)'
collect2: ld returned 1 exit status
configure: failed program was:

// hack- we can't yet access the variables in config.h (because it hasn't been 
generated yet),
// so we have to introduce them this way
#define HAVE_VERSION_H


#ifdef HAVE_VERSION_H
  #include <version.h>
#endif
#ifdef HAVE_AVIFILE_VERSION_H
  #include <avifile/version.h>
#endif

#if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6) 
   #include <avifile.h>
   #include <aviplay.h>
   #include <fourcc.h>
   #include <creators.h>
   #include <StreamInfo.h>
   #define VERSION6
#else
   #include <avifile.h>
   #include <aviplay.h>
   #include <aviutil.h>
   #define Width width
   #define Height height
   #define Data data
   #define Bpp bpp
#endif

void test()
{
  IAviReadFile* player;
  IAviReadStream* astream;
  IAviReadStream* vstream;
  player = CreateIAviReadFile(0);
  astream = player->GetStream(0, AviStream::Audio);
  vstream = player->GetStream(0, AviStream::Video);
  vstream -> StartStreaming();
  astream -> StartStreaming();
#ifndef VERSION6
  MainAVIHeader head;
  player->GetFileHeader(&head);
  head.dwMicroSecPerFrame;
  head.dwTotalFrames;
  head.dwStreams;
  head.dwWidth;
  head.dwHeight;
  head.dwMicroSecPerFrame;
  astream->GetEndPos(),
  astream->GetEndTime());
  player->StreamCount();
#else
  StreamInfo*audioinfo;
  StreamInfo*videoinfo;
  audioinfo = astream->GetStreamInfo();
  videoinfo = vstream->GetStreamInfo();
  videoinfo->GetVideoWidth();
  videoinfo->GetVideoHeight();
  audioinfo->GetAudioSamplesPerSec();
  videoinfo->GetFps();
#endif
  CImage*img = vstream->GetFrame();
  img->ToRGB();
  img->Data();
  img->Bpp();
  img->Width();
  img->Height();
  WAVEFORMATEX wave;
  astream->GetAudioFormatInfo(&wave,0);
  uint_t a,b;
  astream->ReadFrames(0,0,0,a,b);
}
int main (int argc, char*argv)
{
    return 0;
}

reply via email to

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