Tue 14 Feb 2006 08:35:47 PM UTC, original submission:
Hi,
I downloaded gnash from cvs.
Here's my configure-line:
./configure --enable-mp3 --disable-docbook --with-firefox=~/.mozilla/firefox/
I tried:
- with and without running ./autogen.sh first
- with and without parameters for configure
- with and without docbook installed
First, make failed with the following errors:
amf.cpp: In member function 'int amf::AMF::readElement(void, void)':
amf.cpp:128: warning: format '%lld' expects type 'long long int', but argument 2 has type 'amf::amfnum_t'
amf.cpp:178: warning: format '%lld' expects type 'long long int', but argument 2 has type 'amf::amfnum_t'
amf.cpp:182: warning: unused variable 'length'
amf.cpp:125: warning: enumeration value 'Unsupported' not handled in switch
amf.cpp:125: warning: enumeration value 'Recordset' not handled in switch
amf.cpp:125: warning: enumeration value 'XMLObject' not handled in switch
amf.cpp:125: warning: enumeration value 'TypedObject' not handled in switch
amf.cpp: In member function 'int amf::AMF::extractElementLength(void*)':
amf.cpp:402: error: cast from 'char*' to 'int' loses precision
amf.cpp:402: error: 'round' was not declared in this scope
amf.cpp:420: error: cast from 'char*' to 'int' loses precision
amf.cpp:420: error: cast from 'char*' to 'int' loses precision
amf.cpp:448: error: cast from 'char*' to 'int' loses precision
amf.cpp:448: error: cast from 'char*' to 'int' loses precision
make[2]: *** [amf.lo] Fejl 1
make[2]: Forlader katalog '/home/alexander/utpakk/gnash/libamf'
make[1]: *** [all-recursive] Fejl 1
make[1]: Forlader katalog '/home/alexander/utpakk/gnash'
make: *** [all] Fejl 2
After rewriting amf.cpp, so that (int)x - (int)somefunction() was (int)(x - (char*)somefunction()), the compilation got further.
Here's the next failure:
g++ -g -O2 -I/usr/include/SDL -D_REENTRANT -I.. -I. -I../server -g -O2 -o .libs/amftest amftest.o -L/usr/lib -L/usr/X11R6/lib ../libbase/.libs/libgnashbase.so /usr/lib64/libGL.so /usr/lib/libSDL.so /usr/lib/libSDL_mixer.so /usr/lib/libjpeg.so /usr/lib/libxml2.so -lm /usr/lib/libogg.so ./.libs/libgnashamf.so -L/usr/share/qt3/lib -lGLU -laudio -lXt -lXext -lncurses -lslang -lX11 -lpthread -lpng -ldl -lz -lrt -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib64
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/crt1.o: In function `_start':../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [amftest] Fejl 1
make[2]: Forlader katalog '/home/alexander/utpakk/gnash/libamf'
make[1]: *** [all-recursive] Fejl 1
make[1]: Forlader katalog '/home/alexander/utpakk/gnash'
make: *** [all] Fejl 2
It seems like this is related to me running x86_64, and now I'm stuck.
I will gladly send any required info at request.
My e-mail is:
alexander@pvv$.org (remove the $)
Best regards,
Alexander Rødseth
|