[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SLUG] Installing Driver Problems Under Red Hat 6.2



Hi All

Wondering if anyone can help out with why I am having trouble installing
a driver under Red Hat 6.2
Kernel 2.2.17-14.

Red Hat 6.2 is newly installed and the driver I need to install works
fine under SuSE 7.0
Below are the command line outputs when I ;
(apologies_its long!)
1. make depend
2. make
3. make devices
4. make install

Any solutions greatly appreciated as always.
Thanks in advance.

Regards
David
-------------------------------------------------------------

[root@nospam.seismic driver]# make depend
/bin/cp Makefile.orig Makefile
/usr/bin/X11/makedepend dio48h.c diotest.c
/usr/bin/X11/makedepend: warning:  dio48h.c, line 1: cannot find include
file "linux/version.h"
	not in /usr/local/lib/gcc-include/linux/version.h
	not in /usr/include/linux/version.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/version.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
16): cannot find include file "linux/autoconf.h"
	not in /usr/local/lib/gcc-include/linux/autoconf.h
	not in /usr/include/linux/autoconf.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/autoconf.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
25): cannot find include file "linux/version.h"
	not in /usr/local/lib/gcc-include/linux/version.h
	not in /usr/include/linux/version.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/version.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
26): cannot find include file "linux/module.h"
	not in /usr/local/lib/gcc-include/linux/module.h
	not in /usr/include/linux/module.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/module.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
27): cannot find include file "linux/types.h"
	not in /usr/local/lib/gcc-include/linux/types.h
	not in /usr/include/linux/types.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/types.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
28): cannot find include file "linux/errno.h"
	not in /usr/local/lib/gcc-include/linux/errno.h
	not in /usr/include/linux/errno.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/errno.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
29): cannot find include file "linux/fs.h"
	not in /usr/local/lib/gcc-include/linux/fs.h
	not in /usr/include/linux/fs.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/fs.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
30): cannot find include file "linux/major.h"
	not in /usr/local/lib/gcc-include/linux/major.h
	not in /usr/include/linux/major.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/major.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
31): cannot find include file "linux/mm.h"
	not in /usr/local/lib/gcc-include/linux/mm.h
	not in /usr/include/linux/mm.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/mm.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
32): cannot find include file "linux/timer.h"
	not in /usr/local/lib/gcc-include/linux/timer.h
	not in /usr/include/linux/timer.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/timer.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
33): cannot find include file "linux/ioport.h"
	not in /usr/local/lib/gcc-include/linux/ioport.h
	not in /usr/include/linux/ioport.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/ioport.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
34): cannot find include file "linux/kernel.h"
	not in /usr/local/lib/gcc-include/linux/kernel.h
	not in /usr/include/linux/kernel.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/kernel.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
35): cannot find include file "linux/malloc.h"
	not in /usr/local/lib/gcc-include/linux/malloc.h
	not in /usr/include/linux/malloc.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/malloc.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
36): cannot find include file "linux/string.h"
	not in /usr/local/lib/gcc-include/linux/string.h
	not in /usr/include/linux/string.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/string.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
37): cannot find include file "linux/signal.h"
	not in /usr/local/lib/gcc-include/linux/signal.h
	not in /usr/include/linux/signal.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/signal.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
38): cannot find include file "asm/io.h"
	not in /usr/local/lib/gcc-include/asm/io.h
	not in /usr/include/asm/io.h
	not in /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/asm/io.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
39): cannot find include file "asm/segment.h"
	not in /usr/local/lib/gcc-include/asm/segment.h
	not in /usr/include/asm/segment.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/asm/segment.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
40): cannot find include file "asm/system.h"
	not in /usr/local/lib/gcc-include/asm/system.h
	not in /usr/include/asm/system.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/asm/system.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio48h_2_2.c, line
41): cannot find include file "asm/uaccess.h"
	not in /usr/local/lib/gcc-include/asm/uaccess.h
	not in /usr/include/asm/uaccess.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/asm/uaccess.h
/usr/bin/X11/makedepend: warning:  dio48h.c (reading dio.h, line 13):
cannot find include file "linux/ioctl.h"
	not in /usr/local/lib/gcc-include/linux/ioctl.h
	not in /usr/include/linux/ioctl.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/linux/ioctl.h
/usr/bin/X11/makedepend: warning:  diotest.c (reading
/usr/include/bits/ioctls.h, line 24): cannot find include file
"asm/ioctls.h"
	not in /usr/local/lib/gcc-include/asm/ioctls.h
	not in /usr/include/asm/ioctls.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/asm/ioctls.h
/usr/bin/X11/makedepend: warning:  diotest.c (reading
/usr/include/bits/ioctl-types.h, line 25): cannot find include file
"asm/ioctls.h"
	not in /usr/local/lib/gcc-include/asm/ioctls.h
	not in /usr/include/asm/ioctls.h
	not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/asm/ioctls.h

[root@nospam.seismic driver]# make
gcc -DADAPTER_ID=\"CIO-DIO48H\" -D__KERNEL__ -DDEFAULT_MAJOR_DEV=35
-Wall -O6 -fomit-frame-pointer -m486    -c -o dio48h.o dio48h.c
dio48h.c:1: linux/version.h: No such file or directory
In file included from dio48h.c:3:
dio48h_2_2.c:16: linux/autoconf.h: No such file or directory
dio48h_2_2.c:25: linux/version.h: No such file or directory
dio48h_2_2.c:26: linux/module.h: No such file or directory
dio48h_2_2.c:27: linux/types.h: No such file or directory
dio48h_2_2.c:28: linux/errno.h: No such file or directory
dio48h_2_2.c:29: linux/fs.h: No such file or directory
dio48h_2_2.c:30: linux/major.h: No such file or directory
dio48h_2_2.c:31: linux/mm.h: No such file or directory
dio48h_2_2.c:32: linux/timer.h: No such file or directory
dio48h_2_2.c:33: linux/ioport.h: No such file or directory
dio48h_2_2.c:34: linux/kernel.h: No such file or directory
dio48h_2_2.c:35: linux/malloc.h: No such file or directory
dio48h_2_2.c:36: linux/string.h: No such file or directory
dio48h_2_2.c:37: linux/signal.h: No such file or directory
dio48h_2_2.c:38: asm/io.h: No such file or directory
dio48h_2_2.c:39: asm/segment.h: No such file or directory
dio48h_2_2.c:40: asm/system.h: No such file or directory
dio48h_2_2.c:41: asm/uaccess.h: No such file or directory
In file included from dio48h_2_2.c:43,
                 from dio48h.c:3:
dio.h:13: linux/ioctl.h: No such file or directory
make: *** [dio48h.o] Error 1


[root@nospam.seismic driver]# make devices
/bin/rm -f /dev/dio48H*    
/bin/mknod /dev/dio48H_1A  c 35 0
/bin/mknod /dev/dio48H_1B  c 35 1
/bin/mknod /dev/dio48H_1C  c 35 2
/bin/mknod /dev/dio48H_2A  c 35 3
/bin/mknod /dev/dio48H_2B  c 35 4
/bin/mknod /dev/dio48H_2C  c 35 5
/bin/chmod 666 /dev/dio48H*
[root@nospam.seismic driver]# 


[root@nospam.seismic driver]# make install
/sbin/rmmod dio48H
rmmod: module dio48H is not loaded
make: [install] Error 1 (ignored)
/sbin/insmod -f dio48H.o
dio48H.o: dio48H.o: No such file or directory
make: [install] Error 1 (ignored)
/bin/cp ./dio.h /usr/local/include/dio.h
/bin/cp: cannot create regular file `/usr/local/include/dio.h': No such
file or directory
make: [install] Error 1 (ignored)
/bin/chmod 644 /usr/local/include/dio.h 
/bin/chmod: /usr/local/include/dio.h: No such file or directory
make: [install] Error 1 (ignored)
install ./dio48H.o /lib/modules/preferred/misc/dio48H.o
install: ./dio48H.o: No such file or directory
make: [install] Error 1 (ignored)
[root@nospam.seismic driver]# 


-- 
------------------
   D.V. Rogers
www.allshookup.org
------------------

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug