Chromium can't be compiled because a bug with webrtc.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Mar 2024 22:02:55 UTC
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.