[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-multimedia
Subject: Re: ../../lib/.libs/libmpeg.so: undefined reference to `ZEROSX'
From: Vladimir Kushnir <vkushnir () i ! kiev ! ua>
Date: 2004-09-13 21:40:55
Message-ID: 200409140040.56837.vkushnir () i ! kiev ! ua
[Download RAW message or body]
Hi Richard
On Monday 13 September 2004 09:24, Richard Čepas wrote:
> ../../lib/.libs/libmpeg.so: undefined reference to `ZEROSX'
>
>
> From:
> Richard Čepas <rch@online.lt>
>
>
> To:
> kde-multimedia@kde.org
>
>
> Date:
> Yesterday 09:24:19
>
>
> Hello,
>
> I'm getting this error compiling few days old KDE_3_3_BRANCH:
> /bin/bash ../../../libtool --silent --mode=link --tag=CXX g++
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> -Wwrite-strings -O2 -O2 -pipe -march=i686 -fno-exceptions -fno-check-new
> -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
> -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o mpgplay -L/usr/X11R6/lib
> -L/usr/local/src/kde3/qt-copy/lib -L/usr/local/kde3.3/lib -L/usr/local/lib
> mpgplay.o ../../lib/libmpeg.la -lX11 -lXext -lm -lstdc++ -lXv -lXxf86dga
> -lXxf86vm -lcdda_paranoia -lcdda_interface -lvorbisfile -lvorbis -logg
> -lc_r -lgcc -Wl,-export-dynamic -pthread ../../lib/.libs/libmpeg.so:
> undefined reference to `ZEROSX'
> ../../lib/.libs/libmpeg.so: undefined reference to `OFFSETWX'
> ../../lib/.libs/libmpeg.so: undefined reference to `OFFSETBX'
> ../../lib/.libs/libmpeg.so: undefined reference to `UBG0BX'
> ../../lib/.libs/libmpeg.so: undefined reference to `OFFSETDX'
> ../../lib/.libs/libmpeg.so: undefined reference to `UR0GRX'
> ../../lib/.libs/libmpeg.so: undefined reference to `CLEARX'
> ../../lib/.libs/libmpeg.so: undefined reference to `YR0GRX'
> ../../lib/.libs/libmpeg.so: undefined reference to `YBG0BX'
> ../../lib/.libs/libmpeg.so: undefined reference to `VBG0BX'
> ../../lib/.libs/libmpeg.so: undefined reference to `VR0GRX'
> gmake[4]: *** [mpgplay] Error 1
> gmake[4]: Leaving directory
> `/usr/local/src/kde3/kdemultimedia/mpeglib/example/mpgplay'
>
> Where do this comes from? Do I miss some assembler lib or something?
> 'configure' doesn't complain.
>
> I can skip that examples dir, but noatun goes into loop crashing artsd
> afterwards with "unix_connect: can't connect to server (unix:/tmp/mcop..."
> message (not a stale file error).
>
> Freebsd 5.3, Xfree86 4.4
>
> Regards,
> Richard.
This comes from __GNUC_PREREQ in
mpeglib/lib/util/render/dither2YUV/rgb2yuvdefs.h (line 23 and below). It's
defined in /usr/include/sys/cdefs.h
The simplest fix should be to
#include <sys/types.h>
into this file (or into everything that #include's it) but I'm lazy :-). So I
simply leave only
# define __attribute_used__ __attribute__ ((__used__))
definition (FreeBSD-CURRENT, gcc-3.4.2 here; probably the same will work for
your version of gcc).
Anybody more knowledgeable: Please commit correct fix, it shouldn't be hard.
Regards,
Vladimir
_______________________________________________
kde-multimedia mailing list
kde-multimedia@kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic