kdeaddons & kdemultimedia (Fwd: kdemultimedia-3.1rc5 - build error in /mpeglib/example/mpgplay)

Vadim Plessky lucy-ples at mtu-net.ru
Tue Dec 31 07:20:23 GMT 2002


As question remains unanswered on kde-devel, I'd like to ask here with hope to 
get some help.

As a side note:  *why kdeaddons depend on kdemultimedia*?
I am urgently need kdeaddons ( Web Archiver, which I use on regular basis) but 
can't start building kdeaddons before building kdemultimedia.
Shouldn't we split "KDE multimedia addons" from "KDE non-multimedia addons" 
(web archiver, UA identity switcher, etc.)?
kdemultimedia is known to have build problems from release to release, so 
making other modules *not depending* on kdemultimedia is a Good Idea, IMHO.

Vadim

----------  Forwarded Message  ----------

Subject: kdemultimedia-3.1rc5 - build error in /mpeglib/example/mpgplay
Date: Sunday 29 December 2002 22:53
From: Vadim Plessky <lucy-ples at mtu-net.ru>
To: kde-devel at kde.org

Returned from Christmas vacation, and try to finish build of KDE 3.1-RC5
I rebuild kdemultimedia-3.1-0.rc5.2mdk.src.rpm with gcc 2.96, on LM 8.2

Errors:
--------------------------------------------------------------------------
make[3]: Entering directory
`/usr/src/RPM/BUILD/kdemultimedia-3.1rc5/mpeglib/example'
Making all in mpgplay
make[4]: Entering directory
`/usr/src/RPM/BUILD/kdemultimedia-3.1rc5/mpeglib/example/mpgplay'
source='mpgplay.cpp' object='mpgplay.o' libtool=no \
depfile='.deps/mpgplay.Po' tmpdepfile='.deps/mpgplay.TPo' \
depmode=gcc3 /bin/sh ../../../admin/depcomp \
i586-mandrake-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..
-I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG
-DNO_DEBUG -O2 -O3 -pipe -mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST  -c -o mpgplay.o `test -f 'mpgplay.cpp' || echo
'./'`mpgplay.cpp
In file included from ../../lib/input/cddaInputStream.h:36,
                 from ../../lib/input/inputPlugin.h:24,
                 from ../../lib/decoder/decoderPlugin.h:25,
                 from ../../lib/decoder/mpgPlugin.h:18,
                 from mpgplay.cpp:9:
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string
constant to `char *'
/bin/sh ../../../libtool --silent --mode=link --tag=CXX
i586-mandrake-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG
-DNO_DEBUG -O2 -O3 -pipe -mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST    -o mpgplay -L/usr/X11R6/lib -L/usr/lib/qt3/lib
-L/usr/lib   mpgplay.o ../../lib/libmpeg.la -lX11 -lXext -lm -lstdc++ -lXv
-lXxf86dga  -lXxf86vm  -lcdda_paranoia -lcdda_interface  -lvorbisfile
-lvorbis -logg -lpthread
mpgplay.o: In function `main':
mpgplay.o(.text+0xa0): undefined reference to `cout'
mpgplay.o(.text+0xa5): undefined reference to `ostream::operator<<(char const
*)'
mpgplay.o(.text+0xad): undefined reference to `endl(ostream &)'
mpgplay.o(.text+0xc2): undefined reference to `cout'
mpgplay.o(.text+0xc7): undefined reference to `ostream::operator<<(char const
*)'
mpgplay.o(.text+0xcf): undefined reference to `endl(ostream &)'
mpgplay.o(.text+0xef): undefined reference to `cout'
mpgplay.o(.text+0xf4): undefined reference to `ostream::operator<<(char const
*)'
mpgplay.o(.text+0xfc): undefined reference to `endl(ostream &)'
mpgplay.o(.text+0x119): undefined reference to `cout'
mpgplay.o(.text+0x11e): undefined reference to `ostream::operator<<(char
 const *)'
mpgplay.o(.text+0x126): undefined reference to `endl(ostream &)'
../../lib/.libs/libmpeg.so: undefined reference to `cerr'
../../lib/.libs/libmpeg.so: undefined reference to
`ostream::operator<<(unsigned long)'
../../lib/.libs/libmpeg.so: undefined reference to
 `ostream::operator<<(char)' ../../lib/.libs/libmpeg.so: undefined reference
 to `ostream::operator<<(long)' ../../lib/.libs/libmpeg.so: undefined
 reference to `ostream::operator<<(void const *)'
../../lib/.libs/libmpeg.so: undefined reference to
`ostream::operator<<(double)'
../../lib/.libs/libmpeg.so: undefined reference to `ostream::operator<<(long
long)'
../../lib/.libs/libmpeg.so: undefined reference to `ostream::operator<<(int)'
../../lib/.libs/libmpeg.so: undefined reference to
`ostream::operator<<(unsigned int)'
collect2: ld returned 1 exit status
make[4]: *** [mpgplay] Error 1
make[4]: Leaving directory
`/usr/src/RPM/BUILD/kdemultimedia-3.1rc5/mpeglib/example/mpgplay'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/RPM/BUILD/kdemultimedia-3.1rc5/mpeglib/example'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/kdemultimedia-3.1rc5/mpeglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/kdemultimedia-3.1rc5'
make: *** [all] Error 2
error: Bad exit status from /usr/src/RPM/tmp/rpm-tmp.12321 (%build)


RPM build errors:
    Bad exit status from /usr/src/RPM/tmp/rpm-tmp.12321 (%build)
------------------------------------------------------------------

Any idea what is going wrong?

-------------------------------------------------------

-- 

Vadim Plessky
SVG Icons * BlueSphere Icons 0.3.0 released
http://svgicons.sourceforge.net
My KDE page
http://kde2.newmail.ru  (English)
KDE mini-Themes
http://kde2.newmail.ru/themes/






More information about the kde-core-devel mailing list