Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 10:29:49 +0100
From:      Igor Pokrovsky <igor.pokrovsky@cnrm.meteo.fr>
To:        mkd@mnm.uib.es
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: HEADSUP: XFree86 4.3.0 update
Message-ID:  <3E704F8D.4801DD95@cnrm.meteo.fr>
References:  <1047429424.8471.40.camel@leguin> <3E6F745D.7A182002@cnrm.meteo.fr> <20030313011354.Y40359@mkd.mkd.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
mkd@mnm.uib.es wrote:
> > Finally, DRI in 4.3.0 is working fine on my STABLE machine with kernel
> > module,
> > compiled from pre-MFSd diff. Demos are working fine.
> 
>         I have some errors in "make depend" at time to rebuild kernel:
> 
>         # cd /usr/src/sys && patch -p0 < ~/system/drm-stable-20030311.diff
>         # cd i386/config/
>         # config MYKERNEL       (here, it says: unknown option DRM_LINUX)
>                                 (i remove the DRM_LINUX options in config)
>         # cd ../../compile/MYKERNEL
>         # make depend
>         In file included from ../../dev/drm/drmP.h:74,
>         from ../../dev/drm/radeon_cp.c:34:
>          ../../dev/drm/drm_os_freebsd.h:59: opt_drm.h: No such file or directory
>         In file included from ../../dev/drm/drmP.h:74,
>         from ../../dev/drm/radeon_drv.c:33:
>         ../../dev/drm/drm_os_freebsd.h:59: opt_drm.h: No such file or directory
>         In file included from ../../dev/drm/drmP.h:74,
>         from ../../dev/drm/radeon_irq.c:36:
>         ../../dev/drm/drm_os_freebsd.h:59: opt_drm.h: No such file or directory
>         In file included from ../../dev/drm/drmP.h:74,
>         from ../../dev/drm/radeon_mem.c:35:
>         ../../dev/drm/drm_os_freebsd.h:59: opt_drm.h: No such file or directory
>         In file included from ../../dev/drm/drmP.h:74,
>         from ../../dev/drm/radeon_state.c:33:
>         ../../dev/drm/drm_os_freebsd.h:59: opt_drm.h: No such file or directory
>         mkdep: compile failed
>         *** Error code 1
>         Stop in /usr/src/sys/compile/MYKERNEL.
> 
>         Can you help me? I've just readed the Install section in
>         http://people.freebsd.org/~anholt/dri/install.html and i've done
>         all the commands right, what is the error?
> 
>         Thanks, see you!

You are getting this errors because you haven't added any linux
compatibility
options to your kernel config. You can just "touch
/usr/src/sys/compile/MYKERNEL/opt_drm.h"
Then it should compile fine.

-- 
Igor


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E704F8D.4801DD95>