Система FreeBSD 5.1
Скачивал различные драйвера.... Все под 4.2. Есть информация что нормально работают на 4.6.2
Ни один не ставиться....
Может кто знает где есть драйвера под 4.7 или 5.1
Вот пример компиляции одного из драйверов...
Warning: Object directory not changed from original /testdrv/skystar/driver
cc -O -pipe -mcpu=pentiumpro -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c skystar.c
In file included from dvb.h:5,
from skystar.c:55:
dvb_bsrv2.h:23:3: warning: no newline at end of file
In file included from skystar.c:55:
dvb.h:25:11: warning: no newline at end of file
skystar.c:132: warning: initialization makes integer from pointer without a cast
skystar.c:133: warning: initialization makes integer from pointer without a cast
skystar.c:134: warning: initialization from incompatible pointer type
skystar.c:135: warning: initialization from incompatible pointer type
skystar.c:136: warning: initialization from incompatible pointer type
skystar.c:137: warning: initialization from incompatible pointer type
skystar.c:138: warning: initialization from incompatible pointer type
skystar.c:139: warning: initialization from incompatible pointer type
skystar.c:140: warning: initialization from incompatible pointer type
skystar.c:141: warning: initialization makes pointer from integer without a cast
skystar.c:142: warning: initialization from incompatible pointer type
skystar.c:146: warning: excess elements in struct initializer
skystar.c:146: warning: (near initialization for `skystar_cdevsw')
skystar.c: In function `outcom':
skystar.c:837: warning: `u_short' is promoted to `int' when passed through `...'
skystar.c:837: warning: (so you should pass `int' not `u_short' to `va_arg')
skystar.c: In function `SetFront':
skystar.c:1044: warning: unused variable `front'
skystar.c: In function `net_ipmpe':
skystar.c:1290: warning: implicit declaration of function `ether_input'
skystar.c: In function `init_net':
skystar.c:1314: `ETHER_BPF_SUPPORTED' undeclared (first use in this function)
skystar.c:1314: (Each undeclared identifier is reported only once
skystar.c:1314: for each function it appears in.)
skystar.c: In function `release_net':
skystar.c:1320: `ETHER_BPF_SUPPORTED' undeclared (first use in this function)
skystar.c:1320: too many arguments to function `ether_ifdetach'
skystar.c: In function `skystar_attach':
skystar.c:1513: `PCI_MAP_REG_START' undeclared (first use in this function)
skystar.c: In function `skystar_detach':
skystar.c:1744: `PCI_MAP_REG_START' undeclared (first use in this function)
skystar.c: At top level:
skystar.c:2028: conflicting types for `skystar_open'
skystar.c:122: previous declaration of `skystar_open'
skystar.c:2061: conflicting types for `skystar_close'
skystar.c:123: previous declaration of `skystar_close'
skystar.c:2087: conflicting types for `skystar_ioctl'
skystar.c:126: previous declaration of `skystar_ioctl'
skystar.c:2139: conflicting types for `skystar_mmap'
skystar.c:127: previous declaration of `skystar_mmap'
skystar.c:2145: conflicting types for `skystar_poll'
skystar.c:128: previous declaration of `skystar_poll'
skystar.c:966: warning: `AFC' defined but not used
*** Error code 1
Stop in /testdrv/skystar/driver.
Кто что подскажет?