Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: issues with LSI 9260
> You can try to copy mfi.c and related:
>ic/mfi.c ic/mfiio.h ic/mfireg.h ic/mfivar.h pci/mfi_pci.c to a netbsd
6.1.5 source tree and recompile a kernel.
Compile fails with an error.. maybe im missing some more files
gcc -mcmodel=kernel -mno-red-zone -mno-sse -mno-sse2 -mno-sse3
-ffreestanding -fno-zero-initialized-in-bss -O2 -fno-omit-frame-pointer
-fstack-protector -Wstack-protector --param ssp-buffer-size=1
-fno-strict-aliasing -std=gnu99 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes
-Wextra -Wno-unused-parameter -Wold-style-definition -Wno-sign-compare
-Damd64 -Dx86_64 -I. -I../../../../../common/include -I../../../../arch
-I../../../.. -nostdinc -DSEMMAP=2048 -DMAXUSERS=128 -D_KERNEL
-D_KERNEL_OPT -std=gnu99
-I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/string
-I../../../../dist/ipf -I../../../../external/isc/atheros_hal/dist
-I../../../../external/isc/atheros_hal/ic
-I../../../../external/bsd/drm/dist/bsd-core
-I../../../../external/bsd/drm/dist/shared-core
-I../../../../../common/include
-I../../../../external/bsd/acpica/dist/include -c ../../../../dev/ic/mfi.c
../../../../dev/ic/mfi.c:197:2: error: unknown field 'd_discard' specified
in initializer
../../../../dev/ic/mfi.c:197:15: error: 'nodiscard' undeclared here (not
in a function)
*** Error code 1
Derrick Lobo
Home |
Main Index |
Thread Index |
Old Index