Re: FreeBSD Port: aquantia-atlantic-kmod-0.0.5_1

From: Moin Rahman <bofh_at_freebsd.org>
Date: Tue, 02 May 2023 18:07:26 UTC

> On May 2, 2023, at 8:05 PM, Nodin Weddington <nweddington@chem.fsu.edu> wrote:
> 
> Hi I just built this port on freebsd 13.2 though I did have some initial difficulty.
> 
> In file included from aq_hw.c:38:
> /usr/include/sys/systm.h:426:1: error: static declaration of 'pause' follows non-static declaration
> pause(const char *wmesg, int timo)
> ^
> /usr/include/unistd.h:357:6: note: previous declaration is here
> int      pause(void);
> 
> 
> Out of curiosity, I removed the line #include <unistd.h> from /usr/ports/net/aquantia-atlantic-kmod/work/aqtion-freebsd-4816644/aq_hw.c and then tried the build again and it worked.  Will this have any negative consequences or impact on the driver?  It appears to be working well and doesn't crash when I try to ping out on the interface like the freebsd pkg did when I tried it through pkg install.  Please let me know your thoughts on this.
> 
> Thanks,
> Nodin
> 
> -- 
> Nodin Weddington
> Technology Specialist
> Department of Chemistry and Biochemistry
> CSL 4003 - Chemical Sciences Laboratory
> nweddington@chem.fsu.edu
> (850) 644-3004
> 

At the moment I no longer have a relevant interface at my disposal anymore. So unless anyone else confirms it's working I cannot comment on this.

Kind regards,
Moin