[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

building a firmware kernel



Hi!

  I'm trying to build a firmware-enriched kfreebsd-9.1 kernel. However
some of the drivers disabled FTBFS (see below). What would be the
convenient way to disable the failing drivers (or get the iwn*fw.ko)?

  Christoph

===> nve (all)
uudecode < /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../contrib/dev/nve/amd64/nvenetlib.o.bz2.uu
bzip2 -df nvenetlib.o.bz2
gcc-4.6 -O2 -pipe -fno-strict-aliasing -O1 -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/amd64/compile/DEBCUSTOM/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -I/home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/amd64/compile/DEBCUSTOM  -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign  -Wmissing-include-dirs -fdiagnostics-show-option   -c /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c
In file included from @/net/if_var.h:82:0,
                 from @/net/if.h:534,
                 from /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c:88:
@/sys/buf_ring.h: In function ‘buf_ring_dequeue_sc’:
@/sys/buf_ring.h:189:33: warning: variable ‘cons_next_next’ set but not used [-Wunused-but-set-variable]
In file included from /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c:114:0:
@/contrib/dev/nve/basetype.h: At top level:
@/contrib/dev/nve/basetype.h:115:9: warning: "_MSC_VER" is not defined [-Wundef]
In file included from /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c:118:0:
@/contrib/dev/nve/adapter.h:68:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
@/contrib/dev/nve/adapter.h:79:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
@/contrib/dev/nve/adapter.h:284:5: error: unknown type name ‘ASF_SEC0_BASE’
In file included from /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c:118:0:
@/contrib/dev/nve/adapter.h:349:78: error: unknown type name ‘ASF_SEC0_BASE’
@/contrib/dev/nve/adapter.h:356:70: error: unknown type name ‘ASF_ASFREADY’
@/contrib/dev/nve/adapter.h:416:5: error: unknown type name ‘PFN_ADAPTER_ASF_GETSEC0BASEADDRESS’
@/contrib/dev/nve/adapter.h:423:5: error: unknown type name ‘PFN_ADAPTER_ASF_ISASFREADY’
/home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c: In function ‘nve_attach’:
/home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c:518:2: warning: unknown conversion type character 0xa in format [-Wformat]
/home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c:518:2: warning: too many arguments for format [-Wformat-extra-args]
/home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c: In function ‘nve_init_locked’:
/home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c:673:6: warning: passing argument 6 of ‘sc->hwapi->pfnInit’ from incompatible pointer type [enabled by default]
/home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve/../../dev/nve/if_nve.c:673:6: note: expected ‘NV_UINT32 *’ but argument is of type ‘int *’
*** [if_nve.o] Error code 1

Stop in /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules/nve.
*** [all] Error code 1

Stop in /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/modules.
*** [modules-all] Error code 1

Stop in /home/christoph/scratch/kfreebsd-9-9.1/flavor-9.1-1-amd64/sys/amd64/compile/DEBCUSTOM.
make: *** [build-flavor-amd64-stamp] Error 1
rm src-flavor-amd64-stamp
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Reply to: