[devel] I: SIOCGSTAMP and SIOCGSTAMPNS
Dmitry V. Levin
ldv на altlinux.org
Пн Июл 8 12:30:02 MSK 2019
On Mon, Jul 08, 2019 at 07:58:38AM +0000, ALT beekeeper wrote:
> 19 NEW error logs
[...]
>
> bluez-5.50-alt1
> tools/rctest.c: In function 'recv_mode':
> tools/rctest.c:507:19: error: 'SIOCGSTAMP' undeclared (first use in this function);
> did you mean 'SIOCGARP'?
> if (ioctl(sk, SIOCGSTAMP, &tv) < 0) {
> --
> tools/l2test.c: In function 'recv_mode':
> tools/l2test.c:909:19: error: 'SIOCGSTAMP' undeclared (first use in this function);
> did you mean 'SIOCGARP'?
> if (ioctl(sk, SIOCGSTAMP, &tv) < 0) {
>
> dnsmasq-2.80-alt1
> dhcp.c: In function 'dhcp_packet':
> dhcp.c:182:17: error: 'SIOCGSTAMP' undeclared (first use in this function); did you mean
> 'SIOCGARP'?
> if (ioctl(fd, SIOCGSTAMP, &tv) == 0)
>
> firefox-67.0.4-alt2
> 36:21.15
> /usr/src/RPM/BUILD/firefox-67.0.4/mozilla/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc:67:27:
> error: use of undeclared identifier 'SIOCGSTAMP'
> 36:21.15 int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
>
> ipmiutil-3.1.3-alt1
> /usr/bin/ld.default: iseltime.o: in function `get_sel_time':
> /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:125: undefined reference to `ipmi_cmdraw'
> /usr/bin/ld.default: iseltime.o: in function `main':
> /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:229: undefined reference to
> `parse_lan_options'
> /usr/bin/ld.default: /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:235: undefined
> reference to `print_lan_opt_usage'
> /usr/bin/ld.default: /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:239: undefined
> reference to `ipmi_getdeviceid'
> /usr/bin/ld.default: /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:241: undefined
> reference to `show_outcome'
> /usr/bin/ld.default: /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:242: undefined
> reference to `ipmi_close_'
> /usr/bin/ld.default: iseltime.o: in function `get_sel_utc':
> /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:98: undefined reference to `ipmi_cmdraw'
> /usr/bin/ld.default: iseltime.o: in function `main':
> /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:264: undefined reference to `ipmi_close_'
> /usr/bin/ld.default: iseltime.o: in function `set_sel_utc':
> /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:114: undefined reference to `ipmi_cmdraw'
> /usr/bin/ld.default: iseltime.o: in function `main':
> /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:292: undefined reference to `is_remote'
> /usr/bin/ld.default: /usr/src/RPM/BUILD/ipmiutil-3.1.3/util/iseltime.c:300: undefined
> reference to `ipmi_close_'
>
> ipsumdump-1.86-alt2
> fromdevice.cc: In member function 'virtual void FromDevice::selected(int, int)':
> fromdevice.cc:546:49: error: 'SIOCGSTAMP' was not declared in this scope
> p->timestamp_anno().set_timeval_ioctl(_fd, SIOCGSTAMP);
>
> linux-atm-2.5.1-alt5
> atmdump.c: In function 'main':
> atmdump.c:142:18: error: 'SIOCGSTAMP' undeclared (first use in this function); did you
> mean 'SIOCGARP'?
> if (ioctl(s,SIOCGSTAMP,&stamp) < 0) {
>
> paketto-1.10-alt3.qa1
> ./pcap-linux.c: In function 'pcap_read_packet':
> ./pcap-linux.c:568:24: error: 'SIOCGSTAMP' undeclared (first use in this function);
> did you mean 'SIOCGARP'?
> if (ioctl(handle->fd, SIOCGSTAMP, &pcap_header.ts) == -1) {
>
> qemu-4.0.0-alt2
> cc -iquote /usr/src/RPM/BUILD/qemu-4.0.0/linux-user -iquote
> linux-user -iquote /usr/src/RPM/BUILD/qemu-4.0.0/tcg -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/tcg/i386 -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers -iquote . -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0 -iquote /usr/src/RPM/BUILD/qemu-4.0.0/accel/tcg
> -iquote /usr/src/RPM/BUILD/qemu-4.0.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/pcre -m64 -mcx16 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall
> -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv
> -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -Wexpansion-to-defined -Wendif-labels
> -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs
> -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
> -Wold-style-definition -Wtype-limits -fstack-protector-strong -I../linux-headers
> -iquote .. -iquote /usr/src/RPM/BUILD/qemu-4.0.0/target/cris -DNEED_CPU_H -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/include -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/cris
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/host/x86_64
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user -MMD -MP -MT linux-user/syscall.o
> -MF linux-user/syscall.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
> -pipe -frecord-gcc-switches -Wall -g -O2 -c -o linux-user/syscall.o
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/syscall.c
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:222:9: error: 'SIOCGSTAMP' undeclared
> here (not in a function); did you mean 'SIOCSRARP'?
> IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
> --
> { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:223:9: error: 'SIOCGSTAMPNS' undeclared
> here (not in a function); did you mean 'SIOCGSTAMP_OLD'?
> IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
> --
> cc -iquote /usr/src/RPM/BUILD/qemu-4.0.0/linux-user -iquote
> linux-user -iquote /usr/src/RPM/BUILD/qemu-4.0.0/tcg -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/tcg/i386 -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers -iquote . -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0 -iquote /usr/src/RPM/BUILD/qemu-4.0.0/accel/tcg
> -iquote /usr/src/RPM/BUILD/qemu-4.0.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/pcre -m64 -mcx16 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall
> -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv
> -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -Wexpansion-to-defined -Wendif-labels
> -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs
> -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
> -Wold-style-definition -Wtype-limits -fstack-protector-strong -I../linux-headers
> -iquote .. -iquote /usr/src/RPM/BUILD/qemu-4.0.0/target/arm -DNEED_CPU_H -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/include -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/arm
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/host/x86_64
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user -MMD -MP -MT linux-user/syscall.o
> -MF linux-user/syscall.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
> -pipe -frecord-gcc-switches -Wall -g -O2 -c -o linux-user/syscall.o
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/syscall.c
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:222:9: error: 'SIOCGSTAMP' undeclared
> here (not in a function); did you mean 'SIOCSRARP'?
> IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
> --
> { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:223:9: error: 'SIOCGSTAMPNS' undeclared
> here (not in a function); did you mean 'SIOCGSTAMP_OLD'?
> IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
> --
> cc -iquote /usr/src/RPM/BUILD/qemu-4.0.0/linux-user -iquote
> linux-user -iquote /usr/src/RPM/BUILD/qemu-4.0.0/tcg -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/tcg/i386 -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers -iquote . -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0 -iquote /usr/src/RPM/BUILD/qemu-4.0.0/accel/tcg
> -iquote /usr/src/RPM/BUILD/qemu-4.0.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/pcre -m64 -mcx16 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall
> -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv
> -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -Wexpansion-to-defined -Wendif-labels
> -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs
> -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
> -Wold-style-definition -Wtype-limits -fstack-protector-strong -I../linux-headers
> -iquote .. -iquote /usr/src/RPM/BUILD/qemu-4.0.0/target/i386 -DNEED_CPU_H -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/include -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/i386
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/host/x86_64
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user -MMD -MP -MT linux-user/syscall.o
> -MF linux-user/syscall.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
> -pipe -frecord-gcc-switches -Wall -g -O2 -c -o linux-user/syscall.o
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/syscall.c
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:222:9: error: 'SIOCGSTAMP' undeclared
> here (not in a function); did you mean 'SIOCSRARP'?
> IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
> --
> { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:223:9: error: 'SIOCGSTAMPNS' undeclared
> here (not in a function); did you mean 'SIOCGSTAMP_OLD'?
> IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
> --
> cc -iquote /usr/src/RPM/BUILD/qemu-4.0.0/linux-user -iquote
> linux-user -iquote /usr/src/RPM/BUILD/qemu-4.0.0/tcg -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/tcg/i386 -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers -iquote . -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0 -iquote /usr/src/RPM/BUILD/qemu-4.0.0/accel/tcg
> -iquote /usr/src/RPM/BUILD/qemu-4.0.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/pcre -m64 -mcx16 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall
> -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv
> -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -Wexpansion-to-defined -Wendif-labels
> -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs
> -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
> -Wold-style-definition -Wtype-limits -fstack-protector-strong -I../linux-headers
> -iquote .. -iquote /usr/src/RPM/BUILD/qemu-4.0.0/target/arm -DNEED_CPU_H -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/include -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/aarch64
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/host/x86_64
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user -MMD -MP -MT linux-user/syscall.o
> -MF linux-user/syscall.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
> -pipe -frecord-gcc-switches -Wall -g -O2 -c -o linux-user/syscall.o
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/syscall.c
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:222:9: error: 'SIOCGSTAMP' undeclared
> here (not in a function); did you mean 'SIOCSRARP'?
> IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
> --
> { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:223:9: error: 'SIOCGSTAMPNS' undeclared
> here (not in a function); did you mean 'SIOCGSTAMP_OLD'?
> IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
> --
> cc -iquote /usr/src/RPM/BUILD/qemu-4.0.0/linux-user -iquote
> linux-user -iquote /usr/src/RPM/BUILD/qemu-4.0.0/tcg -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/tcg/i386 -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-headers -iquote . -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0 -iquote /usr/src/RPM/BUILD/qemu-4.0.0/accel/tcg
> -iquote /usr/src/RPM/BUILD/qemu-4.0.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/pcre -m64 -mcx16 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall
> -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv
> -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -Wexpansion-to-defined -Wendif-labels
> -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs
> -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
> -Wold-style-definition -Wtype-limits -fstack-protector-strong -I../linux-headers
> -iquote .. -iquote /usr/src/RPM/BUILD/qemu-4.0.0/target/arm -DNEED_CPU_H -iquote
> /usr/src/RPM/BUILD/qemu-4.0.0/include -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/aarch64
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user/host/x86_64
> -I/usr/src/RPM/BUILD/qemu-4.0.0/linux-user -MMD -MP -MT linux-user/syscall.o
> -MF linux-user/syscall.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
> -pipe -frecord-gcc-switches -Wall -g -O2 -c -o linux-user/syscall.o
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/syscall.c
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:222:9: error: 'SIOCGSTAMP' undeclared
> here (not in a function); did you mean 'SIOCSRARP'?
> IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
> --
> { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
> /usr/src/RPM/BUILD/qemu-4.0.0/linux-user/ioctls.h:223:9: error: 'SIOCGSTAMPNS' undeclared
> here (not in a function); did you mean 'SIOCGSTAMP_OLD'?
> IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
>
> qt5-serialbus-5.12.4-alt1
> socketcanbackend.cpp: In member function 'void SocketCanBackend::readSocket()':
> socketcanbackend.cpp:697:41: error: 'SIOCGSTAMP' was not declared in this scope
> if (Q_UNLIKELY(ioctl(canSocket, SIOCGSTAMP, &timeStamp) < 0)) {
>
> qt5-webengine-5.12.4-alt2
> [6404/22491] /usr/bin/g++ -MMD -MF
> obj/third_party/webrtc/rtc_base/rtc_base_generic/physicalsocketserver.o.d
> -DWEBRTC_BUILT_IN_SSL_ROOT_CERTIFICATES -DV8_DEPRECATION_WARNINGS -DUSE_UDEV
> -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
> -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD
> -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG
> -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DHAVE_SCTP
> -DENABLE_EXTERNAL_AUTH -DUSE_BUILTIN_SW_CODECS -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE
> -DLOGGING_INSIDE_WEBRTC -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0
> -DGTEST_RELATIVE_PATH -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX
> -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING
> -I../../../../src/3rdparty/chromium/third_party/boringssl/src/include
> -Igen -I../../../../src/3rdparty/chromium
> -I../../../../src/3rdparty/chromium/third_party/webrtc_overrides
> -I../../../../src/3rdparty/chromium/third_party/webrtc -Igen
> -I../../../../src/3rdparty/chromium/third_party/boringssl/src/include
> -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables
> -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
> -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations
> -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
> -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter
> -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0
> -fvisibility=hidden -isystem ../../../../src/3rdparty/chromium/third_party/abseil-cpp
> -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
> -Wno-subobject-linkage -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c
> ../../../../src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc
> -o obj/third_party/webrtc/rtc_base/rtc_base_generic/physicalsocketserver.o
> FAILED: obj/third_party/webrtc/rtc_base/rtc_base_generic/physicalsocketserver.o
> /usr/bin/g++ -MMD -MF
> obj/third_party/webrtc/rtc_base/rtc_base_generic/physicalsocketserver.o.d
> -DWEBRTC_BUILT_IN_SSL_ROOT_CERTIFICATES -DV8_DEPRECATION_WARNINGS -DUSE_UDEV
> -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
> -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD
> -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG
> -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DHAVE_SCTP
> -DENABLE_EXTERNAL_AUTH -DUSE_BUILTIN_SW_CODECS -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE
> -DLOGGING_INSIDE_WEBRTC -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0
> -DGTEST_RELATIVE_PATH -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX
> -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING
> -I../../../../src/3rdparty/chromium/third_party/boringssl/src/include
> -Igen -I../../../../src/3rdparty/chromium
> -I../../../../src/3rdparty/chromium/third_party/webrtc_overrides
> -I../../../../src/3rdparty/chromium/third_party/webrtc -Igen
> -I../../../../src/3rdparty/chromium/third_party/boringssl/src/include
> -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables
> -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
> -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations
> -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
> -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter
> -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0
> -fvisibility=hidden -isystem ../../../../src/3rdparty/chromium/third_party/abseil-cpp
> -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
> -Wno-subobject-linkage -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c
> ../../../../src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc
> -o obj/third_party/webrtc/rtc_base/rtc_base_generic/physicalsocketserver.o
> ../../../../src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc:
> In function 'int64_t GetSocketRecvTimestamp(int)':
> ../../../../src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc:74:27:
> error: 'SIOCGSTAMP' was not declared in this scope
> int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
>
> suricata-4.0.3-alt3
> source-af-packet.c: In function 'AFPRead':
> source-af-packet.c:599:28: error: 'SIOCGSTAMP' undeclared (first use in this function);
> did you mean 'SIOCGRARP'?
> if (ioctl(ptv->socket, SIOCGSTAMP, &p->ts) == -1) {
> --
> source-af-packet.c: In function 'AFPReadAndDiscard':
> source-af-packet.c:1210:28: error: 'SIOCGSTAMP' undeclared (first use in this function);
> did you mean 'SIOCGRARP'?
> if (ioctl(ptv->socket, SIOCGSTAMP, &ts) == -1) {
После [1] определения макросов SIOCGSTAMP и SIOCGSTAMPNS
переехали из <asm/sockios.h> в <linux/sockios.h>, в результате чего
#include <sys/ioctl.h> больше не приводит к определению этих констант.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc527ccd18ed5f96ce85f9985e9115
--
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : signature.asc
Тип : application/pgp-signature
Размер : 801 байтов
Описание: отсутствует
Url : <http://lists.altlinux.org/pipermail/devel/attachments/20190708/97029e22/attachment-0001.bin>
Подробная информация о списке рассылки Devel