From nobody Tue May 02 18:07:26 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q9p2T125bz49FlD for ; Tue, 2 May 2023 18:07:29 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q9p2S6h8Zz3sBb; Tue, 2 May 2023 18:07:28 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683050848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DO14+FY0kJIgYbHSNIGstXtKMBOrAJl5TIIWWBiPpjE=; b=s0gNvdeW/5zxK4s8Z753lpr3PMe6022Tm8hW3cEEohCcuexczwe4QIrpqImqBMsk29HbrE Z3odHYDYj1YUqlNGUZWXpw8BBkeZ43KpjamtUCTzif/lPdPkKpmhDgHJC6XK/MrowmWEtY qO9azJgmqZTyN56wMM2pqOum8m+QaXH4LcaDEzuEnjO/Rz7or/88rwJ+Hx7x5wDJgpu14C FUTNjdx00a/i6D3QxlC5r58Ev9krVVTrTqWbkWKzmUjV62swskw+QHwWpBphd4hnUujVEg Q9q9ukkJSoa7NMkXUbGJkUzaGZhILys0Bzec9PXlSpDBQPnltNMdJ8XlE5aXqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683050848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DO14+FY0kJIgYbHSNIGstXtKMBOrAJl5TIIWWBiPpjE=; b=oj0wjYlVl2hPGAu0O6uz066lJcxP27gS5/pKSusgTpEA44mpv6TknPYEcei3IfKw9tQUiH WYV9HC6l2nPn7M8iS1DfEHo1MzlH3Ou/xWZbBPZpzyO63ZGxC1zNpuJTNuIms2it/DH9+j eBXk9D/oA8/HpxvFISvcAPkJWkXpLkMX46I8h/iJR11HGlfv66aMzi39n5GgVzagrx2jZk xr2qkiEMspBjjypoGbDsTa6qVxWxegTSaYcz+HosU0SBarqSWQpMybqI0jrk4FKoQzz6uO Sj7mgVuzTGsKE4CpIDArGK4PbU9PlTWk4NGP+5KsJgklCIf1rcia4kw3zMgPLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683050848; a=rsa-sha256; cv=none; b=j6GPnH3VQCS6JIpwevC5G6XnZJQsr4GvRaDSQjPSObqIgRau3Qgmt11W9XuaeUQZk2910E 6rxs86aqe5GEH6W9Va3iA4SG1RijbL/gJTNuNl0F/nGtGDZaD4LSYb2NdhsdmX1AQBicYk nvNgI5+cxpGuCAmWnvyz+r5Z/5M+ts6u4jzUWaeGG0lNPbbS9v81V3RMfgBq5CfdDESUq5 G/i136WZtwwSN2b8Zb+T/nzTjFeHkIjTW1r7CfuD+3yhzKPovRIqkHdZnYZG/+ajZ0kREE zgD9LrVWDBCfBopTNjd7UYEGUlrRTO1pQ1tUIIZhU7sRTPPCDx0B0rwMZcwu8w== Received: from mx.bofh.network (mx.bofh.network [IPv6:2a01:4f8:261:25de::227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mx.bofh.network", Issuer "R3" (verified OK)) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Q9p2S3P54zLTw; Tue, 2 May 2023 18:07:28 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple (gw.office.cyso.net [95.97.78.194]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id 8f6f3212 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Tue, 2 May 2023 18:07:27 +0000 (UTC) From: Moin Rahman Message-Id: <678B5FDF-2C75-42A9-8CF3-883A3C0B7832@freebsd.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_6151EA19-9B6F-4A46-A960-AFFC99DE1FA4" List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: FreeBSD Port: aquantia-atlantic-kmod-0.0.5_1 Date: Tue, 2 May 2023 20:07:26 +0200 In-Reply-To: <848c4968-dd27-af03-3ef0-9f6c334fae60@chem.fsu.edu> Cc: "ports@freebsd.org" To: Nodin Weddington References: <848c4968-dd27-af03-3ef0-9f6c334fae60@chem.fsu.edu> X-Mailer: Apple Mail (2.3696.120.41.1.1) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_6151EA19-9B6F-4A46-A960-AFFC99DE1FA4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 2, 2023, at 8:05 PM, Nodin Weddington = wrote: >=20 > Hi I just built this port on freebsd 13.2 though I did have some = initial difficulty. >=20 > 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); >=20 >=20 > Out of curiosity, I removed the line #include 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. >=20 > Thanks, > Nodin >=20 > --=20 > Nodin Weddington > Technology Specialist > Department of Chemistry and Biochemistry > CSL 4003 - Chemical Sciences Laboratory > nweddington@chem.fsu.edu > (850) 644-3004 >=20 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= --Apple-Mail=_6151EA19-9B6F-4A46-A960-AFFC99DE1FA4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

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
= --Apple-Mail=_6151EA19-9B6F-4A46-A960-AFFC99DE1FA4--