Date: Fri, 24 Mar 2023 09:30:24 +0100 From: Warner Losh <imp@bsdimp.com> To: Nuno Teixeira <eduardo@freebsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: byteswap.h not found on 12 and 13 Message-ID: <CANCZdfpT3nbZ%2BzHHtdsMDa88JsWr7Frw%2BRPGcy6B=P60DZL2_g@mail.gmail.com> In-Reply-To: <CAFDf7UKq3bMgd3XA0=U10%2BLhOCY7fZCHds9DdBcrSuNidOityw@mail.gmail.com> References: <CAFDf7UKq3bMgd3XA0=U10%2BLhOCY7fZCHds9DdBcrSuNidOityw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000096c0a05f7a1351b Content-Type: text/plain; charset="UTF-8" On Fri, Mar 24, 2023, 9:23 AM Nuno Teixeira <eduardo@freebsd.org> wrote: > Hello all, > > I'm getting a file not found on 12 and 13 compiling net/sflowtool latest > update: > It compile fine on 14. > > I've searched 14 src and found: > --- > ./include/byteswap.h > ./contrib/ofed/include/byteswap.h > ./contrib/llvm-project/libcxx/include/__bit/byteswap.h > --- > Any clues? > I added it a short time ago. I thought I mfc'd it to 13 but not 12. How recent a 13? It's a non standard glibc extension that may be in the next posix standard though. I've not looked at the draft for it yet to see if it complies or not. Warner Thanks, > > --- > ===> Building for sflowtool-6.01 > --- all --- > /usr/bin/make all-recursive > --- all-recursive --- > Making all in src > --- sflowtool.o --- > cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong > -fno-strict-aliasing -MT sflowtool.o -MD -MP -MF .deps/sflowtool.Tpo -c -o > sflowtool.o sflowtool.c > sflowtool.c:32:10: fatal error: 'byteswap.h' file not found > #include <byteswap.h> > ^~~~~~~~~~~~ > 1 error generated. > *** [sflowtool.o] Error code 1 > --- > > > -- > Nuno Teixeira > FreeBSD Committer (ports) > --000000000000096c0a05f7a1351b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Fri, Mar 24, 2023, 9:23 AM Nuno Teixeira <<a hre= f=3D"mailto:eduardo@freebsd.org">eduardo@freebsd.org</a>> wrote:<br></di= v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:= 1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>Hello all,</div><div= ><br></div><div>I'm getting a file not found on 12 and 13 compiling net= /sflowtool latest update:</div><div>It compile fine on 14.<br></div><div><b= r></div><div>I've searched 14 src and found:</div><div>---</div><div>./= include/byteswap.h<br>./contrib/ofed/include/byteswap.h<br>./contrib/llvm-p= roject/libcxx/include/__bit/byteswap.h</div><div>---</div><div>Any clues?</= div></div></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"= auto"><br></div><div dir=3D"auto">I added it a short time ago. I thought I = mfc'd it to 13 but not 12. How recent a 13? It's a non standard gli= bc extension that may be in the next posix standard though. I've not lo= oked at the draft for it yet to see if it complies or not.</div><div dir=3D= "auto"><br></div><div dir=3D"auto">Warner</div><div dir=3D"auto"><br></div>= <div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quo= te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"= ><div dir=3D"ltr"><div>Thanks,<br></div><div><br></div><div>---</div><div>= =3D=3D=3D> =C2=A0Building for sflowtool-6.01<br>--- all ---<br>/usr/bin/= make =C2=A0all-recursive<br>--- all-recursive ---<br>Making all in src<br>-= -- sflowtool.o ---<br>cc -DHAVE_CONFIG_H -I. -I.. =C2=A0 =C2=A0 =C2=A0-O2 -= pipe =C2=A0-fstack-protector-strong -fno-strict-aliasing -MT sflowtool.o -M= D -MP -MF .deps/sflowtool.Tpo -c -o sflowtool.o sflowtool.c<br>sflowtool.c:= 32:10: fatal error: 'byteswap.h' file not found<br>#include <byt= eswap.h><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~<br>1 error ge= nerated.<br>*** [sflowtool.o] Error code 1</div><div>---<br></div><div><br>= </div><br><span>-- </span><br><div dir=3D"ltr" data-smartmail=3D"gmail_sign= ature"><div dir=3D"ltr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeir= a<br>FreeBSD Committer (ports)</span></div></div></div> </blockquote></div></div></div> --000000000000096c0a05f7a1351b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpT3nbZ%2BzHHtdsMDa88JsWr7Frw%2BRPGcy6B=P60DZL2_g>