xorg7.2 upgrade and glxgears
[LoN]Kamikaze
LoN_Kamikaze at gmx.de
Sun May 13 20:50:12 UTC 2007
[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.
More information about the freebsd-ports
mailing list