Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2007 22:49:45 +0200
From:      "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: xorg7.2 upgrade and glxgears
Message-ID:  <464779E9.6050202@gmx.de>
In-Reply-To: <46477582.1090701@gmx.de>
References:  <200705121253.00387.vehemens@verizon.net>	<464650DF.6040602@gmx.de>	<20070513003000.GE92848@redundancy.redundancy.org>	<4646AA9E.7000708@gmx.de>	<20070513060837.GA33963@xor.obsecurity.org> <46477582.1090701@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help


[LoN]Kamikaze wrote:
> Kris Kennaway wrote:
>> On Sun, May 13, 2007 at 08:05:18AM +0200, [LoN]Kamikaze wrote:
>>> David Thiel wrote:
>>>> On Sun, May 13, 2007 at 01:42:23AM +0200, [LoN]Kamikaze wrote:
>>>>> After the upgrade I don't have glxgears or glxinfo on my system. Could anyone
>>>>> tell me which port they belong to?
>>>> graphics/mesa-demos.
>>> Thanks a lot for the pointer. It really doesn't look pretty on my system:
>>>
>>> cc -c -I. -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM
>>> -DHZ=100 -O2 -fno-strict-aliasing -pipe -march=pentium4 -DWITH_NVIDIA_GL=0
>>> xuserotfont.c
>>> cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM -DHZ=100 -O2
>>> -fno-strict-aliasing -pipe -march=pentium4 -DWITH_NVIDIA_GL=0 xrotfontdemo.o
>>> xuserotfont.o -L/usr/local/lib -lglut -lGLU -lGL -lXext -lXmu -lXi -lX11 -lm -o
>>> xrotfontdemo
>>> cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM -DHZ=100 -O2
>>> -fno-strict-aliasing -pipe -march=pentium4 -DWITH_NVIDIA_GL=0 yuvrect_client.c
>>> -L/usr/local/lib -lglut -lGLU -lGL -lXext -lXmu -lXi -lX11 -lm -o yuvrect_client
>>> /var/tmp//ccK3MhR9.o(.text+0x1088): In function `main':
>>> : undefined reference to `glXAllocateMemoryNV'
>>> /var/tmp//ccK3MhR9.o(.text+0x14dd): In function `main':
>>> : undefined reference to `glXFreeMemoryNV'
>>> gmake[1]: *** [yuvrect_client] Error 1
>>> gmake[1]: Leaving directory
>>> `/usr/obj/homeKamikaze.norad/usr/ports/graphics/mesa-demos/work/Mesa-6.5.3/progs/xdemos'
>>> gmake: *** [default] Error 1
>>> *** Error code 2
>>>
>>> Stop in /usr/ports/graphics/mesa-demos.
>> Yep, broken.
>>
> 
> It seems that the WITH_NVIDIA_GL=0 triggers the ifdef statements in
> yuvrect_client.c. So I suggest this is a bug in the port. Setting
> WITH_NVIDIA_GL simply shouldn't happen.

After fixing the port it builds and installs fine. However, glxgears also
reports a failed request. I cannot help but think that mesa with radeon is broken.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?464779E9.6050202>