owi build broken in recent 7-CURRENT

Sam Leffler sam at errno.com
Fri Jul 29 03:42:27 GMT 2005


Vladimir Grebenschikov wrote:
> ÷ ÞÔ, 28/07/2005 × 09:18 -0600, M. Warner Losh ÐÉÛÅÔ:
> 
>>In message: <1122556411.1161.5.camel at localhost>
>>            Vladimir Grebenschikov <vova at sw.ru> writes:
>>: 
>>: Hi 
>>: 
>>: /sys/modules/owi# make 
>>: Warning: Object directory not changed from original /usr/src/sys/modules/owi
>>: touch opt_wi.h
>>: awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h
>>: awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
>>: awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
>>: awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
>>: awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs
>>: cc -O2 -fno-strict-aliasing -pipe  -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/owi/../../dev/owi/if_owi.c
>>: /usr/src/sys/modules/owi/../../dev/owi/if_owi.c: In function `owi_generic_attach':
>>: /usr/src/sys/modules/owi/../../dev/owi/if_owi.c:386: warning: passing arg 2 of `ether_ifattach' from incompatible pointer type
>>: *** Error code 1
>>: 
>>: Stop in /usr/src/sys/modules/owi.
>>: /sys/modules/owi#
>>: 
>>: Any clues about ?
>>
>>Any reason you can't use modules/wi?
> 
> 
> Yes, I have very old radio-link based on old 4.x-based routers with old
> wi in ad-hoc mode and sometimes monitor it with my 7-CURRENT notebook.
> wi driver does not work in old wi ad-hoc compatibility mode.

It should work.  owi was created as a fallback to wi when some problems 
were taking a long time to resolve.  But now we believe those problems 
are fixed and owi will soon be removed from the tree.

Try providing details about what doesn't work with wi.  Be sure to 
include chip/card details and the steps to recreate your problem.

	Sam


More information about the freebsd-current mailing list