dear all, i had a problem compiling both avidemux and mjpegtools on SuSE Linux 9.2 prof on a pentium 863 Mhz machine. problem looks very similar. please find below a snippet for avidemux: ... Making all in mpeg2enc make[3]: Entering directory `/usr/src/packages/BUILD/avidemux-2.0.40/avidemux/mpeg2enc' if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I/usr/include/libxml2 -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -falign-loops=16 -MT conform.o -MD -MP -MF ".deps/conform.Tpo" -c -o conform.o conform.cc; \ then mv -f ".deps/conform.Tpo" ".deps/conform.Po"; else rm -f ".deps/conform.Tpo"; exit 1; fi In file included from /usr/include/g++/bits/stl_algobase.h:65, from /usr/include/g++/vector:67, from macroblock.hh:52, from global.h:35, from conform.cc:34: /usr/include/g++/cstring:45: error: syntax error before `!' token In file included from /usr/include/g++/cstring:49, from /usr/include/g++/bits/stl_algobase.h:65, from /usr/include/g++/vector:67, from macroblock.hh:52, from global.h:35, from conform.cc:34: /usr/include/g++/cstddef:52: error: `ptrdiff_t' not declared In file included from /usr/include/g++/bits/fpos.h:44, from /usr/include/g++/iosfwd:49, from /usr/include/g++/bits/stl_algobase.h:70, from /usr/include/g++/vector:67, from macroblock.hh:52, from global.h:35, from conform.cc:34: /usr/include/g++/i586-suse-linux/bits/c++io.h:43: error: syntax error before `; ' token /usr/include/g++/i586-suse-linux/bits/c++io.h:45: error: syntax error before `; ' token In file included from /usr/include/g++/bits/stl_algobase.h:73, from /usr/include/g++/vector:67, from macroblock.hh:52, from global.h:35, from conform.cc:34: /usr/include/g++/bits/stl_iterator_base_types.h:102: error: syntax error before `,' token /usr/include/g++/bits/stl_iterator_base_types.h:109: error: template declaration of `typedef _Tp std::value_type' /usr/include/g++/bits/stl_iterator_base_types.h:109: confused by earlier errors, bailing out make[3]: *** [conform.o] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/avidemux-2.0.40/avidemux/mpeg2enc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/avidemux-2.0.40/avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/avidemux-2.0.40' make: *** [all] Error 2 i thought that this had to do with mpeg2enc and hence mjpegtools. tried compiling the latest stable mjpegtools and got a very similar message: 'syntax error before `?' token'. what i find interesting that there is no message like 'no such file' to indicate a missing dependency. i suspect a bug or missing CFLAG? i am now out of ideas and desperate. please help. -- gerald marewo
On Tue, 7 Jun 2005 17:24:18 +0200 gerald marewo <.> wrote:
dear all,
i had a problem compiling both avidemux and mjpegtools on SuSE Linux 9.2 prof on a pentium 863 Mhz machine. problem looks very similar.
http://packman.links2linux.org/?action=339 http://packman.links2linux.org/?action=154 There you can localize the versions for 9.2 Pro easily... Pelibali
hi, pelibali. thanks for the info. Musi we Tue, Jun 2005 nenguva dza 08:15:34PM +0200, pelibali akati:
http://packman.links2linux.org/?action=339 http://packman.links2linux.org/?action=154 There you can localize the versions for 9.2 Pro easily...
however, i am still keen on finding out why i failed to compile. i am sure i am not the first person to have experienced this problem. cheers. -- gerald marewo
participants (2)
-
gerald marewo
-
pelibali