Subject: Gmplayer fails to build on NetBSD 3.1
To: None <pkgsrc-users@netbsd.org>
From: Axel Keuchel <keuchel@online.de>
List: pkgsrc-users
Date: 06/18/2007 22:06:41
Hi there,

recently I've tried to build Gmplayer from pkgsrc. The process failed wi=
th  =

this message:

libavcodec/libavcodec.a(cabac.o)(.text+0x10cb): In function  =

`decode_significance_8x8_x86':
: undefined reference to `last_coeff_flag_offset_8x8'
gmake: *** [mplayer] Fehler 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/multimedia/gmplayer
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/gmplayer

I've searched for a solution and indeed I found this thread on  =

pkgsrc-users:

http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=3D34980

But the solution mentioned there failed in my case. I removed '-O2' from=

/usr/pkg/lib/pkgconfig/xrandr.pc which looks like this:

prefix=3D/usr/pkg
exec_prefix=3D${prefix}
libdir=3D${exec_prefix}/lib
includedir=3D${prefix}/include

Name: Xrandr
Description: X RandR Library
Version: 1.0.2
Cflags: -I${includedir} -O2 -I/usr/pkg/include -I/usr/X11R6/include   =

-I/usr/X11R
6/include -DXTHREADS
Libs: -Wl,-R${libdir} -L${libdir} -lXrandr -L/usr/pkg/lib  =

-Wl,-R/usr/pkg/lib -L/
usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lXrender -lXext  -L/usr/X11R6/lib -l=
X11

But buildung Gmplayer still failes because of the above mentioned  =

"undefined reference".

Does anybody know how to solve this problem?

Thanks in advance:-)!

-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/