
If_alx.c:951: error: 'phy_cfged' undeclared (first use in this function) If_alx.c:944: error: expected ' ' before 'phy_cfged'

If_alx.c:944: error: 'bool' undeclared (first use in this function) If_alx.c:550: error: 'struct alx_hw' has no member named 'is_fpga' If_alx.c:541: error: 'struct alx_hw' has no member named 'flowctrl' If_alx.c:538: error: 'struct alx_hw' has no member named 'adv_cfg' If_alx.c:537: error: 'struct alx_hw' has no member named 'link_speed' If_alx.c:536: error: 'struct alx_hw' has no member named 'link_duplex' If_alx.c:535: error: for each function it appears in.)

If_alx.c:535: error: (Each undeclared identifier is reported only once

If_alx.c:535: error: 'false' undeclared (first use in this function) If_alx.c:535: error: 'struct alx_hw' has no member named 'link_up' If_alx.c:530: error: 'struct alx_hw' has no member named 'sleep_ctrl' If_alx.c:483: error: 'struct alx_hw' has no member named 'max_ptrns' If_alx.c:482: error: 'struct alx_hw' has no member named 'ptrn_ofs' If_alx.c:480: error: 'struct alx_hw' has no member named 'max_ptrns' If_alx.c:479: error: 'struct alx_hw' has no member named 'ptrn_ofs' finline-limit=8000 –param inline-unit-growth=100 -param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c if_alx.cĪlx_hw.h:512: error: expected specifier-qualifier-list before 'bool'Īlx_hw.h:604: error: expected declaration specifiers or '.' before 'bool'Īlx_hw.h:606: error: expected declaration specifiers or '.' before 'bool'Īlx_hw.h:608: error: expected declaration specifiers or '.' before 'bool'Īlx_hw.h:616: error: expected declaration specifiers or '.' before 'bool'Īlx_hw.h:624: error: expected '=', ',', ' ', 'asm' or ' attribute' before 'alx_phy_configed'Īlx_hw.h:626: error: expected declaration specifiers or '.' before 'bool'Īlx_hw.h:627: error: expected declaration specifiers or '.' before 'bool'Īlx_hw.h:656: error: expected '=', ',', ' ', 'asm' or ' attribute' before 'alx_get_phy_info' Warning: Object directory not changed from original /root/alx-freebsd-masterĬc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. So I installed a VM with FreeBSD 8.3 to compile it but I end with a load of errors : I'm using pfSense 2.1.5 so I can't take the mere driver you've attached on one of your answer (exec format error if I try to kldload it).

Maybe i just misunderstood some point of the conversation (I'm really new to FreeBSD), but I'm really struggling with that driver.
