Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/linux-atm.spec'], chrootPath='/var/lib/mock/dist-oc9-build-59104-16463/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/linux-atm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/linux-atm-2.5.1-4.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/linux-atm.spec'], chrootPath='/var/lib/mock/dist-oc9-build-59104-16463/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/linux-atm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o9Gw3T + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linux-atm-2.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/linux-atm-2.5.1.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd linux-atm-2.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/linux-atm-2.5.0-open-macro.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/linux-atm-2.5.0-disable-ilmidiag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/linux-atm-gcc43.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/man-pages.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/add-string-formatting-to-build-with-gcc7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-define-hacks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/siocgstamp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/linux-atm-2.5.1-disable-zntune.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + iconv -f iso8859-1 -t utf8 + mv src/extra/ANS/e164_cc.1 src/extra/ANS/e164_cc + iconv -f iso8859-1 -t utf8 + mv doc/atm-linux-howto.txt.1 doc/atm-linux-howto.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1BWqlt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd linux-atm-2.5.1 + ./autotools Running libtoolize... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Running aclocal... aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' Running autoconf... configure.in:9: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:9: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9827: AM_CONFIG_HEADER is expanded from... configure.in:9: the top level configure.in:12: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:12: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:12: the top level configure.in:14: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9493: AM_INIT_AUTOMAKE is expanded from... configure.in:14: the top level configure.in:25: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:9732: AM_PROG_LEX is expanded from... configure.in:25: the top level configure.in:30: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.in:30: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.in:30: the top level configure.in:211: warning: AC_OUTPUT should be used without arguments. configure.in:211: You should run autoupdate. Running autoheader... autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' Running automake... automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:14: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:14: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:24: installing './compile' configure.in:14: installing './missing' src/arpd/Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/ilmid/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/ilmid/Makefile.am:16: warning: variable 'ilmidiag_SOURCES' is defined but no program or src/ilmid/Makefile.am:16: library has 'ilmidiag' as canonical name (possible typo) src/ilmid/Makefile.am:17: warning: variable 'ilmidiag_LDADD' is defined but no program or src/ilmid/Makefile.am:17: library has 'ilmidiag' as canonical name (possible typo) src/ilmid/Makefile.am:18: warning: variable 'ilmidiag_DEPENDENCIES' is defined but no program or src/ilmid/Makefile.am:18: library has 'ilmidiag' as canonical name (possible typo) src/maint/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/maint/Makefile.am:17: warning: variable 'zntune_SOURCES' is defined but no program or src/maint/Makefile.am:17: library has 'zntune' as canonical name (possible typo) src/q2931/Makefile.am:21: warning: shell $(CC: non-POSIX variable name src/q2931/Makefile.am:21: (probably a GNU make extension) src/q2931/Makefile.am:33: warning: deprecated feature: target 'q.out.o' overrides 'q.out.o$(EXEEXT)' src/q2931/Makefile.am:33: change your target to read 'q.out.o$(EXEEXT)' /usr/share/automake-1.16/am/program.am: target 'q.out.o$(EXEEXT)' was defined here src/q2931/Makefile.am:1: while processing program 'q.out.o' src/q2931/Makefile.am:35: warning: deprecated feature: target 'qd.dump.o' overrides 'qd.dump.o$(EXEEXT)' src/q2931/Makefile.am:35: change your target to read 'qd.dump.o$(EXEEXT)' /usr/share/automake-1.16/am/program.am: target 'qd.dump.o$(EXEEXT)' was defined here src/q2931/Makefile.am:1: while processing program 'qd.dump.o' src/qgen/Makefile.am:8: warning: 'CFLAGS' is a user variable, you should not override it; src/qgen/Makefile.am:8: use 'AM_CFLAGS' instead src/sigd/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/switch/debug/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/switch/tcp/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Finished... Now run './configure' and 'make'... + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H' + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-01-08 01:17:23.836232405 +0800 +++ ./configure 2024-01-08 01:17:25.019235904 +0800 @@ -1736,7 +1736,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-01-08 01:17:25.019235904 +0800 +++ ./configure 2024-01-08 01:17:25.032235943 +0800 @@ -7115,7 +7115,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14168,7 +14168,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking target system type... x86_64-opencloudos-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... byacc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-opencloudos-linux-gnu-file... no checking for file... file checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7121: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for perl... /usr/bin/perl checking for asm/errno.h... yes checking for linux/atmsap.h... yes checking for main in -lresolv... yes configure: WARNING: *** atmoamd will not be built. Missing kernel support? checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/test/Makefile config.status: creating src/debug/Makefile config.status: creating src/qgen/Makefile config.status: creating src/saal/Makefile config.status: creating src/q2931/Makefile config.status: creating src/sigd/Makefile config.status: creating src/maint/Makefile config.status: creating src/arpd/Makefile config.status: creating src/ilmid/Makefile config.status: creating src/ilmid/asn1/Makefile config.status: creating src/man/Makefile config.status: creating src/led/Makefile config.status: creating src/lane/Makefile config.status: creating src/mpoad/Makefile config.status: creating src/oamd/Makefile config.status: creating src/switch/Makefile config.status: creating src/switch/debug/Makefile config.status: creating src/switch/tcp/Makefile config.status: creating src/br2684/Makefile config.status: creating src/config/Makefile config.status: creating src/extra/Makefile config.status: creating src/extra/linux-atm.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make make all-recursive make[1]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2atm.lo text2atm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2atm.c -fPIC -DPIC -o .libs/text2atm.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atm2text.lo atm2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atm2text.c -fPIC -DPIC -o .libs/atm2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmequal.lo atmequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmequal.c -fPIC -DPIC -o .libs/atmequal.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sdu2cell.lo sdu2cell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sdu2cell.c -fPIC -DPIC -o .libs/sdu2cell.o sdu2cell.c: In function 'sdu2cell': sdu2cell.c:21:45: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 21 | if (getsockopt(s,SOL_AAL,SO_ATMQOS,&qos,&size) < 0) return -1; | ^~~~~ | | | int * In file included from ../../src/include/atm.h:10, from sdu2cell.c:11: /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2qos.lo text2qos.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2qos.c -fPIC -DPIC -o .libs/text2qos.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qos2text.lo qos2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qos2text.c -fPIC -DPIC -o .libs/qos2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qosequal.lo qosequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qosequal.c -fPIC -DPIC -o .libs/qosequal.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sap2text.lo sap2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sap2text.c -fPIC -DPIC -o .libs/sap2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2sap.lo text2sap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2sap.c -fPIC -DPIC -o .libs/text2sap.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sapequal.lo sapequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c -fPIC -DPIC -o .libs/sapequal.o sapequal.c: In function 'match_blli': sapequal.c:65:49: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 65 | CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:65:13: note: in expansion of macro 'CHECK' 65 | CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); | ^~~~~ sapequal.c:73:53: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 73 | CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:73:13: note: in expansion of macro 'CHECK' 73 | CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); | ^~~~~ sapequal.c:74:49: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 74 | CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:74:13: note: in expansion of macro 'CHECK' 74 | CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); | ^~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o misc.lo misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c misc.c -fPIC -DPIC -o .libs/misc.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ans.lo ans.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ans.c -fPIC -DPIC -o .libs/ans.o ans.c: In function 'ans': ans.c:65:60: warning: pointer targets in passing argument 4 of 'dn_expand' differ in signedness [-Wpointer-sign] 65 | if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) | ^~~~ | | | unsigned char * In file included from ans.c:25: /usr/include/resolv.h:275:51: note: expected 'char *' but argument is of type 'unsigned char *' 275 | const unsigned char *, char *, int) __THROW; | ^~~~~~ ans.c:80:64: warning: pointer targets in passing argument 4 of 'dn_expand' differ in signedness [-Wpointer-sign] 80 | if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) | ^~~~ | | | unsigned char * /usr/include/resolv.h:275:51: note: expected 'char *' but argument is of type 'unsigned char *' 275 | const unsigned char *, char *, int) __THROW; | ^~~~~~ ans.c: In function 'ans_byaddr': ans.c:251:9: warning: the comparison will always evaluate as 'true' for the address of 'prv' will never be NULL [-Waddress] 251 | if (addr->sas_addr.prv) { | ^~~~ In file included from ../../src/include/atm.h:11, from ans.c:27: /usr/include/linux/atm.h:209:25: note: 'prv' declared here 209 | unsigned char prv[ATM_ESA_LEN];/* private ATM address */ | ^~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o common.lo common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c common.c -fPIC -DPIC -o .libs/common.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o diag.lo diag.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c diag.c -fPIC -DPIC -o .libs/diag.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o kptr.lo kptr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c kptr.c -fPIC -DPIC -o .libs/kptr.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2ip.lo text2ip.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2ip.c -fPIC -DPIC -o .libs/text2ip.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o timer.lo timer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c timer.c -fPIC -DPIC -o .libs/timer.o In file included from timer.c:14: timer.c: In function 'start_timer': ../../src/include/atmd.h:30:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if (r) (r)->prev = i; r = i; } }) | ^~ timer.c:55:15: note: in expansion of macro 'Q_INSERT_BEFORE' 55 | if (walk) Q_INSERT_BEFORE(timers,n,walk); | ^~~~~~~~~~~~~~~ timer.c:55:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 55 | if (walk) Q_INSERT_BEFORE(timers,n,walk); | ^~~~~~ ../../src/include/atmd.h:30:25: note: in definition of macro 'Q_INSERT_BEFORE' 30 | if (r) (r)->prev = i; r = i; } }) | ^ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o unix.lo unix.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c unix.c -fPIC -DPIC -o .libs/unix.o unix.c: In function 'un_recv_connect': unix.c:70:59: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 70 | len = recvfrom(s,buf,size,0,(struct sockaddr *) &addr,&addr_size); | ^~~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from unix.c:15: /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ unix.c: In function 'un_recv': unix.c:81:65: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 81 | return recvfrom(s,buf,size,0,(struct sockaddr *) &ctx->addr,&ctx->size); | ^~~~~~~~~~ | | | int * /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -version-info 1:0:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libatm.la -rpath /usr/lib64 text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo sapequal.lo misc.lo ans.lo common.lo diag.lo kptr.lo text2ip.lo timer.lo unix.lo -lresolv libtool: link: gcc -shared -fPIC -DPIC .libs/text2atm.o .libs/atm2text.o .libs/atmequal.o .libs/sdu2cell.o .libs/text2qos.o .libs/qos2text.o .libs/qosequal.o .libs/sap2text.o .libs/text2sap.o .libs/sapequal.o .libs/misc.o .libs/ans.o .libs/common.o .libs/diag.o .libs/kptr.o .libs/text2ip.o .libs/timer.o .libs/unix.o -lresolv -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libatm.so.1 -o .libs/libatm.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libatm.so.1" && ln -s "libatm.so.1.0.0" "libatm.so.1") libtool: link: (cd ".libs" && rm -f "libatm.so" && ln -s "libatm.so.1.0.0" "libatm.so") libtool: link: ( cd ".libs" && rm -f "libatm.la" && ln -s "../libatm.la" "libatm.la" ) make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' Making all in test make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/test' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o aread.o aread.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o aread aread.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/aread aread.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o awrite.o awrite.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o awrite awrite.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/awrite awrite.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ttcp.o ttcp.c ttcp.c: In function 'main': ttcp.c:371:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 371 | buf +=(bufalign - ((int)buf % bufalign) + bufoffset) % bufalign; | ^ ttcp.c:464:63: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 464 | if ((fd=accept(fd, (struct sockaddr *) &frominet, &fromlen) ) < 0) | ^~~~~~~~ | | | int * In file included from ttcp.c:69: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ttcp.c:471:33: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 471 | &peerlen) < 0) { | ^~~~~~~~ | | | int * /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ttcp.c:509:69: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 509 | if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &sockbufsize, &len) < 0) | ^~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ttcp.c:518:69: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 518 | if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &sockbufsize, &len) < 0) | ^~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ttcp.c: At top level: ttcp.c:48:13: warning: 'RCSid' defined but not used [-Wunused-variable] 48 | static char RCSid[] = "ttcp.c $Revision: 1.2.2.1 $"; | ^~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ttcp_atm ttcp.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/ttcp_atm ttcp.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmswitch.o atmswitch.c atmswitch.c: In function 'main': atmswitch.c:162:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | write(s[(pvc+1)%2],buf,bufsiz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmswitch atmswitch.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmswitch atmswitch.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o svc_recv.o svc_recv.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o svc_recv svc_recv.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/svc_recv svc_recv.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o svc_send.o svc_send.c svc_send.c: In function 'main': svc_send.c:28:23: warning: unused variable 'one' [-Wunused-variable] 28 | unsigned long one = 1; | ^~~ svc_send.c:85:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | write(s, NULL, 0); | ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o svc_send svc_send.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/svc_send svc_send.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o align.o align.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o align align.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/align align.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o aping.o aping.c aping.c: In function 'main': aping.c:104:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | (void) write(1,rotor[i = (i+1) & 3],2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o aping aping.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/aping aping.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o br.o br.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o br br.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/br br.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o bw.o bw.c bw.c: In function 'main': bw.c:60:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | while (blocks--) (void) write(s,buffer,BSIZE); | ^~~~~~~~~~~~~~~~~~~~~ bw.c:62:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | (void) write(s,buffer,size); | ^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o bw bw.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/bw bw.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o isp.o isp.c isp.c: In function 'send_msg': isp.c:40:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 40 | else fprintf(stderr,"bad write: %d != %d\n",wrote,sizeof(*msg)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld isp.c: In function 'recv_msg': isp.c:52:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 52 | else fprintf(stderr,"bad read: %d != %d\n",got,sizeof(*msg)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld /bin/sh ../../ylwrap ispl_y.y y.tab.c ispl_y.c y.tab.h `echo ispl_y.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output ispl_y.output -- byacc -d updating ispl_y.h gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ispl_y.o ispl_y.c /bin/sh ../../ylwrap ispl_l.l lex.yy.c ispl_l.c -- flex gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ispl_l.o ispl_l.c ispl_l.c:1514:16: warning: 'input' defined but not used [-Wunused-function] 1514 | #else | ^ ispl_l.c:1471:17: warning: 'yyunput' defined but not used [-Wunused-function] 1471 | | ^ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o isp isp.o ispl_y.o ispl_l.o ../../src/lib/libatm.la -lfl libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/isp isp.o ispl_y.o ispl_l.o ../../src/lib/.libs/libatm.so -lresolv -lfl gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o window.o window.c window.c: In function 'main': window.c:183:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] 183 | fprintf(stderr,"Received reply of length %d, should be %d.\n", | ~^ | | | int | %ld 184 | size,REPLY_SIZE); | ~~~~ | | | ssize_t {aka long int} window.c:267:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] 267 | fprintf(stderr,"Received message of length %d, should be %d.\n", | ~^ | | | int | %ld 268 | size,PINGPONG_SIZE); | ~~~~ | | | ssize_t {aka long int} window.c:172:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | (void)write(s1, buffer, PINGPONG_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ window.c:260:18: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | (void)write(s2, buffer2, REPLY_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o window window.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/window window.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/test' Making all in debug make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/debug' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o delay.o delay.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o delay delay.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/delay delay.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o svctor.o svctor.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o svctor svctor.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/svctor svctor.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/debug' Making all in qgen make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/qgen' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o common.o common.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o file.o file.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o first.o first.c /bin/sh ../../ylwrap ql_y.y y.tab.c ql_y.c y.tab.h `echo ql_y.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output ql_y.output -- byacc -d updating ql_y.h gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ql_y.o ql_y.c ql_y.y: In function 'copy_block': ql_y.y:98:13: warning: enumeration value 'vt_id' not handled in switch [-Wswitch] 98 | switch (orig_field->value->type) { | ^~~~~~ /bin/sh ../../ylwrap ql_l.l lex.yy.c ql_l.c -- flex gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ql_l.o ql_l.c ql_l.c:1267:16: warning: 'input' defined but not used [-Wunused-function] 1267 | #else | ^ ql_l.c:1224:17: warning: 'yyunput' defined but not used [-Wunused-function] 1224 | | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qgen.o qgen.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o second.o second.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o third.o third.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qgen common.o file.o first.o ql_y.o ql_l.o qgen.o second.o third.o -lfl libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qgen common.o file.o first.o ql_y.o ql_l.o qgen.o second.o third.o -lfl make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/qgen' Making all in q2931 make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/q2931' cat ./uni.h /usr/include/linux/atmsap.h | /usr/bin/perl ./mknl.pl atm_ai_msg atm_ai_ie atm_loc atm_cv atm_pu atm_na atm_cond atm_ie atm_msg atm_np atm_ton atm_sat atm_prs atm_scrn atm_vpa atm_poe q2931_cs atm_td atm_bc atm_tc atm_stc atm_upcc q2931_proto atm_flag atm_aalp atm_fd atm_tag atm_l2 atm_l3 atm_tt atm_mc atm_hl atm_imd atm_tdl atm_tni atm_nip atm_shi atm_oci atm_unfm atm_ofi atm_irs atm_it atm_lit atm_lsi atm_tcs atm_css atm_eqo atm_eqp atm_aap atm_asp atm_tor >default.nl || \ { rm -f default.nl; echo 1; } gcc -E -DHAVE_CONFIG_H -I. -I../.. - < ./msg.fmt | ../qgen/qgen 229 groups, 213 fields (26 var-len), construction area is 1069 bytes, 3425 words in constructor, 3179 words in parser. gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o q.out.o q.out.c gcc -E -DHAVE_CONFIG_H -I. -I../.. - < ./msg.fmt | ../qgen/qgen -D 229 groups, 213 fields (26 var-len), construction area is 1069 bytes, 0 words in constructor, 5073 words in parser, 534 symbolic names in 256 tables. gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qd.dump.o qd.dump.c make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/q2931' Making all in saal make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/saal' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o pdu.o pdu.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o queue.o queue.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o saal.o saal.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sscf.o sscf.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sscop.o sscop.c rm -f libsaal.a ar cru libsaal.a pdu.o queue.o saal.o sscf.o sscop.o ranlib libsaal.a make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/saal' Making all in sigd make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/sigd' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmsigd.o atmsigd.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o io.o io.c io.c: In function 'get_pvc': io.c:361:53: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 361 | if (getsockname(s,(struct sockaddr *) &addr,&size) < 0) | ^~~~~ | | | int * In file included from io.c:17: /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o kernel.o kernel.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o proto.o proto.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o uni.o uni.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sap.o sap.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o timeout.o timeout.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o trace.o trace.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o policy.o policy.c /bin/sh ../../ylwrap cfg_y.y y.tab.c cfg_y.c y.tab.h `echo cfg_y.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output cfg_y.output -- byacc -d updating cfg_y.h gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o cfg_y.o cfg_y.c cfg_y.y:32:12: warning: 'hex2num' defined but not used [-Wunused-function] 32 | static int hex2num(char digit) | ^~~~~~~ /bin/sh ../../ylwrap cfg_l.l lex.yy.c cfg_l.c -- flex gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o cfg_l.o cfg_l.c cfg_l.c:1529:16: warning: 'input' defined but not used [-Wunused-function] 1529 | #else | ^ cfg_l.c:1486:17: warning: 'yyunput' defined but not used [-Wunused-function] 1486 | | ^ /usr/bin/perl ./mkmess.pl <./../q2931/uni.h >mess.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o mess.o mess.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmsigd atmsigd.o io.o kernel.o proto.o uni.o sap.o timeout.o trace.o policy.o cfg_y.o cfg_l.o mess.o ../../src/q2931/q.out.o ../../src/q2931/qd.dump.o ../../src/lib/libatm.la ../../src/saal/libsaal.a -lfl libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmsigd atmsigd.o io.o kernel.o proto.o uni.o sap.o timeout.o trace.o policy.o cfg_y.o cfg_l.o mess.o ../../src/q2931/q.out.o ../../src/q2931/qd.dump.o ../../src/lib/.libs/libatm.so -lresolv ../../src/saal/libsaal.a -lfl make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/sigd' Making all in maint make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/maint' gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmdiag.o atmdiag.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmdiag atmdiag.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmdiag atmdiag.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmdump.o atmdump.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmdump atmdump.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmdump atmdump.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sonetdiag.o sonetdiag.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o sonetdiag sonetdiag.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/sonetdiag sonetdiag.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o saaldump.o saaldump.c saaldump.c: In function 'main': saaldump.c:174:17: warning: pointer targets in passing argument 1 of 'analyze' differ in signedness [-Wpointer-sign] 174 | analyze(buf,size,stamp); | ^~~ | | | char * saaldump.c:79:36: note: expected 'unsigned char *' but argument is of type 'char *' 79 | static void analyze(unsigned char *pdu,int size,struct timeval stamp) | ~~~~~~~~~~~~~~~^~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o saaldump saaldump.o ../../src/q2931/qd.dump.o ../../src/saal/libsaal.a ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/saaldump saaldump.o ../../src/q2931/qd.dump.o ../../src/saal/libsaal.a ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmaddr.o atmaddr.c atmaddr.c: In function 'main': atmaddr.c:100:52: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 100 | fprintf(stderr,"internal error: len %d %% %d\n",req.length, | ~^ | | | int | %ld 101 | sizeof(*addr)); | ~~~~~~~~~~~~~ | | | long unsigned int /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmaddr atmaddr.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmaddr atmaddr.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o esi.o esi.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o esi esi.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/esi esi.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmloop.o atmloop.c atmloop.c: In function 'main': atmloop.c:119:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 119 | req.arg = (void *) mode; | ^ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmloop atmloop.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmloop atmloop.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmtcp.o atmtcp.c atmtcp.c: In function 'file_write': atmtcp.c:582:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 582 | fprintf(stderr,"short write (%d < %d)\n",wrote,sizeof(stream)); | ~^ ~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld atmtcp.c: In function 'main': atmtcp.c:848:61: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 848 | if ((*fd2 = accept(fd,(struct sockaddr *) &addr,&addr_len)) < 0) { | ^~~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from atmtcp.c:15: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmtcp atmtcp.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmtcp atmtcp.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o enitune.o enitune.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o enitune enitune.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/enitune enitune.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o hediag.o hediag.c hediag.c:19:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19 | { 0x80000, "reset_cntl" }, | ^~~~~~~~~~~~ hediag.c:20:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 20 | { 0x80004, "host_cntl" }, | ^~~~~~~~~~~ hediag.c:21:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21 | { 0x80008, "lb_swap" }, | ^~~~~~~~~ hediag.c:22:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | { 0x8000c, "lb_mem_addr" }, | ^~~~~~~~~~~~~ hediag.c:23:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 23 | { 0x80010, "lb_mem_data" }, | ^~~~~~~~~~~~~ hediag.c:24:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 24 | { 0x80014, "lb_mem_access" }, | ^~~~~~~~~~~~~~~ hediag.c:25:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 25 | { 0x80018, "sdram_ctl" }, | ^~~~~~~~~~~ hediag.c:26:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26 | { 0x8001c, "int_fifo" }, | ^~~~~~~~~~ hediag.c:27:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | { 0x80020, "abort_addr" }, | ^~~~~~~~~~~~ hediag.c:29:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 29 | { 0x80080, "irq0_base" }, | ^~~~~~~~~~~ hediag.c:30:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30 | { 0x80084, "irq0_head" }, | ^~~~~~~~~~~ hediag.c:31:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31 | { 0x80088, "irq0_cntl" }, | ^~~~~~~~~~~ hediag.c:32:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | { 0x8008c, "irq0_data" }, | ^~~~~~~~~~~ hediag.c:34:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 34 | { 0x800c0, "grp_10_map" }, | ^~~~~~~~~~~~ hediag.c:35:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | { 0x800c4, "grp_32_map" }, | ^~~~~~~~~~~~ hediag.c:36:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | { 0x800c8, "grp_54_map" }, | ^~~~~~~~~~~~ hediag.c:37:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 37 | { 0x800cc, "grp_76_map" }, | ^~~~~~~~~~~~ hediag.c:39:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 39 | { 0x80400, "g0_rbps_s" }, | ^~~~~~~~~~~ hediag.c:40:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | { 0x80404, "g0_rbps_t" }, | ^~~~~~~~~~~ hediag.c:41:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | { 0x80408, "g0_rbps_qi" }, | ^~~~~~~~~~~~ hediag.c:42:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | { 0x8040c, "g0_rbps_bs" }, | ^~~~~~~~~~~~ hediag.c:43:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 43 | { 0x80410, "g0_rbpl_s" }, | ^~~~~~~~~~~ hediag.c:44:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | { 0x80414, "g0_rbpl_t" }, | ^~~~~~~~~~~ hediag.c:45:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | { 0x80418, "g0_rbpl_qi" }, | ^~~~~~~~~~~~ hediag.c:46:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | { 0x8041c, "g0_rbpl_bs" }, | ^~~~~~~~~~~~ hediag.c:49:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | { 0x80580, "g0_inmq_s" }, | ^~~~~~~~~~~ hediag.c:50:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | { 0x80584, "g0_inmq_l" }, | ^~~~~~~~~~~ hediag.c:51:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | { 0x80588, "g1_inmq_s" }, | ^~~~~~~~~~~ hediag.c:52:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | { 0x8058c, "g1_inmq_l" }, | ^~~~~~~~~~~ hediag.c:53:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | { 0x80590, "g2_inmq_s" }, | ^~~~~~~~~~~ hediag.c:54:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | { 0x80594, "g2_inmq_l" }, | ^~~~~~~~~~~ hediag.c:55:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | { 0x80598, "g3_inmq_s" }, | ^~~~~~~~~~~ hediag.c:56:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | { 0x8059c, "g3_inmq_l" }, | ^~~~~~~~~~~ hediag.c:57:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | { 0x805a0, "g4_inmq_s" }, | ^~~~~~~~~~~ hediag.c:58:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | { 0x805a4, "g4_inmq_l" }, | ^~~~~~~~~~~ hediag.c:59:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | { 0x805a8, "g5_inmq_s" }, | ^~~~~~~~~~~ hediag.c:60:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | { 0x805ac, "g5_inmq_l" }, | ^~~~~~~~~~~ hediag.c:61:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | { 0x805b0, "g6_inmq_s" }, | ^~~~~~~~~~~ hediag.c:62:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | { 0x805b4, "g6_inmq_l" }, | ^~~~~~~~~~~ hediag.c:63:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | { 0x805b8, "g7_inmq_s" }, | ^~~~~~~~~~~ hediag.c:64:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | { 0x805bc, "g7_inmq_l" }, | ^~~~~~~~~~~ hediag.c:66:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | { 0x80680, "tpdrq_b_h" }, | ^~~~~~~~~~~ hediag.c:67:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | { 0x80684, "tpdrq_t" }, | ^~~~~~~~~ hediag.c:68:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | { 0x80688, "tpdrq_s" }, | ^~~~~~~~~ hediag.c:70:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | { 0x8068c, "ubuff_ba" }, | ^~~~~~~~~~ hediag.c:72:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | { 0x806c0, "rlbf0_h" }, | ^~~~~~~~~ hediag.c:73:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { 0x806c4, "rlbf0_t" }, | ^~~~~~~~~ hediag.c:74:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | { 0x806c8, "rlbf1_h" }, | ^~~~~~~~~ hediag.c:75:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { 0x806cc, "rlbf1_t" }, | ^~~~~~~~~ hediag.c:76:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | { 0x806d0, "rlbc_h" }, | ^~~~~~~~ hediag.c:77:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { 0x806d4, "rlbc_t" }, | ^~~~~~~~ hediag.c:78:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | { 0x806d8, "rlbc_h2" }, | ^~~~~~~~~ hediag.c:79:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | { 0x806e0, "tlbf_h" }, | ^~~~~~~~ hediag.c:80:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | { 0x806e4, "tlbf_t" }, | ^~~~~~~~ hediag.c:81:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | { 0x806e8, "rlbf0_c" }, | ^~~~~~~~~ hediag.c:82:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | { 0x806ec, "rlbf1_c" }, | ^~~~~~~~~ hediag.c:84:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | { 0x806f0, "rxthrsh" }, | ^~~~~~~~~ hediag.c:85:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | { 0x806f4, "lithrsh" }, | ^~~~~~~~~ hediag.c:87:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | { 0x80700, "lbarb" }, | ^~~~~~~ hediag.c:88:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | { 0x80704, "sdramcon" }, | ^~~~~~~~~~ hediag.c:89:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | { 0x80708, "lbstat" }, | ^~~~~~~~ hediag.c:90:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | { 0x8070c, "rcc_stat" }, | ^~~~~~~~~~ hediag.c:92:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | { 0x80740, "tcmconfig" }, | ^~~~~~~~~~~ hediag.c:93:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | { 0x80744, "tsrb_ba" }, | ^~~~~~~~~ hediag.c:94:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | { 0x80748, "tsrc_ba" }, | ^~~~~~~~~ hediag.c:95:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | { 0x8074c, "tmabr_ba" }, | ^~~~~~~~~~ hediag.c:96:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | { 0x80750, "tpd_ba" }, | ^~~~~~~~ hediag.c:97:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | { 0x80758, "tsrd_ba" }, | ^~~~~~~~~ hediag.c:99:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | { 0x80760, "tx_config" }, | ^~~~~~~~~~~ hediag.c:100:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | { 0x80764, "txaal5_proto" }, | ^~~~~~~~~~~~~~ hediag.c:102:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { 0x80780, "rcmconfig" }, | ^~~~~~~~~~~ hediag.c:103:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | { 0x80784, "rsrb_ba" }, | ^~~~~~~~~ hediag.c:104:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | { 0x80788, "rcmlbm_ba" }, | ^~~~~~~~~~~ hediag.c:105:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | { 0x8078c, "rcmabr_ba" }, | ^~~~~~~~~~~ hediag.c:107:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | { 0x807c0, "rc_config" }, | ^~~~~~~~~~~ hediag.c:109:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | { 0x807c4, "mcc" }, | ^~~~~ hediag.c:110:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | { 0x807c8, "oec" }, | ^~~~~ hediag.c:111:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | { 0x807cc, "dcc" }, | ^~~~~ hediag.c:112:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | { 0x807d0, "cec" }, | ^~~~~ hediag.c:114:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | { 0x807f4, "lb_config" }, | ^~~~~~~~~~~ hediag.c:116:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | { 0x807f0, "hsp_ba" }, | ^~~~~~~~ hediag.c:118:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | { 0x807f8, "con_dat" }, | ^~~~~~~~~ hediag.c:119:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | { 0x807fc, "con_ctl" }, | ^~~~~~~~~ hediag.c: In function 'main': hediag.c:155:13: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 155 | if (strcmp(argv[2], "readpci") == 0) | ^~~~~~ hediag.c:11:1: note: include '' or provide a declaration of 'strcmp' 10 | #include +++ |+#include 11 | /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o hediag hediag.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/hediag hediag.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/maint' Making all in arpd make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/arpd' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmarp.o atmarp.c atmarp.c: In function 'send_request': atmarp.c:70:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 70 | fprintf(stderr,"bad read: %d != %d\n",len,sizeof(int)); | ~^ ~~~~~~~~~~~ | | | | int long unsigned int | %ld /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmarp atmarp.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmarp atmarp.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmarpd.o atmarpd.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o arp.o arp.c In file included from arp.c:25: arp.c: In function 'want_arp_srv': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:134:5: note: in expansion of macro 'Q_INSERT_HEAD' 134 | Q_INSERT_HEAD(itf->arp_srv->vccs,vcc); | ^~~~~~~~~~~~~ arp.c:134:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 134 | Q_INSERT_HEAD(itf->arp_srv->vccs,vcc); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'connect_me': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:451:5: note: in expansion of macro 'Q_INSERT_HEAD' 451 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ arp.c:451:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 451 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'learn': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:509:9: note: in expansion of macro 'Q_INSERT_HEAD' 509 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ arp.c:509:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 509 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:568:9: note: in expansion of macro 'Q_INSERT_HEAD' 568 | Q_INSERT_HEAD(itf->table,entry); | ^~~~~~~~~~~~~ arp.c:568:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 568 | Q_INSERT_HEAD(itf->table,entry); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:583:17: note: in expansion of macro 'Q_INSERT_HEAD' 583 | Q_INSERT_HEAD(entry->vccs,incoming->vccs); | ^~~~~~~~~~~~~ arp.c:583:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 583 | Q_INSERT_HEAD(entry->vccs,incoming->vccs); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'resolve': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:663:9: note: in expansion of macro 'Q_INSERT_HEAD' 663 | Q_INSERT_HEAD(itf->table,*entry); | ^~~~~~~~~~~~~ arp.c:663:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 663 | Q_INSERT_HEAD(itf->table,*entry); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'ioctl_set_pvc': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:901:5: note: in expansion of macro 'Q_INSERT_HEAD' 901 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ arp.c:901:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 901 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:902:5: note: in expansion of macro 'Q_INSERT_HEAD' 902 | Q_INSERT_HEAD(itf->table,entry); | ^~~~~~~~~~~~~ arp.c:902:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 902 | Q_INSERT_HEAD(itf->table,entry); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'ioctl_set_svc': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:927:5: note: in expansion of macro 'Q_INSERT_HEAD' 927 | Q_INSERT_HEAD(itf->table,entry); | ^~~~~~~~~~~~~ arp.c:927:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 927 | Q_INSERT_HEAD(itf->table,entry); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o io.o io.c io.c: In function 'accept_new': io.c:283:57: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 283 | if ((fd = accept(incoming,(struct sockaddr *) &addr,&len)) < 0) { | ^~~~ | | | int * In file included from io.c:17: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ io.c:298:46: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 298 | if (getsockopt(fd,SOL_ATM,SO_ATMQOS,&qos,&size) < 0) | ^~~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from io.c:28: ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ io.c:315:9: note: in expansion of macro 'Q_INSERT_HEAD' 315 | Q_INSERT_HEAD(unidirectional_vccs,vcc); | ^~~~~~~~~~~~~ io.c:315:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 315 | Q_INSERT_HEAD(unidirectional_vccs,vcc); | ^~~~~~~~~~~~~~~~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ io.c:325:17: note: in expansion of macro 'Q_INSERT_HEAD' 325 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ io.c:325:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 325 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ io.c:343:5: note: in expansion of macro 'Q_INSERT_HEAD' 343 | Q_INSERT_HEAD(unknown_incoming,entry); | ^~~~~~~~~~~~~ io.c:343:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 343 | Q_INSERT_HEAD(unknown_incoming,entry); | ^~~~~~~~~~~~~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ io.c:345:5: note: in expansion of macro 'Q_INSERT_HEAD' 345 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ io.c:345:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 345 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ io.c: In function 'get_local': io.c:620:54: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 620 | result = getsockname(fd,(struct sockaddr *) addr,&length); | ^~~~~~~ | | | int * /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o itf.o itf.c In file included from itf.c:18: itf.c: In function 'itf_up': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ itf.c:77:5: note: in expansion of macro 'Q_INSERT_HEAD' 77 | Q_INSERT_HEAD(itfs,itf); | ^~~~~~~~~~~~~ itf.c:77:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 77 | Q_INSERT_HEAD(itfs,itf); | ^~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o table.o table.c table.c: In function 'dump_vcc': table.c:107:55: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 107 | if (getpeername(vcc->fd,(struct sockaddr *) &addr,&size) < 0) { | ^~~~~ | | | int * In file included from table.c:15: /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ table.c:127:51: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 127 | if (getsockopt(vcc->fd,SOL_ATM,SO_ATMQOS,&qos,&size) < 0) | ^~~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ table.c:135:57: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 135 | if (getsockopt(vcc->fd,SOL_SOCKET,SO_SNDBUF,&sndbuf,&size) < 0) | ^~~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmarpd atmarpd.o arp.o io.o itf.o table.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmarpd atmarpd.o arp.o io.o itf.o table.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/arpd' Making all in ilmid make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' Making all in asn1 make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid/asn1' gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o asn_len.o asn_len.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o asn_tag.o asn_tag.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o asn_int.o asn_int.c asn_int.c: In function 'PrintAsnInt': asn_int.c:188:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'AsnInt' {aka 'long int'} [-Wformat=] 188 | fprintf(f,"%d", *v); | ~^ ~~ | | | | int AsnInt {aka long int} | %ld asn_int.c: In function 'BEncUAsnIntContent': asn_int.c:255:21: warning: unused variable 'retLen' [-Wunused-variable] 255 | int retLen; | ^~~~~~ asn_int.c: In function 'PrintUAsnInt': asn_int.c:373:17: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'UAsnInt' {aka 'long unsigned int'} [-Wformat=] 373 | fprintf(f,"%u", *v); | ~^ ~~ | | | | | UAsnInt {aka long unsigned int} | unsigned int | %lu gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o asn_octs.o asn_octs.c asn_octs.c: In function 'BDecAsnOctsContent': asn_octs.c:225:11: warning: unused variable 'tmp' [-Wunused-variable] 225 | char* tmp; | ^~~ gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o asn_bits.o asn_bits.c asn_bits.c: In function 'FillBitStringStk': asn_bits.c:133:23: warning: unused variable 'unusedBits' [-Wunused-variable] 133 | unsigned long int unusedBits; | ^~~~~~~~~~ asn_bits.c: In function 'BDecAsnBitsContent': asn_bits.c:263:11: warning: unused variable 'tmp' [-Wunused-variable] 263 | char* tmp; | ^~~ asn_bits.c: In function 'AsnBitsEquiv': asn_bits.c:348:64: warning: self-comparison always evaluates to true [-Wtautological-compare] 348 | (( b1->bits[octetsLessOne] & (0xFF << octetBits)) == | ^~ gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o str_stk.o str_stk.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o asn_oid.o asn_oid.c asn_oid.c: In function 'PrintAsnOid': asn_oid.c:130:20: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 130 | fprintf(f,"%u %u", firstArcNum, arcNum - (firstArcNum * 40)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int long unsigned int | %lu asn_oid.c:139:22: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 139 | fprintf(f," %u", arcNum); | ~^ ~~~~~~ | | | | | long unsigned int | unsigned int | %lu gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o asn_null.o asn_null.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o asn_list.o asn_list.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o nibble_alloc.o nibble_alloc.c nibble_alloc.c: In function 'ResetNibbleMem': nibble_alloc.c:132:9: warning: unused variable 'i' [-Wunused-variable] 132 | int i; | ^ nibble_alloc.c: In function 'ShutdownNibbleMem': nibble_alloc.c:170:9: warning: unused variable 'i' [-Wunused-variable] 170 | int i; | ^ gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o print.o print.c rm -f libasn1.a ar cru libasn1.a asn_len.o asn_tag.o asn_int.o asn_octs.o asn_bits.o str_stk.o asn_oid.o asn_null.o asn_list.o nibble_alloc.o print.o ranlib libasn1.a make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid/asn1' make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o rfc1157_snmp.o rfc1157_snmp.c rfc1157_snmp.c: In function 'BEncVarBindContent': rfc1157_snmp.c:30:11: warning: unused variable 'component' [-Wunused-variable] 30 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:29:12: warning: unused variable 'listLen' [-Wunused-variable] 29 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecVarBindContent': rfc1157_snmp.c:62:12: warning: unused variable 'tagId2' [-Wunused-variable] 62 | AsnTag tagId2; | ^~~~~~ rfc1157_snmp.c:61:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 61 | AsnLen elmtLen2; | ^~~~~~~~ rfc1157_snmp.c:60:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 60 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1157_snmp.c:59:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 59 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c: In function 'BEncVarBindListContent': rfc1157_snmp.c:141:12: warning: unused variable 'totalLen' [-Wunused-variable] 141 | AsnLen totalLen = 0; | ^~~~~~~~ rfc1157_snmp.c: In function 'BDecVarBindListContent': rfc1157_snmp.c:173:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 173 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c:169:9: warning: unused variable 'seqDone' [-Wunused-variable] 169 | int seqDone = FALSE; | ^~~~~~~ rfc1157_snmp.c: In function 'BEncPDUContent': rfc1157_snmp.c:237:11: warning: unused variable 'component' [-Wunused-variable] 237 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:236:12: warning: unused variable 'listLen' [-Wunused-variable] 236 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecPDUContent': rfc1157_snmp.c:284:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 284 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c: In function 'BEncTrap_PDUContent': rfc1157_snmp.c:383:11: warning: unused variable 'component' [-Wunused-variable] 383 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:382:12: warning: unused variable 'listLen' [-Wunused-variable] 382 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecTrap_PDUContent': rfc1157_snmp.c:443:12: warning: unused variable 'tagId2' [-Wunused-variable] 443 | AsnTag tagId2; | ^~~~~~ rfc1157_snmp.c:442:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 442 | AsnLen elmtLen2; | ^~~~~~~~ rfc1157_snmp.c:441:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 441 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1157_snmp.c:440:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 440 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c: In function 'BEncPDUsContent': rfc1157_snmp.c:573:11: warning: unused variable 'component' [-Wunused-variable] 573 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:572:12: warning: unused variable 'listLen' [-Wunused-variable] 572 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecPDUsContent': rfc1157_snmp.c:645:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 645 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c:644:12: warning: unused variable 'tagId1' [-Wunused-variable] 644 | AsnTag tagId1; | ^~~~~~ rfc1157_snmp.c:643:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 643 | AsnLen elmtLen1; | ^~~~~~~~ rfc1157_snmp.c:641:9: warning: unused variable 'seqDone' [-Wunused-variable] 641 | int seqDone = FALSE; | ^~~~~~~ rfc1157_snmp.c: In function 'BEncMessageContent': rfc1157_snmp.c:771:11: warning: unused variable 'component' [-Wunused-variable] 771 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:770:12: warning: unused variable 'listLen' [-Wunused-variable] 770 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecMessageContent': rfc1157_snmp.c:810:12: warning: unused variable 'tagId2' [-Wunused-variable] 810 | AsnTag tagId2; | ^~~~~~ rfc1157_snmp.c:809:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 809 | AsnLen elmtLen2; | ^~~~~~~~ rfc1157_snmp.c:808:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 808 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1157_snmp.c:807:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 807 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o rfc1155_smi.o rfc1155_smi.c rfc1155_smi.c:22:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | AsnOid internet = { 3, "\53\6\1" }; | ^~~~~~~~~ rfc1155_smi.c:24:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 24 | AsnOid directory = { 4, "\53\6\1\1" }; | ^~~~~~~~~~~ rfc1155_smi.c:26:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26 | AsnOid mgmt = { 4, "\53\6\1\2" }; | ^~~~~~~~~~~ rfc1155_smi.c:28:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28 | AsnOid experimental = { 4, "\53\6\1\3" }; | ^~~~~~~~~~~ rfc1155_smi.c:30:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30 | AsnOid private = { 4, "\53\6\1\4" }; | ^~~~~~~~~~~ rfc1155_smi.c:32:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | AsnOid enterprises = { 5, "\53\6\1\4\1" }; | ^~~~~~~~~~~~~ rfc1155_smi.c: In function 'BEncSimpleSyntaxContent': rfc1155_smi.c:42:11: warning: unused variable 'component' [-Wunused-variable] 42 | void* component; | ^~~~~~~~~ rfc1155_smi.c:41:12: warning: unused variable 'listLen' [-Wunused-variable] 41 | AsnLen listLen; | ^~~~~~~ rfc1155_smi.c: In function 'BDecSimpleSyntaxContent': rfc1155_smi.c:102:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 102 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1155_smi.c:101:12: warning: unused variable 'tagId1' [-Wunused-variable] 101 | AsnTag tagId1; | ^~~~~~ rfc1155_smi.c:100:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 100 | AsnLen elmtLen1; | ^~~~~~~~ rfc1155_smi.c:98:9: warning: unused variable 'seqDone' [-Wunused-variable] 98 | int seqDone = FALSE; | ^~~~~~~ rfc1155_smi.c: In function 'BEncNetworkAddressContent': rfc1155_smi.c:182:11: warning: unused variable 'component' [-Wunused-variable] 182 | void* component; | ^~~~~~~~~ rfc1155_smi.c:181:12: warning: unused variable 'listLen' [-Wunused-variable] 181 | AsnLen listLen; | ^~~~~~~ rfc1155_smi.c: In function 'BDecNetworkAddressContent': rfc1155_smi.c:213:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 213 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1155_smi.c:212:12: warning: unused variable 'tagId1' [-Wunused-variable] 212 | AsnTag tagId1; | ^~~~~~ rfc1155_smi.c:211:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 211 | AsnLen elmtLen1; | ^~~~~~~~ rfc1155_smi.c:209:9: warning: unused variable 'seqDone' [-Wunused-variable] 209 | int seqDone = FALSE; | ^~~~~~~ rfc1155_smi.c: In function 'BEncApplicationSyntaxContent': rfc1155_smi.c:261:11: warning: unused variable 'component' [-Wunused-variable] 261 | void* component; | ^~~~~~~~~ rfc1155_smi.c:260:12: warning: unused variable 'listLen' [-Wunused-variable] 260 | AsnLen listLen; | ^~~~~~~ rfc1155_smi.c: In function 'BDecApplicationSyntaxContent': rfc1155_smi.c:332:12: warning: unused variable 'tagId2' [-Wunused-variable] 332 | AsnTag tagId2; | ^~~~~~ rfc1155_smi.c:331:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 331 | AsnLen elmtLen2; | ^~~~~~~~ rfc1155_smi.c:330:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 330 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1155_smi.c:329:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 329 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1155_smi.c:328:12: warning: unused variable 'tagId1' [-Wunused-variable] 328 | AsnTag tagId1; | ^~~~~~ rfc1155_smi.c:327:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 327 | AsnLen elmtLen1; | ^~~~~~~~ rfc1155_smi.c:325:9: warning: unused variable 'seqDone' [-Wunused-variable] 325 | int seqDone = FALSE; | ^~~~~~~ rfc1155_smi.c: In function 'BEncObjectSyntaxContent': rfc1155_smi.c:423:11: warning: unused variable 'component' [-Wunused-variable] 423 | void* component; | ^~~~~~~~~ rfc1155_smi.c:422:12: warning: unused variable 'listLen' [-Wunused-variable] 422 | AsnLen listLen; | ^~~~~~~ rfc1155_smi.c: In function 'BDecObjectSyntaxContent': rfc1155_smi.c:462:12: warning: unused variable 'tagId2' [-Wunused-variable] 462 | AsnTag tagId2; | ^~~~~~ rfc1155_smi.c:461:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 461 | AsnLen elmtLen2; | ^~~~~~~~ rfc1155_smi.c:460:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 460 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1155_smi.c:459:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 459 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1155_smi.c:458:12: warning: unused variable 'tagId1' [-Wunused-variable] 458 | AsnTag tagId1; | ^~~~~~ rfc1155_smi.c:457:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 457 | AsnLen elmtLen1; | ^~~~~~~~ rfc1155_smi.c:455:9: warning: unused variable 'seqDone' [-Wunused-variable] 455 | int seqDone = FALSE; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o util.o util.c util.c: In function 'AppendVarBind': util.c:78:12: warning: unused variable 'entry' [-Wunused-variable] 78 | VarBind *entry; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o io.o io.c io.c: In function 'handle_ilmidiag': io.c:430:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 430 | write(newfd, &ic, sizeof(ic)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:417:14: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 417 | else strncpy( ic.remote_sysname, "(empty)", 7 ); | ^ io.c:422:14: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 422 | else strncpy( ic.remote_contact, "(empty)", 7 ); | ^ io.c:428:14: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 428 | else strncpy( ic.remote_portname, "(empty)", 7 ); | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o message.o message.c message.c: In function 'create_va_getnext_message': message.c:51:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | m->community.octs = "ILMI"; | ^ message.c: In function 'create_va_get_message': message.c:89:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | m->community.octs = "ILMI"; | ^ message.c: In function 'create_set_message': message.c:166:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | set_message->community.octs = "ILMI"; | ^ message.c: In function 'create_coldstart_message': message.c:198:32: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 198 | trap_message->community.octs = "ILMI"; | ^ message.c:203:47: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 203 | trap_message->data->a.trap->enterprise.octs = "\53\06\01\04\01\03\01\01"; | ^ message.c:209:60: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 209 | trap_message->data->a.trap->agent_addr->a.internet->octs = "\0\0\0\0"; | ^ message.c:220:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 220 | entry->name.octs = "\53\06\01\02\01\01\03\00"; | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmf_uni.o atmf_uni.c atmf_uni.c:42:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | {19, "\53\06\01\04\01\202\106\02\02\02\01\06\02\01\01\01\13\00\00" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:44:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | {19, "\53\06\01\04\01\202\106\02\02\02\01\06\02\01\01\01\102\00\00" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:45:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | AsnOid atmfPortIndex = {13, "\53\06\01\04\01\202\141\02\01\01\01\01\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:46:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | AsnOid atmfPortMyIfName = {13, "\53\06\01\04\01\202\141\02\01\01\01\07\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:47:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | AsnOid atmfPortMyIdentifier = {13, "\53\06\01\04\01\202\141\02\01\01\01\10\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:48:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | AsnOid atmfMyIpNmAddress = {11, "\53\06\01\04\01\202\141\02\01\02\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:49:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | AsnOid atmfMySystemIdentifier = {11, "\53\06\01\04\01\202\141\02\01\04\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:50:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | AsnOid atmfAtmLayerMaxVpiBits = {13, "\53\06\01\04\01\202\141\02\02\01\01\6\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:51:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | AsnOid atmfAtmLayerMaxVciBits = {13, "\53\06\01\04\01\202\141\02\02\01\01\7\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:52:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | AsnOid atmfAtmLayerUniType = {13, "\53\06\01\04\01\202\141\02\02\01\01\10\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:53:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | AsnOid atmfAtmLayerUniVersion = {13, "\53\06\01\04\01\202\141\02\02\01\01\11\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:54:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | AsnOid atmfAtmLayerDeviceType = {13, "\53\06\01\04\01\202\141\02\02\01\01\12\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:55:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | AsnOid atmfAtmLayerIlmiVersion = {13, "\53\06\01\04\01\202\141\02\02\01\01\13\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:56:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | AsnOid atmfAtmLayerNniSigVersion = {13, "\53\06\01\04\01\202\141\02\02\01\01\14\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:57:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | AsnOid atmfNetPrefixStatus = {NETPREFIX_LEN, "\53\06\01\04\01\202\141\02\07\01\01\03"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:60:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | {25, "\53\06\01\04\01\202\141\02\10\01\01\03\00\12\01\03\06\01\04\01\202\141\01\05\01"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:63:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | AsnOid atmfSrvcRegTable = { 10, "\53\06\01\04\01\202\141\02\10\01" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:64:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | AsnOid atmfAddressTable = { 9, "\53\06\01\04\01\202\141\02\06" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:65:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | AsnOid atmfAddressStatus = { 12, "\53\06\01\04\01\202\141\02\06\01\01\03" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:67:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | { 13, "\53\06\01\04\01\202\141\02\13\01\01\02\00" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mib.h:27, from atmf_uni.h:30, from atmf_uni.c:29: atmf_uni.c: In function 'setNetPrefix': ../../src/include/atmd.h:30:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if (r) (r)->prev = i; r = i; } }) | ^~ atmf_uni.c:234:7: note: in expansion of macro 'Q_INSERT_BEFORE' 234 | Q_INSERT_BEFORE(tmp, newPrefix, prefix); | ^~~~~~~~~~~~~~~ atmf_uni.c:234:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 234 | Q_INSERT_BEFORE(tmp, newPrefix, prefix); | ^~~ ../../src/include/atmd.h:30:25: note: in definition of macro 'Q_INSERT_BEFORE' 30 | if (r) (r)->prev = i; r = i; } }) | ^ atmf_uni.c:246:22: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 246 | NetPrefixNode *tmp = (NetPrefixNode *) var->value; | ^~~ atmf_uni.c: In function 'getLecsAddress': atmf_uni.c:257:18: warning: unused variable 'prefix' [-Wunused-variable] 257 | NetPrefixNode *prefix; | ^~~~~~ atmf_uni.c:256:7: warning: unused variable 'cmp' [-Wunused-variable] 256 | int cmp; | ^~~ atmf_uni.c: At top level: atmf_uni.c:109:16: warning: 'atmLecsAddress' defined but not used [-Wunused-variable] 109 | static AsnOcts atmLecsAddress = {0, NULL}; | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o mib.o mib.c mib.c: In function 'getIpAddr': mib.c:371:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 371 | ((IpAddress *) var->value)->octs = p = alloc(4); | ^ mib.c: In function 'getVpiRange': mib.c:410:33: warning: pointer targets in passing argument 4 of 'put_ci' differ in signedness [-Wpointer-sign] 410 | return put_ci(varbind,var,&ci,&ci.vpi_bits); | ^~~~~~~~~~~~ | | | signed char * mib.c:392:32: note: expected 'char *' but argument is of type 'signed char *' 392 | struct atm_cirange *ci,char *bits) | ~~~~~~^~~~ mib.c: In function 'getVciRange': mib.c:418:33: warning: pointer targets in passing argument 4 of 'put_ci' differ in signedness [-Wpointer-sign] 418 | return put_ci(varbind,var,&ci,&ci.vci_bits); | ^~~~~~~~~~~~ | | | signed char * mib.c:392:32: note: expected 'char *' but argument is of type 'signed char *' 392 | struct atm_cirange *ci,char *bits) | ~~~~~~^~~~ mib.c: In function 'MIBget': mib.c:96:56: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 96 | if((result == AsnOidEqual && var->getnext == NULL) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 97 | (result == AsnOidRoot && var->getnext != NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mib.c:78:16: note: 'result' was declared here 78 | AsnOidResult result; | ^~~~~~ mib.c: In function 'MIBset': mib.c:182:56: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 182 | if((result == AsnOidEqual && var->getnext == NULL) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 183 | /* OR if the request variable is a leaf of a complex MIB object */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | (result == AsnOidRoot && var->getnext != NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mib.c:165:16: note: 'result' was declared here 165 | AsnOidResult result; | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sysgroup.o sysgroup.c sysgroup.c:32:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | AsnOid sysDescr = {8, "\53\06\01\02\01\01\01\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:33:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 33 | AsnOid sysObjectID = {8, "\53\06\01\02\01\01\02\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:34:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 34 | AsnOid sysUpTime = {8, "\53\06\01\02\01\01\03\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:35:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | AsnOid sysContact = {8, "\53\06\01\02\01\01\04\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:36:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | AsnOid sysName = {8, "\53\06\01\02\01\01\05\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:37:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 37 | AsnOid sysLocation = {8, "\53\06\01\02\01\01\06\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:38:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | AsnOid sysServices = {8, "\53\06\01\02\01\01\07\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:40:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | AsnOcts sysDescrValue = {25, "ATM on Linux Version " VERSION}; | ^~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:41:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | AsnOid sysObjectIDValue = {8, "\53\06\01\04\01\03\01\01"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:42:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | AsnOcts sysContactValue = {14, "root@localhost"}; | ^~~~~~~~~~~~~~~~ sysgroup.c:43:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 43 | AsnOcts sysNameValue = {23, "localhost.my.domain.com"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:44:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | AsnOcts sysLocationValue = {36, "Connected to an ATM switch somewhere"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ilmid.o ilmid.c ilmid.c:320:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] 320 | int compare_attachment_point( a, b ) | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o wait.o wait.c wait.c: In function 'reset_remsys': wait.c:52:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 52 | if( remsys->sysObjectID.octs != NULL ) free( remsys->sysObjectID.octs ); if( remsys->sysContact.octs != NULL ) free( remsys->sysContact.octs ); | ^~ wait.c:52:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 52 | if( remsys->sysObjectID.octs != NULL ) free( remsys->sysObjectID.octs ); if( remsys->sysContact.octs != NULL ) free( remsys->sysContact.octs ); | ^~ wait.c:54:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if( remsys->sysLocation.octs != NULL ) free( remsys->sysLocation.octs ); memset( remsys, 0, sizeof( SysGroup )); | ^~ wait.c:54:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if( remsys->sysLocation.octs != NULL ) free( remsys->sysLocation.octs ); memset( remsys, 0, sizeof( SysGroup )); | ^~~~~~ wait.c: At top level: wait.c:63:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 63 | static void AsnOctsCopy( dest, src ) | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o states.o states.c gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o actions.o actions.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ilmid rfc1157_snmp.o rfc1155_smi.o util.o io.o message.o atmf_uni.o mib.o sysgroup.o ilmid.o wait.o states.o actions.o ../../src/lib/libatm.la ../../src/ilmid/asn1/libasn1.a libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/ilmid rfc1157_snmp.o rfc1155_smi.o util.o io.o message.o atmf_uni.o mib.o sysgroup.o ilmid.o wait.o states.o actions.o ../../src/lib/.libs/libatm.so -lresolv ../../src/ilmid/asn1/libasn1.a make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' Making all in man make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/man' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/man' Making all in led make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/led' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o join.o join.c join.c: In function 'do_lec_configure': join.c:188:30: warning: pointer targets in passing argument 1 of 'parse_config_rsp' differ in signedness [-Wpointer-sign] 188 | if (parse_config_rsp(buff, frame_size) < 0) { | ^~~~ | | | char * join.c:39:44: note: expected 'unsigned char *' but argument is of type 'char *' 39 | static int parse_config_rsp(unsigned char *buff, int size); | ~~~~~~~~~~~~~~~^~~~ join.c: In function 'send_config_req': join.c:224:34: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 224 | strcpy(config_req->elan_name, lec_params.c5_elan_name); | ~~~~~~~~~~^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from join.c:9: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ join.c: In function 'parse_config_rsp': join.c:306:55: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 306 | strncpy(lec_params.c5_elan_name, frame->elan_name, frame->elan_name_size); | ~~~~~^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ join.c: In function 'les_connect': join.c:380:28: warning: pointer targets in passing argument 1 of 'parse_join_rsp' differ in signedness [-Wpointer-sign] 380 | if (parse_join_rsp(buff, frame_size) < 0) { | ^~~~ | | | char * join.c:43:42: note: expected 'unsigned char *' but argument is of type 'char *' 43 | static int parse_join_rsp(unsigned char *buff, int size); | ~~~~~~~~~~~~~~~^~~~ join.c: In function 'send_join_req': join.c:409:21: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 409 | strcpy(frame->elan_name, lec_params.c5_elan_name); | ~~~~~^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ join.c: In function 'parse_join_rsp': join.c:558:55: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 558 | strncpy(lec_params.c5_elan_name, frame->elan_name, frame->elan_name_size); | ~~~~~^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ join.c: In function 'read_bus_arp': join.c:758:28: warning: pointer targets in passing argument 1 of 'validate_frame' differ in signedness [-Wpointer-sign] 758 | if (validate_frame(buff, frame_size) >= 0 && | ^~~~ | | | char * In file included from join.c:24: frames.h:11:35: note: expected 'unsigned char *' but argument is of type 'char *' 11 | int validate_frame(unsigned char *buff, int size); | ~~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o conn.o conn.c conn.c: In function 'accept_conn': conn.c:414:57: warning: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types] 414 | fd = accept(conn->fd, (struct sockaddr *)&addr, &len); | ^~~~ | | | size_t * {aka long unsigned int *} In file included from ../../src/include/atm.h:10, from conn.c:42: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o main.o main.c main.c: In function 'main': main.c:244:48: warning: pointer targets in passing argument 2 of 'esi_convert' differ in signedness [-Wpointer-sign] 244 | if(esi_convert(optarg, mac_addr)<0) { | ^~~~~~~~ | | | char * main.c:83:58: note: expected 'unsigned char *' but argument is of type 'char *' 83 | static int esi_convert(char *parsestring, unsigned char *mac_addr) | ~~~~~~~~~~~~~~~^~~~~~~~ main.c:249:43: warning: pointer targets in passing argument 2 of 'mac2text' differ in signedness [-Wpointer-sign] 249 | mac2text(esibuff, mac_addr); | ^~~~~~~~ | | | char * In file included from main.c:56: display.h:8:42: note: expected 'unsigned char *' but argument is of type 'char *' 8 | void mac2text(char *buff, unsigned char *mac_addr); | ~~~~~~~~~~~~~~~^~~~~~~~ main.c:376:32: warning: pointer targets in passing argument 1 of 'addr_getesi' differ in signedness [-Wpointer-sign] 376 | if(addr_getesi(mac_addr, phys_itf) < 0) { | ^~~~~~~~ | | | char * In file included from main.c:55: address.h:29:32: note: expected 'unsigned char *' but argument is of type 'char *' 29 | int addr_getesi(unsigned char *mac_addr, int phys_addr); | ~~~~~~~~~~~~~~~^~~~~~~~ main.c:380:35: warning: pointer targets in passing argument 2 of 'mac2text' differ in signedness [-Wpointer-sign] 380 | mac2text(esibuff, mac_addr); | ^~~~~~~~ | | | char * display.h:8:42: note: expected 'unsigned char *' but argument is of type 'char *' 8 | void mac2text(char *buff, unsigned char *mac_addr); | ~~~~~~~~~~~~~~~^~~~~~~~ main.c:387:32: warning: pointer targets in passing argument 1 of 'kernel_init' differ in signedness [-Wpointer-sign] 387 | if ((itf = kernel_init(mac_addr, itf)) < 0 ) { | ^~~~~~~~ | | | char * In file included from main.c:57: kernel.h:31:32: note: expected 'unsigned char *' but argument is of type 'char *' 31 | int kernel_init(unsigned char *mac_addr, int itf); | ~~~~~~~~~~~~~~~^~~~~~~~ main.c:437:33: warning: pointer targets in passing argument 1 of 'init_lec_params' differ in signedness [-Wpointer-sign] 437 | init_lec_params(mac_addr, elan_name, listen_addr.sas_addr.prv, | ^~~~~~~~ | | | char * In file included from main.c:53: join.h:6:37: note: expected 'unsigned char *' but argument is of type 'char *' 6 | void init_lec_params(unsigned char *mac_addr, char *elan_name, | ~~~~~~~~~~~~~~~^~~~~~~~ main.c:418:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 418 | write(fd, pidbuf, strlen(pidbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o address.o address.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o frames.o frames.c frames.c: In function 'handle_frame': frames.c:319:28: warning: pointer targets in passing argument 1 of 'validate_frame' differ in signedness [-Wpointer-sign] 319 | if (validate_frame(buff, size) < 0) | ^~~~ | | | char * frames.c:60:35: note: expected 'unsigned char *' but argument is of type 'char *' 60 | int validate_frame(unsigned char *buff, int size) | ~~~~~~~~~~~~~~~^~~~ frames.c:333:50: warning: converting a packed 'struct ctrl_frame' pointer (alignment 1) to a 'struct ready_frame' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 333 | handle_ready_query(conn, (struct ready_frame *)frame); | ^~~~~~~~~~~ In file included from frames.h:6, from frames.c:23: frame_defs.h:59:8: note: defined here 59 | struct ctrl_frame { | ^~~~~~~~~~ frame_defs.h:25:8: note: defined here 25 | struct ready_frame { | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o display.o display.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o kernel.o kernel.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o zeppelin join.o conn.o main.o address.o frames.o display.o kernel.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/zeppelin join.o conn.o main.o address.o frames.o display.o kernel.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/led' Making all in lane make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lane' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o mem.o mem.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o load.o load.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o units.o units.c /bin/sh ../../ylwrap load_lex.l lex.yy.c load_lex.c -- flex gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o load_lex.o load_lex.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o timers.o timers.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o dump.o dump.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o lane_atm.o lane_atm.c lane_atm.c: In function 'atm_connect_back': lane_atm.c:175:59: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 175 | ret = getpeername(conn->fd, (struct sockaddr*)&address, &len); | ^~~~ | | | int * In file included from lane_atm.c:15: /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o events.o events.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o lane.o lane.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o packet.o packet.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o connect.o connect.c connect.c: In function 'data_handler': connect.c:272:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 272 | fd = accept(tmp->fd, (struct sockaddr *)&addr, &nbytes); | ^~~~~~~ | | | int * In file included from connect.c:19: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o db.o db.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o les mem.o load.o units.o load_lex.o timers.o dump.o lane_atm.o events.o lane.o packet.o connect.o db.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/les mem.o load.o units.o load_lex.o timers.o dump.o lane_atm.o events.o lane.o packet.o connect.o db.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o connect_bus.o connect_bus.c connect_bus.c: In function 'data_handler': connect_bus.c:183:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 183 | fd = accept(tmp->fd, (struct sockaddr *)&addr, &nbytes); | ^~~~~~~ | | | int * In file included from connect_bus.c:19: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o bus mem.o load.o units.o load_lex.o timers.o dump.o lane_atm.o events.o lane.o connect_bus.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/bus mem.o load.o units.o load_lex.o timers.o dump.o lane_atm.o events.o lane.o connect_bus.o ../../src/lib/.libs/libatm.so -lresolv /bin/sh ../../ylwrap lecs_db.l lex.yy.c lecs_db.c -- flex gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o lecs_db.o lecs_db.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o lecs_load.o lecs_load.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o lecs.o lecs.c lecs.c: In function 'main': lecs.c:213:35: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 213 | &len); | ^~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from lecs.c:20: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ldb.o ldb.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o mem_lecs.o mem_lecs.c mem_lecs.c: In function 'mem_free': mem_lecs.c:80:65: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 80 | printf("Trying to free memory by %s, allocated by %s, size %d\n", | ~^ | | | int | %ld 81 | unit, tmp->unit, tmp->size); | ~~~~~~~~~ | | | size_t {aka long unsigned int} mem_lecs.c: In function 'mem_dump': mem_lecs.c:92:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 92 | printf("%s : %d bytes from %p\n", tmp->unit, tmp->size, tmp->start); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atm_lecs.o atm_lecs.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o lecs lecs_db.o lecs_load.o lecs.o ldb.o mem_lecs.o atm_lecs.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/lecs lecs_db.o lecs_load.o lecs.o ldb.o mem_lecs.o atm_lecs.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lane' Making all in mpoad make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/mpoad' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o get_vars.o get_vars.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o io.o io.c io.c: In function 'msg_from_mps': io.c:512:37: warning: pointer targets in passing argument 1 of 'recognize_packet' differ in signedness [-Wpointer-sign] 512 | (void)recognize_packet(buff + sizeof(struct llc_snap_hdr)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from io.c:30: packets.h:73:32: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 73 | uint8_t * pBuff | ~~~~~~~~~~^~~~~ io.c: In function 'accept_conn': io.c:527:63: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 527 | new_fd = accept(fds[slot].fd, (struct sockaddr *)&sa, &sa_len); | ^~~~~~~ | | | int * In file included from ../../src/include/atm.h:10, from io.c:21: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ io.c: In function 'check_connection': io.c:625:44: warning: pointer targets in passing argument 1 of 'recognize_packet' differ in signedness [-Wpointer-sign] 625 | if ( recognize_packet(buff + sizeof(llc_snap_mpoa_ctrl)) >= 0) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packets.h:73:32: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 73 | uint8_t * pBuff | ~~~~~~~~~~^~~~~ In function 'complete_connection', inlined from 'check_connection' at io.c:593:17: io.c:656:18: warning: 'dummy' may be used uninitialized [-Wmaybe-uninitialized] 656 | retval = connect(fds[slot].fd,(struct sockaddr *)&dummy, sizeof(dummy)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/socket.h: In function 'check_connection': /usr/include/sys/socket.h:126:12: note: by argument 2 of type 'const struct sockaddr *' to 'connect' declared here 126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | ^~~~~~~ io.c:649:32: note: 'dummy' declared here 649 | struct sockaddr_atmsvc dummy; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o k_interf.o k_interf.c k_interf.c: In function 'msg_from_kernel': k_interf.c:123:55: warning: pointer targets in passing argument 2 of 'create_ingress_svc' differ in signedness [-Wpointer-sign] 123 | msg.content.in_info.eg_MPC_ATM_addr, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | __u8 * {aka unsigned char *} In file included from k_interf.c:18: io.h:13:48: note: expected 'char *' but argument is of type '__u8 *' {aka 'unsigned char *'} 13 | void create_ingress_svc(uint32_t ipaddr, char *atm_addr, struct atm_qos qos); | ~~~~~~^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o main.o main.c main.c: In function 'main': main.c:151:26: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 151 | strncpy(mpc_control.elan_name,optarg,33); | ~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from main.c:5: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ main.c:162:26: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 162 | strncpy(mpc_control.MPS_MAC_ADDRESS,optarg,13); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ main.c:177:60: warning: pointer targets in passing argument 2 of 'get_mpc_config' differ in signedness [-Wpointer-sign] 177 | get_mpc_config(&mpc_control.lecs_address, mpc_control.LEC_ADDRESS, mpc_control.elan_name); | ~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:27: lecs.h:4:55: note: expected 'char *' but argument is of type 'unsigned char *' 4 | void get_mpc_config(struct sockaddr_atmsvc *sa, char *lec_addr, char *elan_name); | ~~~~~~^~~~~~~~ main.c:177:85: warning: pointer targets in passing argument 3 of 'get_mpc_config' differ in signedness [-Wpointer-sign] 177 | get_mpc_config(&mpc_control.lecs_address, mpc_control.LEC_ADDRESS, mpc_control.elan_name); | ~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * lecs.h:4:71: note: expected 'char *' but argument is of type 'unsigned char *' 4 | void get_mpc_config(struct sockaddr_atmsvc *sa, char *lec_addr, char *elan_name); | ~~~~~~^~~~~~~~~ main.c: In function 'set_mps_mac_addr': main.c:230:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 230 | char *string = mpc_control.MPS_MAC_ADDRESS; | ^~~~~~~~~~~ main.c: In function 'main': main.c:151:7: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 151 | strncpy(mpc_control.elan_name,optarg,33); | ^ main.c:162:7: warning: 'strncpy' specified bound 13 equals destination size [-Wstringop-truncation] 162 | strncpy(mpc_control.MPS_MAC_ADDRESS,optarg,13); | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o p_factory.o p_factory.c p_factory.c: In function 'send_purge_request': p_factory.c:155:28: warning: pointer targets in passing argument 1 of 'send_to_dataplane' differ in signedness [-Wpointer-sign] 155 | return send_to_dataplane(buff, pos, shortcut_fd); | ^~~~ | | | uint8_t * {aka unsigned char *} In file included from p_factory.c:18: io.h:9:29: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 9 | int send_to_dataplane(char *buff, int length, int fd); | ~~~~~~^~~~ p_factory.c: In function 'send_purge_reply': p_factory.c:169:22: warning: pointer targets in passing argument 1 of 'send_to_mps' differ in signedness [-Wpointer-sign] 169 | return send_to_mps(buff, pos); | ^~~~ | | | uint8_t * {aka unsigned char *} io.h:8:23: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 8 | int send_to_mps(char *buff, int length); | ~~~~~~^~~~ p_factory.c: In function 'send_resolution_request': p_factory.c:245:22: warning: pointer targets in passing argument 1 of 'send_to_mps' differ in signedness [-Wpointer-sign] 245 | return send_to_mps(buff,pos); | ^~~~ | | | uint8_t * {aka unsigned char *} io.h:8:23: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 8 | int send_to_mps(char *buff, int length); | ~~~~~~^~~~ p_factory.c: At top level: p_factory.c:257:42: warning: argument 6 of type 'uint8_t[20]' {aka 'unsigned char[20]'} with mismatched bound [-Warray-parameter=] 257 | uint8_t cli_atm_addr[ATM_ESA_LEN] | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from p_factory.c:16: packets.h:42:43: note: previously declared as 'uint8_t *' {aka 'unsigned char *'} 42 | uint8_t * cli_atm_addr | ~~~~~~~~~~^~~~~~~~~~~~ p_factory.c: In function 'send_cache_imposition_reply': p_factory.c:334:22: warning: pointer targets in passing argument 1 of 'send_to_mps' differ in signedness [-Wpointer-sign] 334 | return send_to_mps(reply,pos); | ^~~~~ | | | uint8_t * {aka unsigned char *} io.h:8:23: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 8 | int send_to_mps(char *buff, int length); | ~~~~~~^~~~ p_factory.c:266:25: warning: variable 'common' set but not used [-Wunused-but-set-variable] 266 | struct nhrp_common_h *common; | ^~~~~~ p_factory.c: In function 'send_egress_cache_purge_request': p_factory.c:389:22: warning: pointer targets in passing argument 1 of 'send_to_mps' differ in signedness [-Wpointer-sign] 389 | return send_to_mps(buff,pos); | ^~~~ | | | uint8_t * {aka unsigned char *} io.h:8:23: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 8 | int send_to_mps(char *buff, int length); | ~~~~~~^~~~ p_factory.c: In function 'send_egress_cache_purge_reply': p_factory.c:398:22: warning: pointer targets in passing argument 1 of 'send_to_mps' differ in signedness [-Wpointer-sign] 398 | return send_to_mps(buff,pos); | ^~~~ | | | uint8_t * {aka unsigned char *} io.h:8:23: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 8 | int send_to_mps(char *buff, int length); | ~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o p_recogn.o p_recogn.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o id_list.o id_list.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o tag_list.o tag_list.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o poll2select.o poll2select.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o lecs.o lecs.c lecs.c: In function 'send_request': lecs.c:74:29: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 74 | strcpy(frame->elan_name, elan_name); | ~~~~~^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from lecs.c:7: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ lecs.c: In function 'get_reply': lecs.c:114:14: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 114 | tlvs = buff + sizeof(struct le_config_frame); | ^ lecs.c:115:21: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 115 | end_of_tlvs = buff + retval; | ^ lecs.c:160:60: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 160 | printf("mpcd: lecs.c: get_reply: ignoring %d bytes of trailing TLV carbage\n", | ~^ | | | int | %ld 161 | end_of_tlvs - tlvs); | ~~~~~~~~~~~~~~~~~~ | | | long int /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mpcd get_vars.o io.o k_interf.o main.o p_factory.o p_recogn.o id_list.o tag_list.o poll2select.o lecs.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mpcd get_vars.o io.o k_interf.o main.o p_factory.o p_recogn.o id_list.o tag_list.o poll2select.o lecs.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/mpoad' Making all in oamd make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/oamd' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/oamd' Making all in switch make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' Making all in . make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o swc.o swc.c swc.c: In function 'dialog': swc.c:31:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 31 | fprintf(stderr,"bad write: %d != %d\n",size,sizeof(*msg)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld swc.c:40:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 40 | fprintf(stderr,"bad read: %d != %d\n",size,sizeof(*msg)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o swc swc.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/swc swc.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o control.o control.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o dispatch.o dispatch.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o proto.o proto.c In file included from /usr/include/stdio.h:964, from proto.c:12: In function 'printf', inlined from 'free_call' at proto.c:60:5: /usr/include/bits/stdio2.h:86:10: warning: pointer 'call_2(D)' used after 'free' [-Wuse-after-free] 86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto.c: In function 'free_call': proto.c:59:5: note: call to 'free' here 59 | free(call); | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o relay.o relay.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o route.o route.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sig.o sig.c sig.c: In function 'up_callback': sig.c:96:23: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 96 | if (sig->command) system(sig->command); | ^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../ylwrap cfg_y.y y.tab.c cfg_y.c y.tab.h `echo cfg_y.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output cfg_y.output -- byacc -d updating cfg_y.h gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o cfg_y.o cfg_y.c /bin/sh ../../ylwrap cfg_l.l lex.yy.c cfg_l.c -- flex gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o cfg_l.o cfg_l.c cfg_l.c:1280:16: warning: 'input' defined but not used [-Wunused-function] 1280 | #else | ^ cfg_l.c:1237:17: warning: 'yyunput' defined but not used [-Wunused-function] 1237 | | ^ rm -f libsw.a ar cru libsw.a control.o dispatch.o proto.o relay.o route.o sig.o cfg_y.o cfg_l.o ranlib libsw.a make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' Making all in debug make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/debug' gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../q2931 -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o debug.o debug.c /bin/sh ../../../libtool --tag=CC --mode=link gcc -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o sw_debug debug.o ../../../src/switch/libsw.a ../../../src/lib/libatm.la -lfl libtool: link: gcc -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/sw_debug debug.o ../../../src/switch/libsw.a ../../../src/lib/.libs/libatm.so -lresolv -lfl make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/debug' Making all in tcp make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/tcp' gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../q2931 -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o tcpsw.o tcpsw.c /bin/sh ../../../libtool --tag=CC --mode=link gcc -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o sw_tcp tcpsw.o ../../../src/switch/libsw.a ../../../src/lib/libatm.la -lfl libtool: link: gcc -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/sw_tcp tcpsw.o ../../../src/switch/libsw.a ../../../src/lib/.libs/libatm.so -lresolv -lfl make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/tcp' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' Making all in config make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/config' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/config' Making all in extra make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/extra' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/extra' Making all in br2684 make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/br2684' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o br2684ctl.o br2684ctl.c br2684ctl.c: In function 'main': br2684ctl.c:307:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 307 | chdir("/"); // Don't keep directories in use | ^~~~~~~~~~ br2684ctl.c: In function 'create_pidfile': br2684ctl.c:74:47: warning: '.pid' directive output may be truncated writing 4 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 74 | snprintf(name, 32, "/var/run/br2684ctl-nas%d.pid", num); | ^~~~ In file included from /usr/include/stdio.h:964, from br2684ctl.c:1: In function 'snprintf', inlined from 'create_pidfile' at br2684ctl.c:74:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 28 and 37 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o br2684ctl br2684ctl.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/br2684ctl br2684ctl.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/br2684' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/doc' make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1' make[1]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X3w7Yb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64 + cd linux-atm-2.5.1 + make DESTDIR=/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/include' /usr/bin/install -c -m 644 atm.h atmd.h atmsap.h '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/include' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/lib64' /bin/sh ../../libtool --mode=install /usr/bin/install -c libatm.la '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libatm.so.1.0.0 /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/lib64/libatm.so.1.0.0 libtool: install: (cd /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/lib64 && { ln -s -f libatm.so.1.0.0 libatm.so.1 || { rm -f libatm.so.1 && ln -s libatm.so.1.0.0 libatm.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/lib64 && { ln -s -f libatm.so.1.0.0 libatm.so || { rm -f libatm.so && ln -s libatm.so.1.0.0 libatm.so; }; }) libtool: install: /usr/bin/install -c .libs/libatm.lai /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/lib64/libatm.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' Making install in test make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/test' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/test' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -c aread awrite ttcp_atm atmswitch svc_recv svc_send '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/aread /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/aread libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/awrite /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/awrite libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/ttcp_atm /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/ttcp_atm libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmswitch /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/atmswitch libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/svc_recv /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/svc_recv libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/svc_send /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/svc_send make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/test' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/test' Making install in debug make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/debug' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/debug' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/debug' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/debug' Making install in qgen make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/qgen' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/qgen' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/qgen' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/qgen' Making install in q2931 make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/q2931' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/q2931' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/q2931' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/q2931' Making install in saal make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/saal' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/saal' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/saal' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/saal' Making install in sigd make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/sigd' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/sigd' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -c atmsigd '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmsigd /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmsigd /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/etc' /usr/bin/install -c -m 644 atmsigd.conf '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man4' /usr/bin/install -c -m 644 atmsigd.conf.4 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 atmsigd.8 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/sigd' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/sigd' Making install in maint make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/maint' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/maint' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -c atmdiag atmdump sonetdiag saaldump '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmdiag /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/atmdiag libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmdump /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/atmdump libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/sonetdiag /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/sonetdiag libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/saaldump /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/saaldump /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -c atmaddr esi atmloop atmtcp enitune hediag '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmaddr /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmaddr libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/esi /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/esi libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmloop /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmloop libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmtcp /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmtcp libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/enitune /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/enitune libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/hediag /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/hediag /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 atmaddr.8 atmdiag.8 atmdump.8 atmloop.8 atmtcp.8 esi.8 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/maint' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/maint' Making install in arpd make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/arpd' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/arpd' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -c atmarp atmarpd '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmarp /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmarp libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/atmarpd /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmarpd /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/include' /usr/bin/install -c -m 644 atmarp.h atmarpd.h '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 atmarp.8 atmarpd.8 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/arpd' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/arpd' Making install in ilmid make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' Making install in asn1 make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid/asn1' make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid/asn1' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid/asn1' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid/asn1' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -c ilmid '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/ilmid /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/ilmid /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 ilmid.8 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/ilmid' Making install in man make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/man' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man7' /usr/bin/install -c -m 644 qos.7 sap.7 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man7' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/man' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/man' Making install in led make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/led' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/led' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -c zeppelin '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/zeppelin /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/zeppelin /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 zeppelin.8 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/led' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/led' Making install in lane make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lane' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lane' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -c les bus lecs '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/les /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/les libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/bus /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/bus libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/lecs /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/lecs /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 les.8 lecs.8 bus.8 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lane' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lane' Making install in mpoad make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/mpoad' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/mpoad' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -c mpcd '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/mpcd /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/mpcd /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 mpcd.8 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/mpoad' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/mpoad' Making install in oamd make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/oamd' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/oamd' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/oamd' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/oamd' Making install in switch make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' Making install in . make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' Making install in debug make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/debug' make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/debug' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/debug' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/debug' Making install in tcp make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/tcp' make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/tcp' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/tcp' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch/tcp' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/switch' Making install in config make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/config' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/config' cp hosts.atm /etc cp: cannot create regular file '/etc/hosts.atm': Permission denied make[3]: [Makefile:514: install-exec-local] Error 1 (ignored) /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/etc' /usr/bin/install -c -m 644 hosts.atm '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/etc' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/config' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/config' Making install in extra make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/extra' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/extra' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/extra' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/extra' Making install in br2684 make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/br2684' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/br2684' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -c br2684ctl '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin' libtool: warning: '../../src/lib/libatm.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/br2684ctl /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/br2684ctl /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 br2684ctl.8 '/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/br2684' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/br2684' make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src' make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src' make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src' make[1]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/doc' make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/doc' make[1]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/doc' make[1]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1' make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1' make[1]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1' + rm -f /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64//usr/lib64/libatm.a /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64//usr/lib64/libatm.la + install -m 0644 src/config/hosts.atm /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/etc/ + mkdir _doc + cp -a doc/ src/config/init-redhat/ src/extra/ANS/ _doc/ + rm -f '_doc/Makefile*' _doc/doc/Makefile _doc/doc/Makefile.am _doc/doc/Makefile.in _doc/doc/atm-linux-howto.sgml + chmod 0644 src/extra/ANS/atm src/extra/ANS/pdf2e164_cc.pl src/extra/ANS/hosts2ans.pl + chmod 0644 _doc/ANS/pdf2e164_cc.pl _doc/ANS/hosts2ans.pl _doc/init-redhat/atm _doc/doc/atm-linux-howto.txt + rm -rf _doc/ANS + rm -rf _doc/doc/.cvsignore _doc/doc/CVS + rm -rf _doc/init-redhat/CVS _doc/init-redhat/.cvsignore + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.5.1-4.oc9 --unique-debug-suffix -2.5.1-4.oc9.x86_64 --unique-debug-src-base linux-atm-2.5.1-4.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/linux-atm-2.5.1 extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/aread extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/atmswitch extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/saaldump extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/atmdiag extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/awrite extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/sonetdiag extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/svc_send extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/atmdump extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/ttcp_atm extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmarp extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmaddr extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/bin/svc_recv extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/lib64/libatm.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmsigd extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmloop extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmarpd extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/bus extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/atmtcp extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/enitune extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/br2684ctl extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/hediag extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/ilmid extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/zeppelin extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/lecs extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/esi extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/mpcd extracting debug info from /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/sbin/les 3096 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: linux-atm-2.5.1-4.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bJccry + umask 022 + cd /builddir/build/BUILD + cd linux-atm-2.5.1 + DOCDIR=/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + cp -pr AUTHORS /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + cp -pr BUGS /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + cp -pr ChangeLog /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + cp -pr NEWS /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + cp -pr README /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + cp -pr THANKS /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + cp -pr _doc/doc _doc/init-redhat /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/doc/linux-atm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4FGRCE + umask 022 + cd /builddir/build/BUILD + cd linux-atm-2.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/licenses/linux-atm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/licenses/linux-atm + cp -pr COPYING COPYING.GPL COPYING.LGPL /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/licenses/linux-atm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(linux-atm) = 2.5.1-4.oc9 linux-atm = 2.5.1-4.oc9 linux-atm(x86-64) = 2.5.1-4.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libatm.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: linux-atm-libs-2.5.1-4.oc9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4MC8P6 + umask 022 + cd /builddir/build/BUILD + cd linux-atm-2.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/licenses/linux-atm-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/licenses/linux-atm-libs + cp -pr COPYING.LGPL /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64/usr/share/licenses/linux-atm-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libatm.so.1()(64bit) linux-atm-libs = 2.5.1-4.oc9 linux-atm-libs(x86-64) = 2.5.1-4.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libresolv.so.2()(64bit) rtld(GNU_HASH) Processing files: linux-atm-libs-devel-2.5.1-4.oc9.x86_64 Provides: linux-atm-libs-devel = 2.5.1-4.oc9 linux-atm-libs-devel(x86-64) = 2.5.1-4.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libatm.so.1()(64bit) Processing files: linux-atm-debugsource-2.5.1-4.oc9.x86_64 Provides: linux-atm-debugsource = 2.5.1-4.oc9 linux-atm-debugsource(x86-64) = 2.5.1-4.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: linux-atm-debuginfo-2.5.1-4.oc9.x86_64 Provides: debuginfo(build-id) = 040304fcdeadcdb2a62931308a5ab34c184bf2bf debuginfo(build-id) = 0f5b5c9ccb934e3615ac732f572bc4fbe0cc9f4f debuginfo(build-id) = 24c7e5166a074e376bc6ed7af493a48ce41813fd debuginfo(build-id) = 260ab440105edd8db95a39440d7231e85ee9239d debuginfo(build-id) = 2a5529f2dc6d3c9b4a4df56fddeea0b8566553ae debuginfo(build-id) = 6a82b90e8b1069a6f5aac11a2116ef61a272b1b5 debuginfo(build-id) = 6af69e9bf6515de48ed40dbb2d997372bc761ca1 debuginfo(build-id) = 6affd9fe3dba0163c2321a1a261a33d3cfaad3ff debuginfo(build-id) = 752857f995cf8f4222056a2bd60a5a5c76e38bc2 debuginfo(build-id) = 7d1539e25074d8ed1b436e9727f10119cfecf504 debuginfo(build-id) = 808a086228acc25cb15c4b48b252c81126724ee3 debuginfo(build-id) = 97c18500e6e4cc16f9e780d07ea7467c05a8a9ab debuginfo(build-id) = 9974685aa1bcc66dd656c1cc8fdea130fdd78d28 debuginfo(build-id) = 99746da6605a4859e82b07dc6ae416a9571f9c39 debuginfo(build-id) = 9b1817e997afa191d9f4f415244e65d868790b95 debuginfo(build-id) = b1caf6cf5f25346358ff687cd56e5c3f166c287b debuginfo(build-id) = b6d58dbb363a673820a7bc1f5d94777a25b1fadd debuginfo(build-id) = cc5fe0030476e1768ba0e60db12587d19d7b96f4 debuginfo(build-id) = cd73fedcf0e1be3dc0c40a90e2aeacd1bd2c9bc0 debuginfo(build-id) = d861ba9ab6a372550a9dae2c3e0aa730f33592dd debuginfo(build-id) = dc14719efc0672c45e66f723be739a751ee5ba9e debuginfo(build-id) = e5d07358e5c0ae63d149562c97485651ef80f630 debuginfo(build-id) = e78c76369fc2b0993225e6078dcaf2d62e733449 debuginfo(build-id) = ee9a96eadc5b4248e5a471481701f786dcb59edf debuginfo(build-id) = fd5b5c0df03c38706dac9300954d616a1d9ee4d1 debuginfo(build-id) = ff2aaa3d0d2e58d4b37d88e5e5cc354986f16eaf linux-atm-debuginfo = 2.5.1-4.oc9 linux-atm-debuginfo(x86-64) = 2.5.1-4.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: linux-atm-debugsource(x86-64) = 2.5.1-4.oc9 Processing files: linux-atm-libs-debuginfo-2.5.1-4.oc9.x86_64 Provides: debuginfo(build-id) = 55924b22d11a04f015e55297cc9c878fb3e1a2c0 libatm.so.1.0.0-2.5.1-4.oc9.x86_64.debug()(64bit) linux-atm-libs-debuginfo = 2.5.1-4.oc9 linux-atm-libs-debuginfo(x86-64) = 2.5.1-4.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: linux-atm-debugsource(x86-64) = 2.5.1-4.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/linux-atm-2.5.1-4.oc9.x86_64 Wrote: /builddir/build/RPMS/linux-atm-libs-devel-2.5.1-4.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/linux-atm-libs-debuginfo-2.5.1-4.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/linux-atm-libs-2.5.1-4.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/linux-atm-debugsource-2.5.1-4.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/linux-atm-2.5.1-4.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/linux-atm-debuginfo-2.5.1-4.oc9.x86_64.rpm Child return code was: 0