View previous topic :: View next topic |
Author |
Message |
d0minus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/195545056142cbc2df95928.gif)
Joined: 25 Apr 2005 Posts: 90 Location: Ukraine
|
Posted: Mon Apr 10, 2006 10:10 am Post subject: Haighpoint HPT302 (Rocket133) |
|
|
I can't compile driver to ata 133 controller it always return error
Code: |
make KERNELDIR=/usr/src/linux-2.6.15-gentoo-r1 NON_RAID=1
make -C /usr/src/linux-2.6.15-gentoo-r1 SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r1'
WARNING: Symbol version dump /usr/src/linux-2.6.15-gentoo-r1/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /root/ptp302/hpt.o
In file included from include/linux/module.h:10,
from /root/ptp302/hpt.c:5:
include/linux/sched.h:4:37: asm/param.h: No such file or directory
In file included from include/linux/types.h:13,
from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ptp302/hpt.c:5:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ptp302/hpt.c:5:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ptp302/hpt.c:5:
include/linux/types.h:18: error: parse error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage class
include/linux/types.h:21: error: parse error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t'
include/linux/types.h:21: warning: data definition has no type or storage class
include/linux/types.h:22: error: parse error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino_t'
include/linux/types.h:22: warning: data definition has no type or storage class
include/linux/types.h:23: error: parse error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration of `mode_t'
include/linux/types.h:23: warning: data definition has no type or storage class
include/linux/types.h:24: error: parse error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration of `nlink_t'
include/linux/types.h:24: warning: data definition has no type or storage class
include/linux/types.h:25: error: parse error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration of `off_t'
include/linux/types.h:25: warning: data definition has no type or storage class
include/linux/types.h:26: error: parse error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration of `pid_t'
include/linux/types.h:26: warning: data definition has no type or storage class
include/linux/types.h:27: error: parse error before "daddr_t"
include/linux/types.h:27: warning: type defaults to `int' in declaration of `daddr_t'
include/linux/types.h:27: warning: data definition has no type or storage class
include/linux/types.h:29: error: parse error before "suseconds_t"
include/linux/types.h:29: warning: type defaults to `int' in declaration of `suseconds_t'
include/linux/types.h:29: warning: data definition has no type or storage class
include/linux/types.h:30: error: parse error before "timer_t"
include/linux/types.h:30: warning: type defaults to `int' in declaration of `timer_t'
include/linux/types.h:30: warning: data definition has no type or storage class
include/linux/types.h:31: error: parse error before "clockid_t"
include/linux/types.h:31: warning: type defaults to `int' in declaration of `clockid_t'
include/linux/types.h:31: warning: data definition has no type or storage class
include/linux/types.h:35: error: parse error before "uid_t"
include/linux/types.h:35: warning: type defaults to `int' in declaration of `uid_t'
include/linux/types.h:35: warning: data definition has no type or storage class
include/linux/types.h:36: error: parse error before "gid_t"
include/linux/types.h:36: warning: type defaults to `int' in declaration of `gid_t'
include/linux/types.h:36: warning: data definition has no type or storage class
include/linux/types.h:37: error: parse error before "uid16_t"
include/linux/types.h:37: warning: type defaults to `int' in declaration of `uid16_t'
include/linux/types.h:37: warning: data definition has no type or storage class
include/linux/types.h:38: error: parse error before "gid16_t"
include/linux/types.h:38: warning: type defaults to `int' in declaration of `gid16_t'
include/linux/types.h:38: warning: data definition has no type or storage class
include/linux/types.h:42: error: parse error before "old_uid_t"
include/linux/types.h:42: warning: type defaults to `int' in declaration of `old_uid_t'
include/linux/types.h:42: warning: data definition has no type or storage class
include/linux/types.h:43: error: parse error before "old_gid_t"
include/linux/types.h:43: warning: type defaults to `int' in declaration of `old_gid_t'
include/linux/types.h:43: warning: data definition has no type or storage class
include/linux/types.h:55: error: parse error before "loff_t"
include/linux/types.h:55: warning: type defaults to `int' in declaration of `loff_t'
include/linux/types.h:55: warning: data definition has no type or storage class
include/linux/types.h:64: error: parse error before "size_t"
include/linux/types.h:64: warning: type defaults to `int' in declaration of `size_t'
include/linux/types.h:64: warning: data definition has no type or storage class
include/linux/types.h:69: error: parse error before "ssize_t"
include/linux/types.h:69: warning: type defaults to `int' in declaration of `ssize_t'
include/linux/types.h:69: warning: data definition has no type or storage class
include/linux/types.h:74: error: parse error before "ptrdiff_t"
include/linux/types.h:74: warning: type defaults to `int' in declaration of `ptrdiff_t'
include/linux/types.h:74: warning: data definition has no type or storage class
include/linux/types.h:79: error: parse error before "time_t"
include/linux/types.h:79: warning: type defaults to `int' in declaration of `time_t'
include/linux/types.h:79: warning: data definition has no type or storage class
include/linux/types.h:84: error: parse error before "clock_t"
include/linux/types.h:84: warning: type defaults to `int' in declaration of `clock_t'
include/linux/types.h:84: warning: data definition has no type or storage class
include/linux/types.h:89: error: parse error before "caddr_t"
--cut--
include/linux/sched.h:385: error: storage size of `shared_pending' isn't known
include/linux/sched.h:448: error: storage size of `rlim' isn't known
include/linux/sched.h:762: error: storage size of `start_time' isn't known
include/linux/sched.h:791: error: storage size of `thread' isn't known
include/linux/sched.h:803: error: storage size of `pending' isn't known
include/linux/stat.h:68: error: storage size of `atime' isn't known
include/linux/stat.h:69: error: storage size of `mtime' isn't known
include/linux/stat.h:70: error: storage size of `ctime' isn't known
include/linux/device.h:224: error: storage size of `uevent_attr' isn't known
include/linux/pci.h:113: error: storage size of `dev' isn't known
include/linux/fs.h:288: error: storage size of `ia_atime' isn't known
include/linux/fs.h:289: error: storage size of `ia_mtime' isn't known
include/linux/fs.h:290: error: storage size of `ia_ctime' isn't known
include/linux/quota.h:226: error: storage size of `dq_dqb' isn't known
include/linux/fs.h:371: error: storage size of `bd_sem' isn't known
include/linux/fs.h:372: error: storage size of `bd_mount_sem' isn't known
include/linux/fs.h:447: error: storage size of `i_atime' isn't known
include/linux/fs.h:448: error: storage size of `i_mtime' isn't known
include/linux/fs.h:449: error: storage size of `i_ctime' isn't known
include/linux/fs.h:456: error: storage size of `i_sem' isn't known
include/linux/fs.h:457: error: storage size of `i_alloc_sem' isn't known
include/linux/fs.h:483: error: storage size of `inotify_sem' isn't known
include/linux/fs.h:604: error: storage size of `f_owner' isn't known
include/linux/fs.h:792: error: storage size of `s_umount' isn't known
include/linux/fs.h:793: error: storage size of `s_lock' isn't known
include/linux/fs.h:822: error: storage size of `s_vfs_rename_sem' isn't known
include/scsi/scsi_device.h:138: error: storage size of `sdev_gendev' isn't known
include/scsi/scsi_device.h:139: error: storage size of `sdev_classdev' isn't known
make[2]: *** [/root/ptp302/hpt.o] Error 1
make[1]: *** [_module_/root/ptp302] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r1'
make: *** [default] Error 2
|
it must work in non raid mode.
I think I somthing miss, some module
How compile this module ?? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d0minus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/195545056142cbc2df95928.gif)
Joined: 25 Apr 2005 Posts: 90 Location: Ukraine
|
Posted: Mon Apr 10, 2006 10:29 am Post subject: |
|
|
but when I use kernel 2.4 driver compile fine
Code: |
make KERNELDIR=/usr/src/linux
gcc -DDRIVER_VERSION=\"1.2\" -DMODVERSIONS -DMODULE -DLINUX -D_LINUX_ -D__KERNEL__=1 -DCONFIG_PCI -Wall -O2 -Wstrict-prototypes -fomit-frame-pointer -I. -I/usr/src/linux/include -I/usr/src/linux/drivers/scsi -c hpt.c -o hpt.o
In file included from /usr/src/linux/include/asm/semaphore.h:39,
from /usr/src/linux/include/linux/fs.h:199,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from hpt.c:18:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:171: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:171: warning: dereferencing type-punned pointer will break strict-aliasing rules
ld -r hpt.o -o hpt302.o
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NightDragon Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/12958118525a6e1fd5804b7.jpg)
Joined: 21 Aug 2004 Posts: 1156 Location: Vienna (Austria)
|
Posted: Fri May 12, 2006 9:20 am Post subject: |
|
|
Hi!
It's cause the old source-code just supports the kernel up to 2.6.9, but nothing later.
I hope a can find a solution, cause i need a new kernel... (a.t.m. i work with the very old 2.6.9 ck) _________________ You are the problem too all my solutions ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|