This forum has been archived. All content is frozen. Please use KDE Discuss instead.

integer constant is too large for long type

Tags: None
(comma "," separated)
Nils
Karma
0
When trying to compile Amarok 1.1 Beta 1 (Suse 8.2, gcc 3.3, KDE 3.3) I get this:

source='streamsrc.cpp' object='streamsrc.lo' libtool=yes \
depfile='.deps/streamsrc.Plo' tmpdepfile='.deps/streamsrc.TPlo' \
depmode=gcc3 /bin/sh ../../../../admin/depcomp \
/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src/engine -I../../../../amarok/src/engine/gst/config -I../../../../amarok/src/plugin -I../../../../amarok/src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/local/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/local/kde-cvs/include -I/usr/local/qt-cvs/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o streamsrc.lo `test -f 'streamsrc.cpp' || echo './'`streamsrc.cpp
streamsrc.cpp: In function `void gst_streamsrc_class_init_trampoline(void*,
void*)':
streamsrc.cpp:42: warning: unused parameter `void*data'
streamsrc.cpp: In function `GType gst_streamsrc_get_type()':
streamsrc.cpp:42: warning: missing initializer for member `
_GTypeInfo::value_table'
streamsrc.cpp:42: warning: deprecated conversion from string constant to `
gchar*'
streamsrc.cpp:42: warning: deprecated conversion from string constant to `
gchar*'
streamsrc.cpp: In function `void gst_streamsrc_class_init(GstStreamSrcClass*)':
streamsrc.cpp:87: error: integer constant is too large for "long" type
streamsrc.cpp: In function `GstData* gst_streamsrc_get(GstPad*)':
streamsrc.cpp:198: warning: comparison between signed and unsigned integer
expressions
streamsrc.cpp:211: warning: comparison between signed and unsigned integer
expressions
make[6]: *** [streamsrc.lo] Fehler 1
make[6]: Leaving directory `/usr/local/src/tar.gz/amarok-1.1-beta1/amarok/src/engine/gst'
make[5]: *** [all-recursive] Fehler 1
make[5]: Leaving directory `/usr/local/src/tar.gz/amarok-1.1-beta1/amarok/src/engine/gst'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/usr/local/src/tar.gz/amarok-1.1-beta1/amarok/src/engine'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/local/src/tar.gz/amarok-1.1-beta1/amarok/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/local/src/tar.gz/amarok-1.1-beta1/amarok'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/src/tar.gz/amarok-1.1-beta1'
make: *** [all] Fehler 2

Admittedly, people like me probably shouldn't be trying to compile software from source - but still: if anyone has a clue what this means, I'd be interested to know.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]