From owner-freebsd-stable Thu Mar 13 1:30: 3 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B03437B404 for ; Thu, 13 Mar 2003 01:30:01 -0800 (PST) Received: from vivaldi.meteo.fr (vivaldi.meteo.fr [137.129.28.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEFBC43F3F for ; Thu, 13 Mar 2003 01:29:59 -0800 (PST) (envelope-from igor.pokrovsky@cnrm.meteo.fr) Received: from cti825.cnrm.meteo.fr (localhost.meteo.fr [127.0.0.1]) by vivaldi.meteo.fr (8.9.3 (PHNE_25183+JAGae58098)/8.9.3) with ESMTP id JAA06991 for ; Thu, 13 Mar 2003 09:29:55 GMT Received: from xdata.cnrm.meteo.fr (xdata.cnrm.meteo.fr [137.129.150.2]) by cti825.cnrm.meteo.fr (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id KAA18879; Thu, 13 Mar 2003 10:29:52 +0100 (MET) Received: from cnrm.meteo.fr (mai3.cnrm.meteo.fr [137.129.157.34]) by xdata.cnrm.meteo.fr with ESMTP (8.9.3 (PHNE_18546)/8.7.1) id KAA24666; Thu, 13 Mar 2003 10:29:52 +0100 (MET) Message-ID: <3E704F8D.4801DD95@cnrm.meteo.fr> Date: Thu, 13 Mar 2003 10:29:49 +0100 From: Igor Pokrovsky X-Mailer: Mozilla 4.06 [en] (X11; I; HP-UX B.10.20 9000/780) MIME-Version: 1.0 To: mkd@mnm.uib.es Cc: FreeBSD Stable Subject: Re: HEADSUP: XFree86 4.3.0 update References: <1047429424.8471.40.camel@leguin> <3E6F745D.7A182002@cnrm.meteo.fr> <20030313011354.Y40359@mkd.mkd.ath.cx> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (cti825/CNRM) Organization: METEO FRANCE(CNRM) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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