Господа ивините за навязчивость, но неужели с этим никто не сталкивался?
Возможно-ли скомпилить драйвер http://freebsddvb.narod.ru/files/skystar1-20021126b.tgz под FreeBSD-5.1, может
кто пробовал, вот что оно говорит мне:
Warning: Object directory not changed from original /root/work/skystar/driver
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
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 -I/usr/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:27: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
In file included from skystar.c:57:
arm.h:32:9: warning: multi-line comment
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 `net_ipmpe':
skystar.c:715: warning: implicit declaration of function `ether_input'
skystar.c: In function `init_net':
skystar.c:739: `ETHER_BPF_SUPPORTED' undeclared (first use in this function)
skystar.c:739: (Each undeclared identifier is reported only once
skystar.c:739: for each function it appears in.)
skystar.c: In function `release_net':
skystar.c:745: `ETHER_BPF_SUPPORTED' undeclared (first use in this function)
skystar.c:745: too many arguments to function `ether_ifdetach'
skystar.c: In function `skystar_attach':
skystar.c:938: `PCI_MAP_REG_START' undeclared (first use in this function)
skystar.c: In function `skystar_detach':
skystar.c:1166: `PCI_MAP_REG_START' undeclared (first use in this function)
skystar.c: At top level:
skystar.c:1429: conflicting types for `skystar_open'
skystar.c:122: previous declaration of `skystar_open'
skystar.c:1462: conflicting types for `skystar_close'
skystar.c:123: previous declaration of `skystar_close'
skystar.c:1488: conflicting types for `skystar_ioctl'
skystar.c:126: previous declaration of `skystar_ioctl'
skystar.c:1543: conflicting types for `skystar_mmap'
skystar.c:127: previous declaration of `skystar_mmap'
skystar.c:1549: conflicting types for `skystar_poll'
skystar.c:128: previous declaration of `skystar_poll'
*** Error code 1
У кого оно под 4.x работает, может есть какие соображения?