|
From: Fredric L. <fre...@in...> - 2004-09-27 10:29:54
|
Hi, I'm trying to upgrade my DRM module for my kernel, but it fails during compilation=2E I have a 2=2E4=2E24 kernel patched for my Via-card=2E I've to upgrade my DRM-modules to get det Unichrome stuff for my Via-card to work=2E I followed the documentation, at dri=2Esourceforge=2Enet, and downloaded the CVS,=20 "cvs -z3 -d:pserver:anonymous@dri=2Efreedesktop=2Eorg:/cvs/dri co drm"=2E But when I'll try to build the DRM module it fails=2E=2E=2E Here's the output: "/home/fla/drm/linux# make LINUXDIR=3D/usr/src/linux Makefile:176: *** Building 2=2E4 version on =2E Stop=2E" I have my kernel-source and config-file in "/usr/src/linux"=2E Does anybody know why my DRM module won't compile=3F Regards, Fredric |
|
From: Keith W. <ke...@tu...> - 2004-09-27 11:05:21
|
Forwarding to dri-devel. Fredric Larsson wrote: > Hi, > I'm trying to upgrade my DRM module for my kernel, but it fails > during compilation. > I have a 2.4.24 kernel patched for my Via-card. > I've to upgrade my DRM-modules to get det Unichrome stuff for my > Via-card to work. I followed the documentation, at > dri.sourceforge.net, and downloaded the CVS, > "cvs -z3 -d:pserver:ano...@dr...:/cvs/dri co drm". > But when I'll try to build the DRM module it fails... > Here's the output: > "/home/fla/drm/linux# make LINUXDIR=/usr/src/linux > Makefile:176: *** Building 2.4 version on . Stop." > > I have my kernel-source and config-file in "/usr/src/linux". > Does anybody know why my DRM module won't compile? > > Regards, > Fredric > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > -- > _______________________________________________ > Dri-users mailing list > Dri...@li... > https://lists.sourceforge.net/lists/listinfo/dri-users > |
|
From: Fredric L. <fre...@in...> - 2004-09-27 15:43:44
|
I'm running Debian Sarge with a 2.4.24 kernel patched for epia-via. Running "uname -r" gives following result: "/home/fla/drm/linux# uname -r 2.4.24-epia1-nehemia" I'm pasing the path to the Linux source directory on the command line: "/home/fla/drm/linux# make LINUXDIR=/usr/src/linux" /Fredric Jon Smirl wrote: >In the Makefile there is this check: > >RUNNING_REL := $(shell uname -r) > >ifeq ($(findstring 2.4,$(RUNNING_REL)),) >$(error Building 2.4 version on $(RUNNING_REL)) >endif > >It's there to give you a hint that you are building the 2.4 version on >2.6 which doesn't work. > >In your distribution RUNNING_REL must not be getting set correctly. I >only checked this on Redhat since that's all I run. > >Are you passing in the path to the Linux source directory on the >command line instead of letting the Makefile find it automatically? >Which distribution are you running? > > >On Mon, 27 Sep 2004 12:05:10 +0100, Keith Whitwell ><ke...@tu...> wrote: > > >>Forwarding to dri-devel. >> >>Fredric Larsson wrote: >> >> >>>Hi, >>>I'm trying to upgrade my DRM module for my kernel, but it fails >>>during compilation. >>>I have a 2.4.24 kernel patched for my Via-card. >>>I've to upgrade my DRM-modules to get det Unichrome stuff for my >>>Via-card to work. I followed the documentation, at >>>dri.sourceforge.net, and downloaded the CVS, >>>"cvs -z3 -d:pserver:ano...@dr...:/cvs/dri co drm". >>>But when I'll try to build the DRM module it fails... >>>Here's the output: >>>"/home/fla/drm/linux# make LINUXDIR=/usr/src/linux >>>Makefile:176: *** Building 2.4 version on . Stop." >>> >>>I have my kernel-source and config-file in "/usr/src/linux". >>>Does anybody know why my DRM module won't compile? >>> >>>Regards, >>>Fredric >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>>Project Admins to receive an Apple iPod Mini FREE for your judgement on >>>who ports your project to Linux PPC the best. Sponsored by IBM. >>>Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >>>-- >>>_______________________________________________ >>>Dri-users mailing list >>>Dri...@li... >>>https://lists.sourceforge.net/lists/listinfo/dri-users >>> >>> >>> >>------------------------------------------------------- >>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>Project Admins to receive an Apple iPod Mini FREE for your judgement on >>who ports your project to Linux PPC the best. Sponsored by IBM. >>Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >>-- >>_______________________________________________ >>Dri-devel mailing list >>Dri...@li... >>https://lists.sourceforge.net/lists/listinfo/dri-devel >> >> >> > > > > > |
|
From: Jon S. <jon...@gm...> - 2004-09-27 15:48:08
|
You shouldn't need to pass in the path if the kernel is installed with the correct links. The Makefile will automatically find the kernel source. On Mon, 27 Sep 2004 17:43:09 +0200, Fredric Larsson <fre...@in...> wrote: > I'm running Debian Sarge with a 2.4.24 kernel patched for epia-via. > Running "uname -r" gives following result: > "/home/fla/drm/linux# uname -r > 2.4.24-epia1-nehemia" > > I'm pasing the path to the Linux source directory on the command line: > "/home/fla/drm/linux# make LINUXDIR=/usr/src/linux" > > /Fredric > > > > > Jon Smirl wrote: > > >In the Makefile there is this check: > > > >RUNNING_REL := $(shell uname -r) > > > >ifeq ($(findstring 2.4,$(RUNNING_REL)),) > >$(error Building 2.4 version on $(RUNNING_REL)) > >endif > > > >It's there to give you a hint that you are building the 2.4 version on > >2.6 which doesn't work. > > > >In your distribution RUNNING_REL must not be getting set correctly. I > >only checked this on Redhat since that's all I run. > > > >Are you passing in the path to the Linux source directory on the > >command line instead of letting the Makefile find it automatically? > >Which distribution are you running? > > > > > >On Mon, 27 Sep 2004 12:05:10 +0100, Keith Whitwell > ><ke...@tu...> wrote: > > > > > >>Forwarding to dri-devel. > >> > >>Fredric Larsson wrote: > >> > >> > >>>Hi, > >>>I'm trying to upgrade my DRM module for my kernel, but it fails > >>>during compilation. > >>>I have a 2.4.24 kernel patched for my Via-card. > >>>I've to upgrade my DRM-modules to get det Unichrome stuff for my > >>>Via-card to work. I followed the documentation, at > >>>dri.sourceforge.net, and downloaded the CVS, > >>>"cvs -z3 -d:pserver:ano...@dr...:/cvs/dri co drm". > >>>But when I'll try to build the DRM module it fails... > >>>Here's the output: > >>>"/home/fla/drm/linux# make LINUXDIR=/usr/src/linux > >>>Makefile:176: *** Building 2.4 version on . Stop." > >>> > >>>I have my kernel-source and config-file in "/usr/src/linux". > >>>Does anybody know why my DRM module won't compile? > >>> > >>>Regards, > >>>Fredric > >>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > >>>Project Admins to receive an Apple iPod Mini FREE for your judgement on > >>>who ports your project to Linux PPC the best. Sponsored by IBM. > >>>Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > >>>-- > >>>_______________________________________________ > >>>Dri-users mailing list > >>>Dri...@li... > >>>https://lists.sourceforge.net/lists/listinfo/dri-users > >>> > >>> > >>> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > >>Project Admins to receive an Apple iPod Mini FREE for your judgement on > >>who ports your project to Linux PPC the best. Sponsored by IBM. > >>Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > >>-- > >>_______________________________________________ > >>Dri-devel mailing list > >>Dri...@li... > >>https://lists.sourceforge.net/lists/listinfo/dri-devel > >> > >> > >> > > > > > > > > > > > > -- Jon Smirl jon...@gm... |
|
From: Jon S. <jon...@gm...> - 2004-09-27 15:13:57
|
In the Makefile there is this check: RUNNING_REL := $(shell uname -r) ifeq ($(findstring 2.4,$(RUNNING_REL)),) $(error Building 2.4 version on $(RUNNING_REL)) endif It's there to give you a hint that you are building the 2.4 version on 2.6 which doesn't work. In your distribution RUNNING_REL must not be getting set correctly. I only checked this on Redhat since that's all I run. Are you passing in the path to the Linux source directory on the command line instead of letting the Makefile find it automatically? Which distribution are you running? On Mon, 27 Sep 2004 12:05:10 +0100, Keith Whitwell <ke...@tu...> wrote: > Forwarding to dri-devel. > > Fredric Larsson wrote: > > Hi, > > I'm trying to upgrade my DRM module for my kernel, but it fails > > during compilation. > > I have a 2.4.24 kernel patched for my Via-card. > > I've to upgrade my DRM-modules to get det Unichrome stuff for my > > Via-card to work. I followed the documentation, at > > dri.sourceforge.net, and downloaded the CVS, > > "cvs -z3 -d:pserver:ano...@dr...:/cvs/dri co drm". > > But when I'll try to build the DRM module it fails... > > Here's the output: > > "/home/fla/drm/linux# make LINUXDIR=/usr/src/linux > > Makefile:176: *** Building 2.4 version on . Stop." > > > > I have my kernel-source and config-file in "/usr/src/linux". > > Does anybody know why my DRM module won't compile? > > > > Regards, > > Fredric > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > who ports your project to Linux PPC the best. Sponsored by IBM. > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > -- > > _______________________________________________ > > Dri-users mailing list > > Dri...@li... > > https://lists.sourceforge.net/lists/listinfo/dri-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > -- > _______________________________________________ > Dri-devel mailing list > Dri...@li... > https://lists.sourceforge.net/lists/listinfo/dri-devel > -- Jon Smirl jon...@gm... |
|
From: Jon S. <jon...@gm...> - 2004-09-27 15:44:54
|
I changed the Makefile in CVS to let it build with RUNNING_REL null. It was just a hint, it wan't a required item. Now it looks for 2.6 and complains instead of complaining on not 2.4. On Mon, 27 Sep 2004 11:12:43 -0400, Jon Smirl <jon...@gm...> wrote: > In the Makefile there is this check: > > RUNNING_REL := $(shell uname -r) > > ifeq ($(findstring 2.4,$(RUNNING_REL)),) > $(error Building 2.4 version on $(RUNNING_REL)) > endif > > It's there to give you a hint that you are building the 2.4 version on > 2.6 which doesn't work. > > In your distribution RUNNING_REL must not be getting set correctly. I > only checked this on Redhat since that's all I run. > > Are you passing in the path to the Linux source directory on the > command line instead of letting the Makefile find it automatically? > Which distribution are you running? > > > > > On Mon, 27 Sep 2004 12:05:10 +0100, Keith Whitwell > <ke...@tu...> wrote: > > Forwarding to dri-devel. > > > > Fredric Larsson wrote: > > > Hi, > > > I'm trying to upgrade my DRM module for my kernel, but it fails > > > during compilation. > > > I have a 2.4.24 kernel patched for my Via-card. > > > I've to upgrade my DRM-modules to get det Unichrome stuff for my > > > Via-card to work. I followed the documentation, at > > > dri.sourceforge.net, and downloaded the CVS, > > > "cvs -z3 -d:pserver:ano...@dr...:/cvs/dri co drm". > > > But when I'll try to build the DRM module it fails... > > > Here's the output: > > > "/home/fla/drm/linux# make LINUXDIR=/usr/src/linux > > > Makefile:176: *** Building 2.4 version on . Stop." > > > > > > I have my kernel-source and config-file in "/usr/src/linux". > > > Does anybody know why my DRM module won't compile? > > > > > > Regards, > > > Fredric > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > > who ports your project to Linux PPC the best. Sponsored by IBM. > > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > > -- > > > _______________________________________________ > > > Dri-users mailing list > > > Dri...@li... > > > https://lists.sourceforge.net/lists/listinfo/dri-users > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > who ports your project to Linux PPC the best. Sponsored by IBM. > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > -- > > _______________________________________________ > > Dri-devel mailing list > > Dri...@li... > > https://lists.sourceforge.net/lists/listinfo/dri-devel > > > > > -- > Jon Smirl > jon...@gm... > -- Jon Smirl jon...@gm... |