Date: Fri, 26 Sep 2003 11:46:26 +0800 From: TaxF <maxtaylor@mail.ru> To: freebsd-mobile@freebsd.org Subject: Beta BroadCom 4401 driver Message-ID: <3F73B692.30009@mail.ru>
next in thread | raw e-mail | index | archive | help
Hello ! I try compile those on FreeBSD 4.7 . And correct 'make: don't know how to make miidevs.h. Stop'(i copy miidevs.h into /sys/modules/bcm) and (i edit if_bcm.c line 67,68): '/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:67: dev/pci/pcireg.h: No such file or directory' '/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:68: dev/pci/pcivar.h: No such file or directory' But result == 0. What wrong ? Warning: Object directory not changed from original /usr/src/sys/modules/bcm cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I/usr/include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c In file included from /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:70: @/dev/bcm/if_bcmreg.h:180: field `mtx' has incomplete type /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c: In function `bcm_attach': /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: warning: implicit declaration of function `mtx_init' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: `MTX_NETWORK_LOCK' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: (Each undeclared identifier is reported only once /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: for each function it appears in.) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:203: `MTX_DEF' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:203: `MTX_RECURSE' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:292: `busdma_lock_mutex' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:292: `Giant' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:293: too many arguments to function `bus_dma_tag_create' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:309: too many arguments to function `bus_dma_tag_create' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:326: too many arguments to function `bus_dma_tag_create' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:364: too many arguments to function `bus_dma_tag_create' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:430: warning: passing arg 2 of `ether_ifattach' makes .........
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F73B692.30009>