System info:
I am trying to build net/aquantia-atlantic-kmod from source, but it's resulting in the following error:
Yet, it seems to have build just fine using Poudriere according to my build logs:
Is thier something wrong with my system?
Code:
freebsd-version
13.2-RELEASE-p10
git -C /usr/ports branch -v
* main a7058a34e044 security/caldera: Update to 5.0.0
git -C /usr/src branch -v
* releng/13.2 a839681443b6 rc.conf: correct $ntp_leapfile_sources
stat /etc/make.conf
stat: /etc/make.conf: No such file or directory
I am trying to build net/aquantia-atlantic-kmod from source, but it's resulting in the following error:
Code:
===> License BSD3CLAUSE accepted by the user
===> aquantia-atlantic-kmod-0.0.5_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by aquantia-atlantic-kmod-0.0.5_2 for building
===> Extracting for aquantia-atlantic-kmod-0.0.5_2
=> SHA256 Checksum OK for Aquantia-aqtion-freebsd-0.0.5-c61d27b_GH0.tar.gz.
===> Patching for aquantia-atlantic-kmod-0.0.5_2
===> Applying FreeBSD patches for aquantia-atlantic-kmod-0.0.5_2 from /usr/ports/net/aquantia-atlantic-kmod/files
===> Configuring for aquantia-atlantic-kmod-0.0.5_2
===> Building for aquantia-atlantic-kmod-0.0.5_2
--- machine ---
--- x86 ---
--- objwarn ---
Warning: Object directory not changed from original /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- machine ---
machine -> /usr/src/sys/amd64/include
--- x86 ---
x86 -> /usr/src/sys/x86/include
--- opt_inet.h ---
--- opt_inet6.h ---
--- opt_rss.h ---
--- opt_global.h ---
--- device_if.h ---
--- bus_if.h ---
--- pci_if.h ---
--- ifdi_if.h ---
--- opt_rss.h ---
:> opt_rss.h
--- opt_global.h ---
touch opt_global.h
--- device_if.h ---
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
--- bus_if.h ---
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
--- pci_if.h ---
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h
--- ifdi_if.h ---
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/net/ifdi_if.m -h
--- aq_main.o ---
--- aq_media.o ---
--- aq_irq.o ---
--- aq_ring.o ---
--- aq_hw.o ---
--- aq_hw_llh.o ---
--- aq_fw.o ---
--- aq_fw1x.o ---
--- aq_fw2x.o ---
--- aq_dbg.o ---
--- aq_main.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_main.o -MTaq_main.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-add--- aq_media.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_media.o -MTaq_media.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-a--- aq_irq.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_irq.o -MTaq_irq.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-addre--- aq_ring.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_ring.o -MTaq_ring.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-add--- aq_hw.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_hw.o -MTaq_hw.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address--- aq_main.o ---
ress-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_main.c -o aq_main.o
--- aq_media.o ---
ddress-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_media.c -o aq_media.o
--- aq_irq.o ---
ss-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_irq.c -o aq_irq.o
--- aq_ring.o ---
ress-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_ring.c -o aq_ring.o
--- aq_hw.o ---
-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_hw.c -o aq_hw.o
--- aq_hw_llh.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_hw_llh.o -MTaq_hw_llh.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_hw_llh.c -o aq_hw_llh.o
--- aq_fw.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_fw.o -MTaq_fw.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_fw.c -o aq_fw.o
--- aq_fw1x.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_fw1x.o -MTaq_fw1x.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_fw1x.c -o aq_fw1x.o
--- aq_fw2x.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_fw2x.o -MTaq_fw2x.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_fw2x.c -o aq_fw2x.o
--- aq_dbg.o ---
cc -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/include -include /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.aq_dbg.o -MTaq_dbg.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c aq_dbg.c -o aq_dbg.o
--- aq_hw_llh.o ---
aq_hw_llh.c:48:5: error: implicit declaration of function 'htole32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
AQ_WRITE_REG(hw, glb_fw_image_id1_adr, value);
^
./aq_hw.h:53:70: note: expanded from macro 'AQ_WRITE_REG'
#define AQ_WRITE_REG(hw, reg, value) writel(((hw)->hw_addr + (reg)), htole32(value))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- aq_irq.o ---
In file included from aq_irq.c:42:
/usr/include/sys/bitstring.h:123:29: error: implicit declaration of function '__align_up' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
--- aq_ring.o ---
In file included from aq_ring.c:42:
/usr/include/sys/bitstring.h:123:29: error: implicit declaration of function '__align_up' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
--- aq_irq.o ---
return ((bitstr_t *)malloc(bitstr_size(_nbits), type, flags | M_ZERO));
^
/usr/include/sys/bitstring.h:116:30: note: expanded from macro 'bitstr_size'
--- aq_ring.o ---
return ((bitstr_t *)malloc(bitstr_size(_nbits), type, flags | M_ZERO));
^
/usr/include/sys/bitstring.h:116:30: note: expanded from macro 'bitstr_size'
--- aq_irq.o ---
#define bitstr_size(_nbits) (_bit_roundup2(_nbits, _BITSTR_BITS) / 8)
^
--- aq_media.o ---
In file included from aq_media.c:41:
--- aq_irq.o ---
/usr/include/sys/bitstring.h:81:30: note: expanded from macro '_bit_roundup2'
#define _bit_roundup2 roundup2
^
--- aq_ring.o ---
#define bitstr_size(_nbits) (_bit_roundup2(_nbits, _BITSTR_BITS) / 8)
^
/usr/include/sys/bitstring.h:81:30: note: expanded from macro '_bit_roundup2'
#define _bit_roundup2 roundup2
^
--- aq_media.o ---
/usr/include/sys/bitstring.h:123:29: error: implicit declaration of function '__align_up' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
--- aq_irq.o ---
/usr/include/sys/param.h:310:24: note: expanded from macro 'roundup2'
#define roundup2(x, y) __align_up(x, y) /* if y is powers of two */
^
--- aq_ring.o ---
/usr/include/sys/param.h:310:24: note: expanded from macro 'roundup2'
--- aq_media.o ---
return ((bitstr_t *)malloc(bitstr_size(_nbits), type, flags | M_ZERO));
^
--- aq_ring.o ---
#define roundup2(x, y) __align_up(x, y) /* if y is powers of two */
^
--- aq_media.o ---
/usr/include/sys/bitstring.h:116:30: note: expanded from macro 'bitstr_size'
#define bitstr_size(_nbits) (_bit_roundup2(_nbits, _BITSTR_BITS) / 8)
^
/usr/include/sys/bitstring.h:81:30: note: expanded from macro '_bit_roundup2'
#define _bit_roundup2 roundup2
^
/usr/include/sys/param.h:310:24: note: expanded from macro 'roundup2'
#define roundup2(x, y) __align_up(x, y) /* if y is powers of two */
^
--- aq_fw1x.o ---
aq_fw1x.c:208:5: error: implicit declaration of function 'htole32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
AQ_WRITE_REG(hw, FW1X_MPI_CONTROL_ADR, state.val);
^
./aq_hw.h:53:70: note: expanded from macro 'AQ_WRITE_REG'
#define AQ_WRITE_REG(hw, reg, value) writel(((hw)->hw_addr + (reg)), htole32(value))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- aq_hw.o ---
aq_hw.c:158:14: error: implicit declaration of function 'le32toh' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (!AQ_READ_REG(hw, 0x370)) {
^
./aq_hw.h:55:30: note: expanded from macro 'AQ_READ_REG'
#define AQ_READ_REG(hw, reg) le32toh(readl((hw)->hw_addr + reg))
^
--- aq_fw1x.o ---
2 errors generated.
--- aq_hw.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- aq_fw1x.o ---
*** [aq_fw1x.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- aq_hw.o ---
2 errors generated.
*** [aq_hw.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- aq_hw_llh.o ---
2 errors generated.
--- aq_main.o ---
In file included from aq_main.c:51:
/usr/include/sys/bitstring.h:123:29: error: implicit declaration of function '__align_up' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return ((bitstr_t *)malloc(bitstr_size(_nbits), type, flags | M_ZERO));
^
/usr/include/sys/bitstring.h:116:30: note: expanded from macro 'bitstr_size'
#define bitstr_size(_nbits) (_bit_roundup2(_nbits, _BITSTR_BITS) / 8)
^
/usr/include/sys/bitstring.h:81:30: note: expanded from macro '_bit_roundup2'
#define _bit_roundup2 roundup2
^
/usr/include/sys/param.h:310:24: note: expanded from macro 'roundup2'
#define roundup2(x, y) __align_up(x, y) /* if y is powers of two */
^
--- aq_hw_llh.o ---
*** [aq_hw_llh.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- aq_fw2x.o ---
aq_fw2x.c:210:14: error: implicit declaration of function 'le32toh' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
u64 lo = AQ_READ_REG(hw, addr);
^
./aq_hw.h:55:30: note: expanded from macro 'AQ_READ_REG'
#define AQ_READ_REG(hw, reg) le32toh(readl((hw)->hw_addr + reg))
^
--- aq_fw.o ---
aq_fw.c:100:15: error: implicit declaration of function 'le32toh' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int ver = AQ_READ_REG(hw, 0x18);
^
./aq_hw.h:55:30: note: expanded from macro 'AQ_READ_REG'
#define AQ_READ_REG(hw, reg) le32toh(readl((hw)->hw_addr + reg))
^
--- aq_fw2x.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- aq_fw.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 errors generated.
--- aq_fw2x.o ---
2 errors generated.
--- aq_fw.o ---
*** [aq_fw.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- aq_fw2x.o ---
*** [aq_fw2x.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- aq_media.o ---
1 error generated.
*** [aq_media.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- aq_irq.o ---
1 error generated.
*** [aq_irq.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- aq_ring.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 errors generated.
*** [aq_ring.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
--- aq_main.o ---
1 error generated.
*** [aq_main.o] Error code 1
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
9 errors
make[1]: stopped in /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-c61d27b
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/net/aquantia-atlantic-kmod
Yet, it seems to have build just fine using Poudriere according to my build logs:
Is thier something wrong with my system?