<86>Dec 25 02:47:20 userdel[48535]: delete user 'rooter' <86>Dec 25 02:47:20 userdel[48535]: removed group 'rooter' owned by 'rooter' <86>Dec 25 02:47:20 userdel[48535]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 02:47:20 groupadd[48547]: group added to /etc/group: name=rooter, GID=651 <86>Dec 25 02:47:20 groupadd[48547]: group added to /etc/gshadow: name=rooter <86>Dec 25 02:47:20 groupadd[48547]: new group: name=rooter, GID=651 <86>Dec 25 02:47:20 useradd[48555]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Dec 25 02:47:20 userdel[48568]: delete user 'builder' <86>Dec 25 02:47:20 userdel[48568]: removed group 'builder' owned by 'builder' <86>Dec 25 02:47:20 userdel[48568]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 02:47:20 groupadd[48575]: group added to /etc/group: name=builder, GID=652 <86>Dec 25 02:47:20 groupadd[48575]: group added to /etc/gshadow: name=builder <86>Dec 25 02:47:20 groupadd[48575]: new group: name=builder, GID=652 <86>Dec 25 02:47:20 useradd[48583]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash <13>Dec 25 02:47:22 rpmi: flex-2.6.0-alt1 1449073214 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/linux-atm-2.5.1-alt4.nosrc.rpm Installing linux-atm-2.5.1-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.67161 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf linux-atm-2.5.1 + echo 'Source #0 (linux-atm-2.5.1-alt4.tar):' Source #0 (linux-atm-2.5.1-alt4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/linux-atm-2.5.1-alt4.tar + cd linux-atm-2.5.1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67161 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd linux-atm-2.5.1 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: running: aclocal --force aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: configure.in: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in `.'. libtoolize-default: linking file `./config.guess' libtoolize-default: linking file `./config.sub' libtoolize-default: linking file `./install-sh' libtoolize-default: linking file `./ltmain.sh' libtoolize-default: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize-default: rerunning libtoolize-default, to keep the correct libtool macros in-tree. libtoolize-default: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing automake-default: 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: http://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-default: 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') configure.in: installing './ylwrap' src/maint/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') 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.14/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.14/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') autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --disable-static configure: WARNING: unrecognized options: --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-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-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-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 asm/errno.h usability... yes checking asm/errno.h presence... yes checking for asm/errno.h... yes checking linux/atmsap.h usability... yes checking linux/atmsap.h presence... 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 configure: WARNING: unrecognized options: --without-included-gettext + make make: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src' Making all in include make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/include' Making all in lib make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2atm.lo text2atm.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2atm.c -fPIC -DPIC -o .libs/text2atm.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atm2text.lo atm2text.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atm2text.c -fPIC -DPIC -o .libs/atm2text.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmequal.lo atmequal.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmequal.c -fPIC -DPIC -o .libs/atmequal.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sdu2cell.lo sdu2cell.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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] if (getsockopt(s,SOL_AAL,SO_ATMQOS,&qos,&size) < 0) return -1; ^~~~~ In file included from ../../src/include/atm.h:10, from sdu2cell.c:11: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2qos.lo text2qos.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2qos.c -fPIC -DPIC -o .libs/text2qos.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qos2text.lo qos2text.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qos2text.c -fPIC -DPIC -o .libs/qos2text.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qosequal.lo qosequal.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qosequal.c -fPIC -DPIC -o .libs/qosequal.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sap2text.lo sap2text.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sap2text.c -fPIC -DPIC -o .libs/sap2text.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2sap.lo text2sap.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2sap.c -fPIC -DPIC -o .libs/text2sap.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sapequal.lo sapequal.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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:42: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ^ sapequal.c:46:10: note: in definition of macro 'CHECK' if (!CONSTRAINT) return 0; \ ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning if (!CONSTRAINT) return 0; \ ^~~~~~~~~~~~~~~~~~~~~~~~ if (res) res->FIELD = a.FIELD < b.FIELD ? a.FIELD : b.FIELD; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } ~ static int match_blli(const struct atm_blli a,const struct atm_blli b, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int flags,struct atm_blli *res) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ if (res) *res = b; ~~~~~~~~~~~~~~~~~~ if (a.l2_proto != b.l2_proto || a.l3_proto != b.l3_proto) return 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ switch (a.l2_proto) { ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_X25_LL: ~~~~~~~~~~~~~~~~~~~ case ATM_L2_X25_ML: ~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_ARM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_NRM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_ABM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_Q922: ~~~~~~~~~~~~~~~~~ case ATM_L2_ISO7776: ~~~~~~~~~~~~~~~~~~~~ CHECK(l2.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~ CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sapequal.c:65:6: note: in expansion of macro 'CHECK' CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ^~~~~ sapequal.c:73:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 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' if (!CONSTRAINT) return 0; \ ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning if (!CONSTRAINT) return 0; \ ^~~~~~~~~~~~~~~~~~~~~~~~ if (res) res->FIELD = a.FIELD < b.FIELD ? a.FIELD : b.FIELD; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } ~ static int match_blli(const struct atm_blli a,const struct atm_blli b, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int flags,struct atm_blli *res) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ if (res) *res = b; ~~~~~~~~~~~~~~~~~~ if (a.l2_proto != b.l2_proto || a.l3_proto != b.l3_proto) return 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ switch (a.l2_proto) { ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_X25_LL: ~~~~~~~~~~~~~~~~~~~ case ATM_L2_X25_ML: ~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_ARM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_NRM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_ABM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_Q922: ~~~~~~~~~~~~~~~~~ case ATM_L2_ISO7776: ~~~~~~~~~~~~~~~~~~~~ CHECK(l2.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~ CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ break; ~~~~~~ } ~ switch (a.l3_proto) { ~~~~~~~~~~~~~~~~~~~~~ case ATM_L3_X25: ~~~~~~~~~~~~~~~~ case ATM_L3_ISO8208: ~~~~~~~~~~~~~~~~~~~~ case ATM_L3_X223: ~~~~~~~~~~~~~~~~~ CHECK(l3.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~ CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sapequal.c:73:6: note: in expansion of macro 'CHECK' CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); ^~~~~ sapequal.c:74:42: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); ^ sapequal.c:46:10: note: in definition of macro 'CHECK' if (!CONSTRAINT) return 0; \ ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning if (!CONSTRAINT) return 0; \ ^~~~~~~~~~~~~~~~~~~~~~~~ if (res) res->FIELD = a.FIELD < b.FIELD ? a.FIELD : b.FIELD; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } ~ static int match_blli(const struct atm_blli a,const struct atm_blli b, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int flags,struct atm_blli *res) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ if (res) *res = b; ~~~~~~~~~~~~~~~~~~ if (a.l2_proto != b.l2_proto || a.l3_proto != b.l3_proto) return 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ switch (a.l2_proto) { ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_X25_LL: ~~~~~~~~~~~~~~~~~~~ case ATM_L2_X25_ML: ~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_ARM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_NRM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_HDLC_ABM: ~~~~~~~~~~~~~~~~~~~~~ case ATM_L2_Q922: ~~~~~~~~~~~~~~~~~ case ATM_L2_ISO7776: ~~~~~~~~~~~~~~~~~~~~ CHECK(l2.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~ CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ break; ~~~~~~ } ~ switch (a.l3_proto) { ~~~~~~~~~~~~~~~~~~~~~ case ATM_L3_X25: ~~~~~~~~~~~~~~~~ case ATM_L3_ISO8208: ~~~~~~~~~~~~~~~~~~~~ case ATM_L3_X223: ~~~~~~~~~~~~~~~~~ CHECK(l3.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~ CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sapequal.c:74:6: note: in expansion of macro 'CHECK' CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); ^~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o misc.lo misc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c misc.c -fPIC -DPIC -o .libs/misc.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ans.lo ans.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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] if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) ^~~~ In file included from ans.c:25: /usr/include/resolv.h:273:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^~~~~~~~~ ans.c:80:57: warning: pointer targets in passing argument 4 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) ^~~~ In file included from ans.c:25: /usr/include/resolv.h:273:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o common.lo common.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c common.c -fPIC -DPIC -o .libs/common.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o diag.lo diag.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c diag.c -fPIC -DPIC -o .libs/diag.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o kptr.lo kptr.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c kptr.c -fPIC -DPIC -o .libs/kptr.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2ip.lo text2ip.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2ip.c -fPIC -DPIC -o .libs/text2ip.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o timer.lo timer.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c timer.c -fPIC -DPIC -o .libs/timer.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o unix.lo unix.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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] len = recvfrom(s,buf,size,0,(struct sockaddr *) &addr,&addr_size); ^~~~~~~~~~ In file included from /usr/include/sys/socket.h:269, from unix.c:15: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ unix.c: In function 'un_recv': unix.c:81:65: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] return recvfrom(s,buf,size,0,(struct sockaddr *) &ctx->addr,&ctx->size); ^~~~~~~~~~ In file included from /usr/include/sys/socket.h:269, from unix.c:15: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -version-info 1:0:0 -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: x86_64-alt-linux-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 -O2 -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 '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/lib' Making all in test make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/test' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o aread.o aread.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o aread aread.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/aread aread.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o awrite.o awrite.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o awrite awrite.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/awrite awrite.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ttcp.o ttcp.c ttcp.c: In function 'main': ttcp.c:371:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buf +=(bufalign - ((int)buf % bufalign) + bufoffset) % bufalign; ^ ttcp.c:464:56: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((fd=accept(fd, (struct sockaddr *) &frominet, &fromlen) ) < 0) ^~~~~~~~ In file included from ttcp.c:69: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ ttcp.c:471:5: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &peerlen) < 0) { ^~~~~~~~ In file included from ttcp.c:69: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ttcp.c:509:62: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &sockbufsize, &len) < 0) ^~~~ In file included from ttcp.c:69: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ ttcp.c:518:62: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &sockbufsize, &len) < 0) ^~~~ In file included from ttcp.c:69: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ At top level: ttcp.c:48:13: warning: 'RCSid' defined but not used [-Wunused-variable] static char RCSid[] = "ttcp.c $Revision$"; ^~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o ttcp_atm ttcp.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/ttcp_atm ttcp.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmswitch.o atmswitch.c atmswitch.c: In function 'main': atmswitch.c:162:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s[(pvc+1)%2],buf,bufsiz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o atmswitch atmswitch.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/atmswitch atmswitch.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o svc_recv.o svc_recv.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o svc_recv svc_recv.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/svc_recv svc_recv.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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:16: warning: unused variable 'one' [-Wunused-variable] unsigned long one = 1; ^~~ svc_send.c:85:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, NULL, 0); ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o svc_send svc_send.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/svc_send svc_send.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o align.o align.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o align align.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/align align.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o aping.o aping.c aping.c: In function 'main': aping.c:104:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(1,rotor[i = (i+1) & 3],2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o aping aping.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/aping aping.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o br.o br.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o br br.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/br br.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o bw.o bw.c bw.c: In function 'main': bw.c:60:26: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] while (blocks--) (void) write(s,buffer,BSIZE); ^~~~~~~~~~~~~~~~~~~~~ bw.c:62:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(s,buffer,size); ^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o bw bw.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/bw bw.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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=] else fprintf(stderr,"bad write: %d != %d\n",wrote,sizeof(*msg)); ~^ ~~~~~~~~~~~~ %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=] else fprintf(stderr,"bad read: %d != %d\n",got,sizeof(*msg)); ~^ ~~~~~~~~~~~~ %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 -- bison -y -d /usr/src/RPM/BUILD/linux-atm-2.5.1/src/test/ispl_y.y:37.28-37: warning: symbol TOK_LISTEN redeclared [-Wother] %token TOK_REJECT TOK_LISTEN TOK_OKAY TOK_ERROR TOK_INDICATE ^^^^^^^^^^ updating ispl_y.h x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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 x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ispl_l.o ispl_l.c ispl_l.c:1546:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ ispl_l.c:1503:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o isp isp.o ispl_y.o ispl_l.o ../../src/lib/libatm.la -lfl libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/isp isp.o ispl_y.o ispl_l.o ../../src/lib/.libs/libatm.so -lfl x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o window.o window.c window.c: In function 'main': window.c:183:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] fprintf(stderr,"Received reply of length %d, should be %d.\n", ~^ %ld size,REPLY_SIZE); ~~~~ window.c:267:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] fprintf(stderr,"Received message of length %d, should be %d.\n", ~^ %ld size,PINGPONG_SIZE); ~~~~ window.c:172:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(s1, buffer, PINGPONG_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ window.c:260:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(s2, buffer2, REPLY_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o window window.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/window window.o ../../src/lib/.libs/libatm.so make[3]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/test' Making all in debug make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/debug' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o delay.o delay.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o delay delay.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/delay delay.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o svctor.o svctor.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o svctor svctor.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/svctor svctor.o ../../src/lib/.libs/libatm.so make[3]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/debug' Making all in qgen make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/qgen' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o common.o common.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o file.o file.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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 -- bison -y -d updating ql_y.h x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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:6: warning: enumeration value 'vt_id' not handled in switch [-Wswitch] switch (orig_field->value->type) { ^~~~~~ /bin/sh ../../ylwrap ql_l.l lex.yy.c ql_l.c -- flex x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ql_l.o ql_l.c ql_l.c:1299:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ ql_l.c:1256:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qgen.o qgen.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o second.o second.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o third.o third.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o qgen common.o file.o first.o ql_y.o ql_l.o qgen.o second.o third.o -lfl libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -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 '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/qgen' Making all in q2931 make[3]: Entering directory '/usr/src/RPM/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; } x86_64-alt-linux-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. x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o q.out.o q.out.c x86_64-alt-linux-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. x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qd.dump.o qd.dump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/q2931' Making all in saal make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/saal' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o pdu.o pdu.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o queue.o queue.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o saal.o saal.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sscf.o sscf.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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 '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/saal' Making all in sigd make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/sigd' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmsigd.o atmsigd.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o io.o io.c io.c: In function 'get_pvc': io.c:361:46: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(s,(struct sockaddr *) &addr,&size) < 0) ^~~~~ In file included from io.c:17: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o kernel.o kernel.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o proto.o proto.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o uni.o uni.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sap.o sap.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o timeout.o timeout.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o trace.o trace.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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 -- bison -y -d updating cfg_y.h x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -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] static int hex2num(char digit) ^~~~~~~ /bin/sh ../../ylwrap cfg_l.l lex.yy.c cfg_l.c -- flex x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o cfg_l.o cfg_l.c cfg_l.c:1562:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ cfg_l.c:1519:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ /usr/bin/perl ./mkmess.pl <./../q2931/uni.h >mess.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o mess.o mess.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -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: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -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 ../../src/saal/libsaal.a -lfl make[3]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/sigd' Making all in maint make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/maint' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmdiag.o atmdiag.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o atmdiag atmdiag.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/atmdiag atmdiag.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmdump.o atmdump.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o atmdump atmdump.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/atmdump atmdump.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sonetdiag.o sonetdiag.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o sonetdiag sonetdiag.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/sonetdiag sonetdiag.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o saaldump.o saaldump.c saaldump.c: In function 'main': saaldump.c:173:10: warning: pointer targets in passing argument 1 of 'analyze' differ in signedness [-Wpointer-sign] analyze(buf,size,stamp); ^~~ saaldump.c:78:13: note: expected 'unsigned char *' but argument is of type 'char *' static void analyze(unsigned char *pdu,int size,struct timeval stamp) ^~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o saaldump saaldump.o ../../src/q2931/qd.dump.o ../../src/saal/libsaal.a ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/saaldump saaldump.o ../../src/q2931/qd.dump.o ../../src/saal/libsaal.a ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmaddr.o atmaddr.c atmaddr.c: In function 'main': atmaddr.c:100:45: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(stderr,"internal error: len %d %% %d\n",req.length, ~^ %ld sizeof(*addr)); ~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o atmaddr atmaddr.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/atmaddr atmaddr.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o esi.o esi.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o esi esi.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/esi esi.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmloop.o atmloop.c atmloop.c: In function 'main': atmloop.c:119:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] req.arg = (void *) mode; ^ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o atmloop atmloop.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/atmloop atmloop.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmtcp.o atmtcp.c atmtcp.c: In function 'file_write': atmtcp.c:582:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(stderr,"short write (%d < %d)\n",wrote,sizeof(stream)); ~^ ~~~~~~~~~~~~~~ %ld atmtcp.c: In function 'main': atmtcp.c:848:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((*fd2 = accept(fd,(struct sockaddr *) &addr,&addr_len)) < 0) { ^~~~~~~~~ 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:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o atmtcp atmtcp.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/atmtcp atmtcp.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o enitune.o enitune.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o enitune enitune.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/enitune enitune.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o zntune.o zntune.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o zntune zntune.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/zntune zntune.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o hediag.o hediag.c hediag.c:19:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80000, "reset_cntl" }, ^~~~~~~~~~~~ hediag.c:20:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80004, "host_cntl" }, ^~~~~~~~~~~ hediag.c:21:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80008, "lb_swap" }, ^~~~~~~~~ hediag.c:22:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8000c, "lb_mem_addr" }, ^~~~~~~~~~~~~ hediag.c:23:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80010, "lb_mem_data" }, ^~~~~~~~~~~~~ hediag.c:24:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80014, "lb_mem_access" }, ^~~~~~~~~~~~~~~ hediag.c:25:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80018, "sdram_ctl" }, ^~~~~~~~~~~ hediag.c:26:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8001c, "int_fifo" }, ^~~~~~~~~~ hediag.c:27:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80020, "abort_addr" }, ^~~~~~~~~~~~ hediag.c:29:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80080, "irq0_base" }, ^~~~~~~~~~~ hediag.c:30:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80084, "irq0_head" }, ^~~~~~~~~~~ hediag.c:31:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80088, "irq0_cntl" }, ^~~~~~~~~~~ hediag.c:32:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8008c, "irq0_data" }, ^~~~~~~~~~~ hediag.c:34:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x800c0, "grp_10_map" }, ^~~~~~~~~~~~ hediag.c:35:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x800c4, "grp_32_map" }, ^~~~~~~~~~~~ hediag.c:36:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x800c8, "grp_54_map" }, ^~~~~~~~~~~~ hediag.c:37:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x800cc, "grp_76_map" }, ^~~~~~~~~~~~ hediag.c:39:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80400, "g0_rbps_s" }, ^~~~~~~~~~~ hediag.c:40:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80404, "g0_rbps_t" }, ^~~~~~~~~~~ hediag.c:41:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80408, "g0_rbps_qi" }, ^~~~~~~~~~~~ hediag.c:42:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8040c, "g0_rbps_bs" }, ^~~~~~~~~~~~ hediag.c:43:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80410, "g0_rbpl_s" }, ^~~~~~~~~~~ hediag.c:44:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80414, "g0_rbpl_t" }, ^~~~~~~~~~~ hediag.c:45:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80418, "g0_rbpl_qi" }, ^~~~~~~~~~~~ hediag.c:46:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8041c, "g0_rbpl_bs" }, ^~~~~~~~~~~~ hediag.c:49:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80580, "g0_inmq_s" }, ^~~~~~~~~~~ hediag.c:50:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80584, "g0_inmq_l" }, ^~~~~~~~~~~ hediag.c:51:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80588, "g1_inmq_s" }, ^~~~~~~~~~~ hediag.c:52:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8058c, "g1_inmq_l" }, ^~~~~~~~~~~ hediag.c:53:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80590, "g2_inmq_s" }, ^~~~~~~~~~~ hediag.c:54:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80594, "g2_inmq_l" }, ^~~~~~~~~~~ hediag.c:55:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80598, "g3_inmq_s" }, ^~~~~~~~~~~ hediag.c:56:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8059c, "g3_inmq_l" }, ^~~~~~~~~~~ hediag.c:57:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x805a0, "g4_inmq_s" }, ^~~~~~~~~~~ hediag.c:58:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x805a4, "g4_inmq_l" }, ^~~~~~~~~~~ hediag.c:59:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x805a8, "g5_inmq_s" }, ^~~~~~~~~~~ hediag.c:60:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x805ac, "g5_inmq_l" }, ^~~~~~~~~~~ hediag.c:61:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x805b0, "g6_inmq_s" }, ^~~~~~~~~~~ hediag.c:62:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x805b4, "g6_inmq_l" }, ^~~~~~~~~~~ hediag.c:63:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x805b8, "g7_inmq_s" }, ^~~~~~~~~~~ hediag.c:64:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x805bc, "g7_inmq_l" }, ^~~~~~~~~~~ hediag.c:66:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80680, "tpdrq_b_h" }, ^~~~~~~~~~~ hediag.c:67:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80684, "tpdrq_t" }, ^~~~~~~~~ hediag.c:68:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80688, "tpdrq_s" }, ^~~~~~~~~ hediag.c:70:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8068c, "ubuff_ba" }, ^~~~~~~~~~ hediag.c:72:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806c0, "rlbf0_h" }, ^~~~~~~~~ hediag.c:73:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806c4, "rlbf0_t" }, ^~~~~~~~~ hediag.c:74:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806c8, "rlbf1_h" }, ^~~~~~~~~ hediag.c:75:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806cc, "rlbf1_t" }, ^~~~~~~~~ hediag.c:76:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806d0, "rlbc_h" }, ^~~~~~~~ hediag.c:77:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806d4, "rlbc_t" }, ^~~~~~~~ hediag.c:78:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806d8, "rlbc_h2" }, ^~~~~~~~~ hediag.c:79:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806e0, "tlbf_h" }, ^~~~~~~~ hediag.c:80:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806e4, "tlbf_t" }, ^~~~~~~~ hediag.c:81:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806e8, "rlbf0_c" }, ^~~~~~~~~ hediag.c:82:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806ec, "rlbf1_c" }, ^~~~~~~~~ hediag.c:84:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806f0, "rxthrsh" }, ^~~~~~~~~ hediag.c:85:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x806f4, "lithrsh" }, ^~~~~~~~~ hediag.c:87:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80700, "lbarb" }, ^~~~~~~ hediag.c:88:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80704, "sdramcon" }, ^~~~~~~~~~ hediag.c:89:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80708, "lbstat" }, ^~~~~~~~ hediag.c:90:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8070c, "rcc_stat" }, ^~~~~~~~~~ hediag.c:92:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80740, "tcmconfig" }, ^~~~~~~~~~~ hediag.c:93:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80744, "tsrb_ba" }, ^~~~~~~~~ hediag.c:94:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80748, "tsrc_ba" }, ^~~~~~~~~ hediag.c:95:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8074c, "tmabr_ba" }, ^~~~~~~~~~ hediag.c:96:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80750, "tpd_ba" }, ^~~~~~~~ hediag.c:97:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80758, "tsrd_ba" }, ^~~~~~~~~ hediag.c:99:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80760, "tx_config" }, ^~~~~~~~~~~ hediag.c:100:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80764, "txaal5_proto" }, ^~~~~~~~~~~~~~ hediag.c:102:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80780, "rcmconfig" }, ^~~~~~~~~~~ hediag.c:103:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80784, "rsrb_ba" }, ^~~~~~~~~ hediag.c:104:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x80788, "rcmlbm_ba" }, ^~~~~~~~~~~ hediag.c:105:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x8078c, "rcmabr_ba" }, ^~~~~~~~~~~ hediag.c:107:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807c0, "rc_config" }, ^~~~~~~~~~~ hediag.c:109:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807c4, "mcc" }, ^~~~~ hediag.c:110:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807c8, "oec" }, ^~~~~ hediag.c:111:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807cc, "dcc" }, ^~~~~ hediag.c:112:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807d0, "cec" }, ^~~~~ hediag.c:114:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807f4, "lb_config" }, ^~~~~~~~~~~ hediag.c:116:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807f0, "hsp_ba" }, ^~~~~~~~ hediag.c:118:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807f8, "con_dat" }, ^~~~~~~~~ hediag.c:119:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { 0x807fc, "con_ctl" }, ^~~~~~~~~ hediag.c: In function 'main': hediag.c:155:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(argv[2], "readpci") == 0) ^~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o hediag hediag.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/hediag hediag.o ../../src/lib/.libs/libatm.so make[3]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/maint' Making all in arpd make[3]: Entering directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/arpd' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmarp.o atmarp.c atmarp.c: In function 'send_request': atmarp.c:70:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(stderr,"bad read: %d != %d\n",len,sizeof(int)); ~^ ~~~~~~~~~~~ %ld /bin/sh ../../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o atmarp atmarp.o ../../src/lib/libatm.la libtool: link: x86_64-alt-linux-gcc -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o .libs/atmarp atmarp.o ../../src/lib/.libs/libatm.so x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmarpd.o atmarpd.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o arp.o arp.c In file included from arp.c:20: /usr/include/linux/if_arp.h:121:16: error: 'IFNAMSIZ' undeclared here (not in a function) char arp_dev[IFNAMSIZ]; ^~~~~~~~ make[3]: *** [Makefile:453: arp.o] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src/arpd' make[2]: *** [Makefile:354: all-recursive] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1/src' make[1]: *** [Makefile:400: all-recursive] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1' make: *** [Makefile:331: all] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/linux-atm-2.5.1' error: Bad exit status from /usr/src/tmp/rpm-tmp.67161 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.67161 (%build) Command exited with non-zero status 1 17.15user 2.48system 0:26.33elapsed 74%CPU (0avgtext+0avgdata 44252maxresident)k 0inputs+0outputs (0major+1342060minor)pagefaults 0swaps hsh-rebuild: rebuild of `linux-atm-2.5.1-alt4.src.rpm' failed. Command exited with non-zero status 1 25.62user 4.50system 0:37.88elapsed 79%CPU (0avgtext+0avgdata 122128maxresident)k 0inputs+0outputs (0major+1715833minor)pagefaults 0swaps