From: Martin D. <md...@st...> - 2003-05-05 05:58:02
|
I was able to get the drm modules to compile by creating a directory structure that was in the tmp_include_depends file and copying my complete kernel source tree into it. I created the following directory structure (as referenced by the tmp_include_depends file) /usr/src/build/236023-i386/install/usr/src/linux-2.4.20-9 and copied all of the file and directories in=20 /usr/src/linux-2.4.20-9 into that new directory=20 I have not tried the drm modules that compiled successfully yet. I will pass it on if I can get it to work. On Sun, 2003-05-04 at 00:46, Martin Duffy wrote: > I may have accidentally sent a reply directly to some individuals on a > previous message. Please excuse me for doing that...... >=20 > I tried to run the make with the bleeding edge snapshot for May 3, 2003 > and I got a different error this time. >=20 > Here is a snip of dri.log where the error happened > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > touch: creating > `/usr/src/build/236023-i386/install/usr/src/linux-2.4.20-9/fs/jf > s/jfs_debug.h': No such file or directory > make[2]: *** > [/usr/src/build/236023-i386/install/usr/src/linux-2.4.20-9/fs/jfs/j > fs_debug.h] Error 1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > I do have the file that is mentioned on my file system: >=20 > /usr/src/linux-2.4.20-9/fs/jfs/jfs_debug.h >=20 >=20 > I am running Redhat 9 kernel 2.4.20-9 I have a mach64 ATI Rage Mobility > card in a Dell Inspiron 7500 >=20 > Here is the output to dri.log >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > [root@localhost drm]# make -f Makefile.linux > rm -f /lib/modules/2.4.20-9/build/.config > ln -s /lib/modules/2.4.20-9/build/configs/kernel-2.4.20-i686.config > /lib/modules > /2.4.20-9/build/.config > rm -f .config > ln -s /lib/modules/2.4.20-9/build/configs/kernel-2.4.20-i686.config > .config > rm -f linux > ln -s . linux > + ln -s Makefile.linux Makefile > make -C /lib/modules/2.4.20-9/build SUBDIRS=3D`pwd` DRMSRCDIR=3D`pwd` > modules > make[1]: Entering directory `/usr/src/linux-2.4.20-9' > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o > scripts/split-include > scripts/split-include.c > scripts/split-include include/linux/autoconf.h include/config > make -r -f tmp_include_depends all > make[2]: Entering directory `/usr/src/linux-2.4.20-9' > touch: creating > `/usr/src/build/236023-i386/install/usr/src/linux-2.4.20-9/fs/jf > s/jfs_debug.h': No such file or directory > make[2]: *** > [/usr/src/build/236023-i386/install/usr/src/linux-2.4.20-9/fs/jfs/j > fs_debug.h] Error 1 > make[2]: Leaving directory `/usr/src/linux-2.4.20-9' > make[1]: *** [tmp_include_depends] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.4.20-9' > make: *** [modules] Error 2 >=20 >=20 > On Sat, 2003-05-03 at 06:24, Jos=C3=A9 Fonseca wrote: > > On Fri, May 02, 2003 at 10:09:33PM -0500, Leif Delgass wrote: > > > It looks like the snapshots aren't up to date with the lastest CVS = branch > > > code (maybe they are still being built from the older branch?). =20 > >=20 > > Yes. Fixed and just fired a new build now which should complete soon. > >=20 > > > The best > > > thing right now is probably to go with option 2 and checkout the CV= S=20 > > > branch and follow the compile guide. > >=20 > > Jos=C3=A9 Fonseca > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dri-users mailing list > > Dri...@li... > > https://lists.sourceforge.net/lists/listinfo/dri-users --=20 Martin Duffy <md...@st...> StarSoft, Inc. |