Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2024 23:02:55 +0100
From:      Mario Marietto <marietto2008@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>,  freebsd-hackers <freebsd-hackers@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>,  chromium@freebsd.org, Jan Beich <jbeich@freebsd.org>
Subject:   Chromium can't be compiled because a bug with webrtc.
Message-ID:  <CA%2B1FSij47ajcgate-rLHD2GkPFxPvWnwkPh6APuX3s9KbGE8KQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello.

On FreeBSD 13.3 I'm trying to install Chromium,but the compilation stopped
because a bug :

......
/usr/local/include  -c ../../third_party/webrtc/api/candidate.cc -o
obj/third_party/webrtc/api/candi
date/candidate.o
In file included from ../../third_party/webrtc/api/candidate.cc:11:
In file included from ../../third_party/webrtc/api/candidate.h:24:
In file included from
../../third_party/webrtc/rtc_base/socket_address.h:20:
In file included from ../../third_party/webrtc/rtc_base/ip_address.h:30:
../../third_party/webrtc/rtc_base/byte_order.h:114:18: error: use of
undeclared identifier 'htobe16'
 114 |   uint16_t val = htobe16(v);
     |                  ^
../../third_party/webrtc/rtc_base/byte_order.h:119:18: error: use of
undeclared identifier 'htobe32'
 119 |   uint32_t val = htobe32(v);
     |                  ^
../../third_party/webrtc/rtc_base/byte_order.h:124:18: error: use of
undeclared identifier 'htobe64'
 124 |   uint64_t val = htobe64(v);
     |                  ^
../../third_party/webrtc/rtc_base/byte_order.h:131:10: error: use of
undeclared identifier 'be16toh'
 131 |   return be16toh(val);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:137:10: error: use of
undeclared identifier 'be32toh'
 137 |   return be32toh(val);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:143:10: error: use of
undeclared identifier 'be64toh'
 143 |   return be64toh(val);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:147:18: error: use of
undeclared identifier 'htole16'
 147 |   uint16_t val = htole16(v);
     |                  ^
../../third_party/webrtc/rtc_base/byte_order.h:152:18: error: use of
undeclared identifier 'htole32'
 152 |   uint32_t val = htole32(v);
     |                  ^
../../third_party/webrtc/rtc_base/byte_order.h:157:18: error: use of
undeclared identifier 'htole64'
 157 |   uint64_t val = htole64(v);
     |                  ^
../../third_party/webrtc/rtc_base/byte_order.h:164:10: error: use of
undeclared identifier 'le16toh'
 164 |   return le16toh(val);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:170:10: error: use of
undeclared identifier 'le32toh'
 170 |   return le32toh(val);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:176:10: error: use of
undeclared identifier 'le64toh'
 176 |   return le64toh(val);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:189:10: error: use of
undeclared identifier 'htobe16'
 189 |   return htobe16(n);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:193:10: error: use of
undeclared identifier 'htobe32'
 193 |   return htobe32(n);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:197:10: error: use of
undeclared identifier 'htobe64'
 197 |   return htobe64(n);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:201:10: error: use of
undeclared identifier 'be16toh'
 201 |   return be16toh(n);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:205:10: error: use of
undeclared identifier 'be32toh'
 205 |   return be32toh(n);
     |          ^
../../third_party/webrtc/rtc_base/byte_order.h:209:10: error: use of
undeclared identifier 'be64toh'
 209 |   return be64toh(n);
     |          ^
18 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/chromium
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium

-- 
Mario.

[-- Attachment #2 --]
<div dir="ltr"><div>Hello.</div><div><br></div><div>
On FreeBSD 13.3 I&#39;m trying to install Chromium,but the compilation stopped because a bug :<br></div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">......<br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/local/include  -c ../../third_party/webrtc/api/candidate.cc -o obj/third_party/webrtc/api/candi</span></span></div><div><span style="font-family:monospace"></span></div><span style="font-family:monospace">date/candidate.o
<br>In file included from ../../third_party/webrtc/api/candidate.cc:11:
<br>In file included from ../../third_party/webrtc/api/candidate.h:24:
<br>In file included from ../../third_party/webrtc/rtc_base/socket_address.h:20:
<br>In file included from ../../third_party/webrtc/rtc_base/ip_address.h:30:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:114:18: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htobe16&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  114 |   uint16_t val = htobe16(v);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">                 ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:119:18: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htobe32&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  119 |   uint32_t val = htobe32(v);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">                 ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:124:18: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htobe64&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  124 |   uint64_t val = htobe64(v);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">                 ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:131:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;be16toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  131 |   return be16toh(val);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:137:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;be32toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  137 |   return be32toh(val);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:143:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;be64toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  143 |   return be64toh(val);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:147:18: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htole16&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  147 |   uint16_t val = htole16(v);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">                 ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:152:18: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htole32&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  152 |   uint32_t val = htole32(v);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">                 ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:157:18: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htole64&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  157 |   uint64_t val = htole64(v);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">                 ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:164:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;le16toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  164 |   return le16toh(val);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:170:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;le32toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  170 |   return le32toh(val);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:176:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;le64toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  176 |   return le64toh(val);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:189:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htobe16&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  189 |   return htobe16(n);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:193:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htobe32&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  193 |   return htobe32(n);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:197:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;htobe64&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  197 |   return htobe64(n);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:201:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;be16toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  201 |   return be16toh(n);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:205:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;be32toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  205 |   return be32toh(n);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">../../third_party/webrtc/rtc_base/byte_order.h:209:10: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identifier &#39;be64toh&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>  209 |   return be64toh(n);
<br>      | <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">         ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>18 errors generated.
<br>ninja: build stopped: subcommand failed.
<br>*** Error code 1
<br>
<br>Stop.
<br>make[1]: stopped in /usr/ports/www/chromium
<br>*** Error code 1
<br>
<br>Stop.
<br>make: stopped in /usr/ports/www/chromium<br>
</span><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br></div></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSij47ajcgate-rLHD2GkPFxPvWnwkPh6APuX3s9KbGE8KQ>