[Openchrome-users] drm.h; OpenChrome driver and NetBSD/amd64 3.0 - help fixing build system
Jan Danielsson
jan.m.danielsson
Wed Sep 27 16:12:55 PDT 2006
Thomas Hellstr?m wrote:
[---]
>> Could someone explain more in detail what is failing, why, and how to
>> fix it?
> This is probably because you are doing a non-dri build, and the
> openChrome driver was
> mistakenly including some dri related headers.
Oh. Quick question: What are DRI and DRM? Are they the same thing,
but different implementations? AFAICT, DRI seems to require kernel
support of some sorts (which NetBSD appears not to have), while NetBSD
seems to be able to handle DRM.
> Please try openChrome revision 221.
Yes, that did the trick. Thanks.
Now I wanted to give libxvmc a go, but I only get as far as:
------------------------------------------
$ make
cc -O2 -fno-strict-aliasing -ansi -Dasm=__asm -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//exports/include/X11
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//exports/include
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//lib/X11
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//include/extensions
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//programs/Xserver/hw/xfree86/common
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//programs/Xserver/hw/xfree86/os-support
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//extras/drm/shared-core
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//extras/drm/shared
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
-I../unichrome -I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc/
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//exports/include
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/.buildlink/include
-DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -fPIC -DTRUE=1 -DFALSE=0 -c
viaXvMC.c
cc -O2 -fno-strict-aliasing -ansi -Dasm=__asm -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//exports/include/X11
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//exports/include
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//lib/X11
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//include/extensions
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//programs/Xserver/hw/xfree86/common
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//programs/Xserver/hw/xfree86/os-support
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//extras/drm/shared-core
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//extras/drm/shared
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
-I../unichrome -I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc/
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/xc//exports/include
-I/home/pkgsrc/pkgsrc/x11/xorg-server/work/.buildlink/include
-DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -fPIC -DTRUE=1 -DFALSE=0 -c
viaLowLevel.c
make: don't know how to make xf86drm.o. Stop
make: stopped in /home/jan/source/openchrome/libxvmc
------------------------------------------
I assume that it is trying to build the xf86drm.c found in
xc/extras/drm/libdrm/ ? I tried copying all the files it complains about
to the libxvmc directory, and reran make, and now I have a libviaXvMC.so
file.
Question is: What do I do with it? How do I use it?
Does the (potential?) lack of DRI affect the relevance of XvMC on NetBSD?
--
Kind regards,
Jan Danielsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20060928/b8961293/signature.bin
More information about the Openchrome-users
mailing list