Fri 15 Jun 2007 09:08:24 PM UTC, comment #11:
Sorry, no idea, might be a bug in autoheader, please report this to the bug tracker for your distribution.
|
Fri 15 Jun 2007 08:50:56 PM UTC, comment #10:
autoheader is version 2.61
Hmm, no SIZET_FMT in config.h.in either
I've attached the file for reference
(file #13067)
|
Fri 15 Jun 2007 08:27:05 PM UTC, comment #9:
Please also check if you have SIZET_FMT in your config.h.in (in source tree, while config.h is in your build tree, if not the same)
|
Fri 15 Jun 2007 08:19:58 PM UTC, comment #8:
MM.. then it seems autoheader failed to detect the SIZET_FMT definition it seems.
What version of autoheader do you have ?
|
Fri 15 Jun 2007 08:17:09 PM UTC, comment #7:
The config.h file I have in the gnash source directory?
If so then I don't have a line like that at all. My config.h is attached to this bug report already if you wish to check.
As for the test you asked me to carry out:
grahame@borgmania:~/gnash$ cat testfile
#define A "another string"
" a string " A " yet another string "
grahame@borgmania:~/gnash$ cpp testfile
# 1 "testfile"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "testfile"
" a string " "another string" " yet another string "
grahame@borgmania:~/gnash$
|
Fri 15 Jun 2007 06:28:43 PM UTC, comment #6:
Mmm.. it seems your preprocessor doesn't support strings concatenation ?
What's the value of SIZET_FMT in your config.h file ?
Can you try runnign 'cpp' against a file containing the following line ?
#define A "another string"
" a string " A " yet another string "
|
Fri 15 Jun 2007 05:04:37 PM UTC, comment #5:
removing the backslash from the end of the line you suggested got me a little bit further.
I'm now getting the following error however:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -I.. -I. -I.. -I../server -I../server/swf -pthread -I/usr/include/libxml2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/include/ffmpeg -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT libgnashbase_la-extension.lo -MD -MP -MF .deps/libgnashbase_la-extension.Tpo -c extension.cpp -fPIC -DPIC -o .libs/libgnashbase_la-extension.o
./GC.h: In member function 'void gnash::GC::addCollectable(const gnash::GcResource*)':
./GC.h:219: error: expected primary-expression before 'const'
./GC.h:219: error: expected `)' before 'const'
./GC.h:219: error: expected `)' before ';' token
./GC.h: In member function 'void gnash::GC::collect()':
./GC.h:231: error: expected primary-expression before 'const'
./GC.h:231: error: expected `)' before 'const'
./GC.h:231: error: expected `)' before ';' token
./GC.h: In member function 'void gnash::GC::cleanUnreachable()':
./GC.h:310: error: expected primary-expression before 'const'
./GC.h:310: error: expected `)' before 'const'
./GC.h:312: error: expected `)' before ';' token
make: *** [libgnashbase_la-extension.lo] Error 1
|
Thu 14 Jun 2007 07:22:45 AM UTC, comment #4:
Please try removing the backslash at the end of the fprintf line 1881 of libbase/triangulate_impl.h.
|
Wed 13 Jun 2007 07:55:35 PM UTC, comment #3:
I'm building using debian unstable. I've tried checking out a clean copy of the code from cvs but I still get the same error message every time.
|
Wed 13 Jun 2007 11:51:15 AM UTC, comment #2:
Builds for me (gnash-0.7.2) on gentoo
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -Os -pipe -fstack-protector -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
but doesn't work for YouTube, Lulu, anything, etc.
YouTube shows the end frame with flikering lines over the buttons.
Lulu in a blank box with a grey rectangle across the buttons below.
|
Sun 10 Jun 2007 09:03:24 AM UTC, comment #1:
Could you please attach config.log and config.h to this bug?
|
Sun 10 Jun 2007 07:52:11 AM UTC, original submission:
I tried to build the latest cvs version of gnash on my debian unstable box (amd64) but it keeps failing at the same point:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -I.. -I. -I.. -I../server -I../server/swf -pthread -I/usr/include/libxml2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/include/ffmpeg -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT libgnashbase_la-triangulate_float.lo -MD -MP -MF .deps/libgnashbase_la-triangulate_float.Tpo -c triangulate_float.cpp -fPIC -DPIC -o .libs/libgnashbase_la-triangulate_float.o
triangulate_impl.h: In member function 'void poly_env<coord_t>::init(int, const std::vector<coord_t, std::allocator<_CharT> >*)':
triangulate_impl.h:1881: error: expected `)' before 'SIZET_FMT'
triangulate_impl.h: In member function 'void poly_env<coord_t>::init(int, const std::vector<coord_t, std::allocator<_CharT> >*) [with coord_t = float]':
triangulate_impl.h:2238: instantiated from 'void compute_triangulation(std::vector<coord_t, std::allocator<_CharT> >, int, const std::vector<coord_t, std::allocator<_CharT> >, int, std::vector<coord_t, std::allocator<_CharT> >*) [with coord_t = float]'
triangulate_float.cpp:26: instantiated from here
triangulate_impl.h:1881: warning: too many arguments for format
make[2]: *** [libgnashbase_la-triangulate_float.lo] Error 1
make[2]: Leaving directory `/home/grahame/gnash/libbase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/grahame/gnash'
make: *** [all] Error 2
I'm using gcc 4.1.2
./configure was envoked as './configure --disable-klash --with-plugindir=/usr/lib/mozilla/plugins'
Not sure what other info you need. Feel free to ask if you need more.
|