Subject: Re: gmplayer fails to build
To: None <firstname.lastname@example.org>
From: David H. Gutteridge <email@example.com>
Date: 03/15/2007 22:53:13
>Running NBSD 3.1/i386, using pkgsrc-current (downloaded yesterday),
>gmplayer fails to build.
>Update: despite a fresh cvs -dAP, it keeps ending with the same error. Odd
>thing is that gmplayer built fine on 3.1/amd64. Anyone else with this
The solution to your problem is likely here:
Specifically, this comment by Christian Biere:
> The CFLAGS poisoning is caused by /usr/pkg/lib/pkgconfig/xrandr.pc
> Could you edit this file and remove '-O2' and '-march=pentium3' from it?
> GCC 4.x will refuse to work if you mix -mcpu and -march, so that will be
> a problem anyway. Does this maybe already fix gmplayer for you?
I found (temporarily) modifying the file referenced to remove -O2 fixed
the compile problem for me.
PS I've posted this to firstname.lastname@example.org instead of netbsd-help@
netbsd.org, as the former list is the one you want for pkgsrc questions.