All of lore.kernel.org
 help / color / mirror / Atom feed
* [error] xf86-video-nouveau on OpenBSD
@ 2012-04-11 17:59 rustyBSD
       [not found] ` <4F85C695.2070008-DaQTI0RpDDMAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: rustyBSD @ 2012-04-11 17:59 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]

Hi,
I'm trying to compile nouveau on OpenBSD, but I always get an error message.

I have already compiled libdrm like this :
echo "/usr/X11R6/share/aclocal" >> /usr/local/share/aclocal/dirlist
./configure --enable-nouveau-experimental-api
make
make install

There wasn't any problem.

Then, I try to compile xf86-video-nouveau with :
./configure
make

But I get this error message :

  CC     nvc0_exa.lo
  CC     nvc0_xv.lo
  CC     drmmode_display.lo
drmmode_display.c: In function 'drmmode_page_flip':
drmmode_display.c:1319: warning: implicit declaration of function
'drmModePageFlip'
drmmode_display.c: In function 'drmmode_screen_init':
drmmode_display.c:1476: error: 'drmEventContext' has no member named
'page_flip_handler'
*** Error code 1

Stop in /home/xf86-video-nouveau-0.0.10/xf86-video-nouveau/src (line 448
of Makefile).
*** Error code 1

Stop in /home/xf86-video-nouveau-0.0.10/xf86-video-nouveau (line 373 of
Makefile).
*** Error code 1

Stop in /home/xf86-video-nouveau-0.0.10/xf86-video-nouveau (line 282 of
Makefile).

Any idea ?Is there anybody who can help me ?

Thanks !

[-- Attachment #1.2: Type: text/html, Size: 1847 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [error] xf86-video-nouveau on OpenBSD
       [not found] ` <4F85C695.2070008-DaQTI0RpDDMAvxtiuMwx3w@public.gmane.org>
@ 2012-04-11 18:34   ` Emil Velikov
  0 siblings, 0 replies; 2+ messages in thread
From: Emil Velikov @ 2012-04-11 18:34 UTC (permalink / raw)
  To: rustyBSD; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On Wed, 11 Apr 2012 18:59:49 +0100, rustyBSD <cypherique-DaQTI0RpDDMAvxtiuMwx3w@public.gmane.org> wrote:

> Hi,
> I'm trying to compile nouveau on OpenBSD, but I always get an error  
> message.
Hello rusty

One thing that you should be aware is that you would need a drm(or ported)
kernel module as nouveau does provide KMS only

Secondly, take into account that I'm not a BSD person


>
> I have already compiled libdrm like this :
> echo "/usr/X11R6/share/aclocal" >> /usr/local/share/aclocal/dirlist
> ./configure --enable-nouveau-experimental-api
> make
> make install
By doing so you are installing everything to /usr/local


>
> There wasn't any problem.
>
> Then, I try to compile xf86-video-nouveau with :
> ./configure
> make
>
> But I get this error message :
>
>   CC     nvc0_exa.lo
>   CC     nvc0_xv.lo
>   CC     drmmode_display.lo
> drmmode_display.c: In function 'drmmode_page_flip':
> drmmode_display.c:1319: warning: implicit declaration of function
> 'drmModePageFlip'
'drmModePageFlip' is defined in xf86drmMode.h
Which in your case cannot be found due to being provided by libdrm
(located in /usr/local)
Or
The build system may be using outdated xf86drm* headers


> drmmode_display.c: In function 'drmmode_screen_init':
> drmmode_display.c:1476: error: 'drmEventContext' has no member named
> 'page_flip_handler'
> *** Error code 1
>
> Stop in /home/xf86-video-nouveau-0.0.10/xf86-video-nouveau/src (line 448
> of Makefile).
> *** Error code 1
>
> Stop in /home/xf86-video-nouveau-0.0.10/xf86-video-nouveau (line 373 of
> Makefile).
> *** Error code 1
>
> Stop in /home/xf86-video-nouveau-0.0.10/xf86-video-nouveau (line 282 of
> Makefile).
>
> Any idea ?Is there anybody who can help me ?
 From what I can see you have two options
* Install libdrm to /usr
...; ./configure --enable-nouveau-experimental-api --prefix=/usr/; ...

or
* Consult with OpenBSD/automake guys how to educate automake that the
headers are located in /us/local

Cheers,
Emil


>
> Thanks !

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-11 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 17:59 [error] xf86-video-nouveau on OpenBSD rustyBSD
     [not found] ` <4F85C695.2070008-DaQTI0RpDDMAvxtiuMwx3w@public.gmane.org>
2012-04-11 18:34   ` Emil Velikov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.