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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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) > [-- Attachment #2 --] <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 24, 2023, 9:23 AM Nuno Teixeira <<a href="mailto:eduardo@freebsd.org">eduardo@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="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><br></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-project/libcxx/include/__bit/byteswap.h</div><div>---</div><div>Any clues?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="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 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.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks,<br></div><div><br></div><div>---</div><div>===> Building for sflowtool-6.01<br>--- all ---<br>/usr/bin/make all-recursive<br>--- all-recursive ---<br>Making all in src<br>--- sflowtool.o ---<br>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<br>sflowtool.c:32:10: fatal error: 'byteswap.h' file not found<br>#include <byteswap.h><br> ^~~~~~~~~~~~<br>1 error generated.<br>*** [sflowtool.o] Error code 1</div><div>---<br></div><div><br></div><br><span>-- </span><br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div></div> </blockquote></div></div></div>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpT3nbZ%2BzHHtdsMDa88JsWr7Frw%2BRPGcy6B=P60DZL2_g>
