* Package: sys-apps/raidutils-0.0.6-r2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking raidutils-0.0.6.tar.bz2 to /var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work >>> Unpacking raidutils-rpm.patch.bz2 to /var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work >>> Source unpacked in /var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work >>> Preparing source in /var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6 ... * Applying raidutils-rpm.patch ... [ ok ] * Applying raidutils-0.0.6-gcc45.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6 ... * econf: updating raidutils-0.0.6/config.sub with /usr/share/gnuconfig/config.sub * econf: updating raidutils-0.0.6/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --disable-dependency-tracking --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc static flag works... yes checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes 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 for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for inttypes.h... (cached) yes checking strstream.h usability... no checking strstream.h presence... no checking for strstream.h... no checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking fstream.h usability... no checking fstream.h presence... no checking for fstream.h... no checking fstream usability... yes checking fstream presence... yes checking for fstream... yes checking iostream.h usability... no checking iostream.h presence... no checking for iostream.h... no checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking iomanip.h usability... no checking iomanip.h presence... no checking for iomanip.h... no checking iomanip usability... yes checking iomanip presence... yes checking for iomanip... yes checking whether stat file-mode macros are broken... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking whether closedir returns void... no checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for alarm... yes checking for atexit... yes checking for dup2... yes checking for memset... yes checking for strchr... yes checking for strcspn... yes checking for strpbrk... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for sysinfo... yes checking for uname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating raideng/Makefile config.status: creating raidutil/Makefile config.status: creating lib/Makefile config.status: creating distribution/raidutils.spec config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6 ... make -j1 -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6' Making all in lib make[2]: Entering directory '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6/lib' /bin/sh ../libtool --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c -o libraidutil_la-ctlr_map.lo `test -f 'ctlr_map.cpp' || echo './'`ctlr_map.cpp mkdir .libs x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c ctlr_map.cpp -fPIC -DPIC -o .libs/libraidutil_la-ctlr_map.o /bin/sh ../libtool --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c -o libraidutil_la-dpt_buff.lo `test -f 'dpt_buff.cpp' || echo './'`dpt_buff.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c dpt_buff.cpp -fPIC -DPIC -o .libs/libraidutil_la-dpt_buff.o /bin/sh ../libtool --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c -o libraidutil_la-engcalls.lo `test -f 'engcalls.cpp' || echo './'`engcalls.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c engcalls.cpp -fPIC -DPIC -o .libs/libraidutil_la-engcalls.o engcalls.cpp:117:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *EnginePathName = "raideng"; ^~~~~~~~~ engcalls.cpp:118:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *CommEnginePathName = "dptcom"; ^~~~~~~~ engcalls.cpp:145:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *EnginePathNameDefault = "/usr/dpt/raideng &"; ^~~~~~~~~~~~~~~~~~~~ engcalls.cpp:146:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *CommEnginePathNameDefault = "/usr/dpt/dptcom &"; ^~~~~~~~~~~~~~~~~~~ engcalls.cpp:147:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *DefaultPathName = "/usr/dpt/"; ^~~~~~~~~~~ engcalls.cpp: In function 'DPT_RTN_T DPT_CallAnEngine(long int, DPT_TAG_T, DPT_MSG_T, DPT_TAG_T, void*, void*, uLONG)': engcalls.cpp:296:46: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uLONG {aka long unsigned int}' [-Wformat=] ToSize, FromSize, errno); ^ engcalls.cpp:296:46: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uLONG {aka long unsigned int}' [-Wformat=] engcalls.cpp: In function 'uLONG DPT_OpenEngine()': engcalls.cpp:586:65: warning: missing sentinel in function call [-Wformat=] execle(EngineLoadString,EngineLoadString, 0, environ); ^ engcalls.cpp: In function 'void I2oPrintMem(char*, long int)': engcalls.cpp:1199:30: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uLONG {aka long unsigned int}' [-Wformat=] printf("\n%.4x ",Offset); ^ /bin/sh ../libtool --mode=compile --tag=CC x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c -o libraidutil_la-engmsg.lo `test -f 'engmsg.c' || echo './'`engmsg.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c engmsg.c -fPIC -DPIC -o .libs/libraidutil_la-engmsg.o /bin/sh ../libtool --mode=compile --tag=CC x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c -o libraidutil_la-findpath.lo `test -f 'findpath.c' || echo './'`findpath.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c findpath.c -fPIC -DPIC -o .libs/libraidutil_la-findpath.o /bin/sh ../libtool --mode=compile --tag=CC x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c -o libraidutil_la-funcs.lo `test -f 'funcs.c' || echo './'`funcs.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c funcs.c -fPIC -DPIC -o .libs/libraidutil_la-funcs.o /bin/sh ../libtool --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c -o libraidutil_la-hba_log.lo `test -f 'hba_log.cpp' || echo './'`hba_log.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c hba_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-hba_log.o /bin/sh ../libtool --mode=compile --tag=CC x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c -o libraidutil_la-lockunix.lo `test -f 'lockunix.c' || echo './'`lockunix.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c lockunix.c -fPIC -DPIC -o .libs/libraidutil_la-lockunix.o lockunix.c: In function 'MkLock': lockunix.c:92:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, buffer, strlen(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockunix.c:103:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, buffer, sizeof(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockunix.c: In function 'ChLock': lockunix.c:158:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, buffer, strlen(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockunix.c: In function 'IsLock': lockunix.c:186:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, buffer, sizeof(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c -o libraidutil_la-scsi_log.lo `test -f 'scsi_log.cpp' || echo './'`scsi_log.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -c scsi_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-scsi_log.o /bin/sh ../libtool --mode=compile --tag=CC x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c -o libraidutil_la-dptalign.lo `test -f 'dptalign.c' || echo './'`dptalign.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -O2 -pipe -march=native -Wall -c dptalign.c -fPIC -DPIC -o .libs/libraidutil_la-dptalign.o /bin/sh ../libtool --mode=link --tag=CXX x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o libraidutil.la -rpath /usr/lib64 libraidutil_la-ctlr_map.lo libraidutil_la-dpt_buff.lo libraidutil_la-engcalls.lo libraidutil_la-engmsg.lo libraidutil_la-findpath.lo libraidutil_la-funcs.lo libraidutil_la-hba_log.lo libraidutil_la-lockunix.lo libraidutil_la-scsi_log.lo libraidutil_la-dptalign.lo x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o .libs/libraidutil_la-ctlr_map.o .libs/libraidutil_la-dpt_buff.o .libs/libraidutil_la-engcalls.o .libs/libraidutil_la-engmsg.o .libs/libraidutil_la-findpath.o .libs/libraidutil_la-funcs.o .libs/libraidutil_la-hba_log.o .libs/libraidutil_la-lockunix.o .libs/libraidutil_la-scsi_log.o .libs/libraidutil_la-dptalign.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib64/crtn.o -march=native -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libraidutil.so.0 -o .libs/libraidutil.so.0.0.0 .libs/libraidutil_la-lockunix.o: In function `MkLock': lockunix.c:(.text+0xb1): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' (cd .libs && rm -f libraidutil.so.0 && ln -s libraidutil.so.0.0.0 libraidutil.so.0) (cd .libs && rm -f libraidutil.so && ln -s libraidutil.so.0.0.0 libraidutil.so) creating libraidutil.la (cd .libs && rm -f libraidutil.la && ln -s ../libraidutil.la libraidutil.la) make[2]: Leaving directory '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6/lib' Making all in raidutil make[2]: Entering directory '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6/raidutil' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-alarm.o `test -f 'alarm.cpp' || echo './'`alarm.cpp x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -Wall -c -o raidutil-bufiolsb.o `test -f 'bufiolsb.c' || echo './'`bufiolsb.c x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-cmdlist.o `test -f 'cmdlist.cpp' || echo './'`cmdlist.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-command.o `test -f 'command.cpp' || echo './'`command.cpp command.cpp: In member function ‘DPT_TAG_T Command::Get_Dev_by_Address_and_Type(Command::get_Devs_Type, SCSI_Address&, bool*)’: command.cpp:1667:19: warning: narrowing conversion of ‘obj_Address.SCSI_Address::hba’ from ‘int’ to ‘uCHAR {aka unsigned char}’ inside { } [-Wnarrowing] obj_Address.hba, ~~~~~~~~~~~~^~~ command.cpp:1668:19: warning: narrowing conversion of ‘obj_Address.SCSI_Address::bus’ from ‘int’ to ‘uCHAR {aka unsigned char}’ inside { } [-Wnarrowing] obj_Address.bus, ~~~~~~~~~~~~^~~ command.cpp:1669:19: warning: narrowing conversion of ‘obj_Address.SCSI_Address::id’ from ‘int’ to ‘uCHAR {aka unsigned char}’ inside { } [-Wnarrowing] obj_Address.id, ~~~~~~~~~~~~^~ command.cpp:1670:19: warning: narrowing conversion of ‘obj_Address.SCSI_Address::lun’ from ‘int’ to ‘uCHAR {aka unsigned char}’ inside { } [-Wnarrowing] obj_Address.lun ~~~~~~~~~~~~^~~ command.cpp: In member function ‘char Command::PrintAQuestion(char*)’: command.cpp:2149:23: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(stderr, str); ^ command.cpp: In member function ‘void Command::Init_Engine(int)’: command.cpp:2260:51: warning: format not a string literal and no format arguments [-Wformat-security] printf (EventStrings[STR_ENG_CONN_FAILED]); ^ command.cpp:2261:46: warning: format not a string literal and no format arguments [-Wformat-security] printf (EventStrings[STR_COLON_OPEN]); ^ command.cpp:2277:51: warning: format not a string literal and no format arguments [-Wformat-security] printf (EventStrings[STR_ENG_CONN_FAILED]); ^ command.cpp:2278:52: warning: format not a string literal and no format arguments [-Wformat-security] printf (EventStrings[STR_COLON_COMPAT_NBR]); ^ command.cpp:2289:54: warning: format not a string literal and no format arguments [-Wformat-security] printf (EventStrings[STR_ENG_CONN_FAILED]); ^ command.cpp:2290:56: warning: format not a string literal and no format arguments [-Wformat-security] printf (EventStrings[STR_COLON_SCAN_FAILED]); ^ command.cpp:2300:54: warning: format not a string literal and no format arguments [-Wformat-security] printf (EventStrings[STR_ENG_CONN_FAILED]); ^ command.cpp:2301:56: warning: format not a string literal and no format arguments [-Wformat-security] printf (EventStrings[STR_COLON_SCAN_FAILED]); ^ command.cpp: In member function ‘char Command::PrintAQuestion(char*)’: command.cpp:2150:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(Buffer, sizeof(Buffer), stdin); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-config.o `test -f 'config.cpp' || echo './'`config.cpp config.cpp: In member function ‘Command::Dpt_Error Config::LoadConfig(FILE*)’: config.cpp:233:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (&readHdr, sizeof(dsmHdr_S), 1, fp); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.cpp:261:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(config_P->data,config_P->writeIndex,1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-creatrad.o `test -f 'creatrad.cpp' || echo './'`creatrad.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-deletrad.o `test -f 'deletrad.cpp' || echo './'`deletrad.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-dynsize.o `test -f 'dynsize.cpp' || echo './'`dynsize.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-engiface.o `test -f 'engiface.cpp' || echo './'`engiface.cpp engiface.cpp:51:18: warning: ‘engineTimeOut’ initialized and declared ‘extern’ extern "C" uLONG engineTimeOut = 0; ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-eventlog.o `test -f 'eventlog.cpp' || echo './'`eventlog.cpp eventlog.cpp:185:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] "(OnCallServer) is now the primary server"}; ^ eventlog.cpp:185:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] eventlog.cpp:185:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] eventlog.cpp:185:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] eventlog.cpp:185:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] eventlog.cpp:185:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] eventlog.cpp:185:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] eventlog.cpp:186:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] char *beatError[] = {"read", "write"}; ^ eventlog.cpp:186:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] eventlog.cpp: In member function ‘void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)’: eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:582:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:588:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%s - %s\n",EventStrings[STR_BAD_SCSI], EventStrings[errorstring]); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:597:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:613:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:617:84: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%s - %s\n", EventStrings[STR_HBA_ERROR], ErrorString); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:625:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:626:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%s - %lx\n", EventStrings[STR_BLOCK_REASSIGN], ra->getBlockNum()); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:652:57: note: in expansion of macro ‘PrintAddress’ if (ram->getFlags() & FLG_HL_CHAN) PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:653:76: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] else bufcat(out, "HBA=%d ID=%d LUN=%d\n", hba, ID, LUN); ^ eventlog.cpp:665:99: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] EventStrings[STR_RAM_ERR_ADDR],ram->getAddrValid() ? ram->getAddr() : 0); ^ eventlog.cpp:670:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n%s", EventStrings[STR_PARITY]); ^ eventlog.cpp:672:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:680:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%s\n%s ", EventStrings[STR_HBA_TIME_CHG], EventStrings[STR_OLD]); ^ eventlog.cpp:682:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n%s ", EventStrings[STR_NEW]); ^ eventlog.cpp:691:158: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] c->getLevel() == 2) ? EventStrings[STR_FIRMWARE] : EventStrings[STR_SOFTWARE]); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:704:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:708:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " => "); ^ eventlog.cpp:711:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:719:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:722:176: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] STR_BLOCK], di->getBlockNum() , EventStrings[STR_COUNT], di->getBlockCount()); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:732:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:734:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:745:101: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] ck->getStart() & 0x01 ? EventStrings[STR_STARTED] : EventStrings[STR_STOPPED]); ^ eventlog.cpp:755:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:763:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:765:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:792:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:797:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:815:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:821:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:839:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:849:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:870:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:888:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:909:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:915:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:920:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:926:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%d", ea->getRAIDtype()); ^ eventlog.cpp:929:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:933:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ": "); ^ eventlog.cpp:935:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "0x%uX", ea->getStripeSize()); ^ eventlog.cpp:938:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:946:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ": "); ^ eventlog.cpp:948:119: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] a->getOptions() & 0x01) ? EventStrings[STR_REMOVED] : EventStrings[STR_ADDED]); ^ eventlog.cpp:951:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:961:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:976:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "."); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:986:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:995:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "("); ^ eventlog.cpp:997:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ")"); ^ eventlog.cpp:1002:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "("); ^ eventlog.cpp:1004:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ")"); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1023:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1025:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1029:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ", "); ^ eventlog.cpp:1034:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ", "); ^ eventlog.cpp:1036:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1041:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ", "); ^ eventlog.cpp:1043:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1055:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1057:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1061:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ", "); ^ eventlog.cpp:1066:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ", "); ^ eventlog.cpp:1071:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ", "); ^ eventlog.cpp:1075:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1087:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1090:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1095:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1096:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%s #%d : %s\n",TypeString,ses->getIndex(),StatusString); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1108:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1110:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1112:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%d\n", sesTemp->getTempSensorIndex()); ^ eventlog.cpp:1116:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1122:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1128:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1134:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " "); ^ eventlog.cpp:1139:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " : %d C\n", sesTemp->getTemp()); ^ eventlog.cpp:1147:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1159:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat( out, "Status: 0x%08ld", rdrStatus); ^ eventlog.cpp:1171:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "3.3 A "); ^ eventlog.cpp:1173:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1180:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "3.3 A "); ^ eventlog.cpp:1182:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1189:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "3.3 A "); ^ eventlog.cpp:1191:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1198:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "3.3 B "); ^ eventlog.cpp:1200:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1207:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "3.3 B "); ^ eventlog.cpp:1209:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1216:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "3.3 B "); ^ eventlog.cpp:1218:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1227:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1236:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1245:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1254:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1256:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " : %lx\n",bk->getBlockNumber()); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1266:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1268:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " : %lx\n",bk->getBlockNumber()); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1277:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1279:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " : %lx\n",bk->getBlockNumber()); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1288:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1290:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " : %lx\n",bk->getBlockNumber()); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1299:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1301:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " : %lx ", wb->getBlockNumber()); ^ eventlog.cpp:1303:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " %lx ", wb->getBlockCount()); ^ eventlog.cpp:1305:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1317:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1320:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%s => %s\n",OldState,NewState); ^ eventlog.cpp:1347:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1348:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%s => %s\n",OldState,NewState); ^ eventlog.cpp:1378:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " %d - %s\n", chanID, msg); ^ eventlog.cpp:1433:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "3.0 "); ^ eventlog.cpp:1435:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1442:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "3.0 "); ^ eventlog.cpp:1444:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1451:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "3.0 "); ^ eventlog.cpp:1453:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1460:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "12.0 "); ^ eventlog.cpp:1462:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1469:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "12.0 "); ^ eventlog.cpp:1471:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1478:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "12.0 "); ^ eventlog.cpp:1480:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1487:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "5.0 "); ^ eventlog.cpp:1489:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1496:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "5.0 "); ^ eventlog.cpp:1498:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1505:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "5.0 "); ^ eventlog.cpp:1507:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1541:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1546:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1551:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1556:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1561:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:1566:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat (out, "\n"); ^ eventlog.cpp:195:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) ^ eventlog.cpp:1605:19: note: in expansion of macro ‘PrintAddress’ PrintAddress(); ^~~~~~~~~~~~ eventlog.cpp:1626:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ": "); ^ eventlog.cpp:1636:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, ": "); ^ eventlog.cpp:1659:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1680:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1687:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1695:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp:1704:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, " : "); ^ eventlog.cpp:1713:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] keepgoing = bufcat(out, "\n\n"); ^ eventlog.cpp: In function ‘void DoBytes(uSHORT, uCHAR*, String_List*)’: eventlog.cpp:1761:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] for (int i = 0; i < numbytes; i++) bufcat(out, "%02X ", *p++); ^ eventlog.cpp:1762:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp: In function ‘void DoLongs(uSHORT, uLONG*, String_List*)’: eventlog.cpp:1768:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] for (int i = 0; i < numlongs; i++) bufcat(out, "%08X ", *p++); ^ eventlog.cpp:1769:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ eventlog.cpp: In function ‘void DoTime(uLONG, uSHORT, String_List*)’: eventlog.cpp:1936:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "%s", EventStrings[STR_INVALID_HBA_TIME]); ^ eventlog.cpp:1939:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] bufcat(out, "\n"); ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-expand.o `test -f 'expand.cpp' || echo './'`expand.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-flash.o `test -f 'flash.cpp' || echo './'`flash.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-flashmem.o `test -f 'flashmem.cpp' || echo './'`flashmem.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-forcest.o `test -f 'forcest.cpp' || echo './'`forcest.cpp forcest.cpp: In member function ‘virtual Command::Dpt_Error ForceState::execute(String_List**)’: forcest.cpp:170:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] char answer = PrintAQuestion(STR_FORCE_FAIL_WARNING); ^ forcest.cpp:233:83: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] char answer = PrintAQuestion(STR_FORCE_OPTIMAL_WARNING); ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-id_list.o `test -f 'id_list.cpp' || echo './'`id_list.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-intlist.o `test -f 'intlist.cpp' || echo './'`intlist.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-listdev.o `test -f 'listdev.cpp' || echo './'`listdev.cpp listdev.cpp: In member function ‘void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)’: listdev.cpp:2034:15: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] delete [] saveData; ^~~~~~~~ listdev.cpp: In member function ‘Command::Dpt_Error List_Device::List_Tags(String_List&)’: listdev.cpp:2339:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DPT_TAG_T {aka long unsigned int}’ [-Wformat=] sprintf (tempBuf, "%d", this_Objs_Tag); ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-lzssdon.o `test -f 'lzssdon.cpp' || echo './'`lzssdon.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-lzstrbuf.o `test -f 'lzstrbuf.cpp' || echo './'`lzstrbuf.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-modnvram.o `test -f 'modnvram.cpp' || echo './'`modnvram.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-namarray.o `test -f 'namarray.cpp' || echo './'`namarray.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-nvrambit.o `test -f 'nvrambit.cpp' || echo './'`nvrambit.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-parsargv.o `test -f 'parsargv.cpp' || echo './'`parsargv.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -O2 -pipe -march=native -c -o raidutil-parser.o `test -f 'parser.cpp' || echo './'`parser.cpp parser.cpp: In constructor ‘Parser::Parser(char*, bool*)’: parser.cpp:386:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (command_Line !='\0') ^~~~ parser.cpp:960:40: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (command_Line !='\0') ^~~~ parser.cpp:1048:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] list_Dev_Types[i].str = ""; ^~ parser.cpp:1590:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (command_Line !='\0') ^~~~ make[2]: *** [Makefile:701: raidutil-parser.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6/raidutil' make[1]: *** [Makefile:247: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6' make: *** [Makefile:174: all] Error 2 * ERROR: sys-apps/raidutils-0.0.6-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/raidutils-0.0.6-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/raidutils-0.0.6-r2::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:raidutils-0.0.6-r2:20171123-193806.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6' * S: '/var/tmp/portage/sys-apps/raidutils-0.0.6-r2/work/raidutils-0.0.6'