=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for dptutil-3.31nb1 (cd dpteng && /usr/pkg/bin/bmake depend && /usr/pkg/bin/bmake) makedepend -I. -I/usr/include/g++ -D_DPT_UNIX -D_DPT_FREE_BSD -D_DPT_DEFINE_SEMUN -D__unix__ -Dunix addr_rng.cpp array.cpp connect.cpp core.cpp core_ccb.cpp core_con.cpp core_dev.cpp core_mgr.cpp core_obj.cpp debug.cpp del1.cpp del2.cpp device.cpp dpt_buff.cpp dptalign.c dptcbuff.c driver.cpp eata2i2o.c eng_sig.c eng_std.cpp eng_unix.c engcalls.c engfile1.cpp engfile2.cpp engfile3.cpp engine.cpp englists.cpp engmsg.c findpath.c funcs.c gbl_fns.cpp hba.cpp hba_log.cpp kill.cpp lockunix.c manager.cpp msg_str.cpp object.cpp osd_unix.c ptrarray.cpp raid.cpp raid_bcd.cpp raid_dev.cpp raid_hba.cpp raid_mgr.cpp raiddrvr.cpp scsi_bcd.cpp scsi_ccb.cpp scsi_con.cpp scsi_dev.cpp scsi_hba.cpp scsi_log.cpp scsi_mgr.cpp scsi_obj.cpp scsidrvr.cpp semaphor.c stat_log.cpp swap_em.c threads.c unreslvd.c makedepend: warning: connect.cpp (reading /usr/include/sys/types.h, line 385): cannot find include file "pthread_types.h" not in ./pthread_types.h not in /usr/include/g++/pthread_types.h not in /usr/include/pthread_types.h makedepend: warning: debug.cpp (reading debug.h, line 7): cannot find include file "fstream" not in ./fstream not in /usr/include/g++/fstream not in /usr/include/fstream makedepend: warning: debug.cpp (reading debug.h, line 8): cannot find include file "iostream" not in ./iostream not in /usr/include/g++/iostream not in /usr/include/iostream makedepend: warning: debug.cpp (reading debug.h, line 9): cannot find include file "iomanip" not in ./iomanip not in /usr/include/g++/iomanip not in /usr/include/iomanip makedepend: warning: debug.cpp (reading debug.h, line 10): cannot find include file "cstring" not in ./cstring not in /usr/include/g++/cstring not in /usr/include/cstring makedepend: warning: debug.cpp (reading debug.h, line 11): cannot find include file "cstdio" not in ./cstdio not in /usr/include/g++/cstdio not in /usr/include/cstdio rm -f *.o dpteng makedepend -I. -I/usr/include/g++ -D_DPT_UNIX -D_DPT_FREE_BSD -D_DPT_DEFINE_SEMUN -D__unix__ -Dunix addr_rng.cpp array.cpp connect.cpp core.cpp core_ccb.cpp core_con.cpp core_dev.cpp core_mgr.cpp core_obj.cpp debug.cpp del1.cpp del2.cpp device.cpp dpt_buff.cpp dptalign.c dptcbuff.c driver.cpp eata2i2o.c eng_sig.c eng_std.cpp eng_unix.c engcalls.c engfile1.cpp engfile2.cpp engfile3.cpp engine.cpp englists.cpp engmsg.c findpath.c funcs.c gbl_fns.cpp hba.cpp hba_log.cpp kill.cpp lockunix.c manager.cpp msg_str.cpp object.cpp osd_unix.c ptrarray.cpp raid.cpp raid_bcd.cpp raid_dev.cpp raid_hba.cpp raid_mgr.cpp raiddrvr.cpp scsi_bcd.cpp scsi_ccb.cpp scsi_con.cpp scsi_dev.cpp scsi_hba.cpp scsi_log.cpp scsi_mgr.cpp scsi_obj.cpp scsidrvr.cpp semaphor.c stat_log.cpp swap_em.c threads.c unreslvd.c makedepend: warning: connect.cpp (reading /usr/include/sys/types.h, line 385): cannot find include file "pthread_types.h" not in ./pthread_types.h not in /usr/include/g++/pthread_types.h not in /usr/include/pthread_types.h makedepend: warning: debug.cpp (reading debug.h, line 7): cannot find include file "fstream" not in ./fstream not in /usr/include/g++/fstream not in /usr/include/fstream makedepend: warning: debug.cpp (reading debug.h, line 8): cannot find include file "iostream" not in ./iostream not in /usr/include/g++/iostream not in /usr/include/iostream makedepend: warning: debug.cpp (reading debug.h, line 9): cannot find include file "iomanip" not in ./iomanip not in /usr/include/g++/iomanip not in /usr/include/iomanip makedepend: warning: debug.cpp (reading debug.h, line 10): cannot find include file "cstring" not in ./cstring not in /usr/include/g++/cstring not in /usr/include/cstring makedepend: warning: debug.cpp (reading debug.h, line 11): cannot find include file "cstdio" not in ./cstdio not in /usr/include/g++/cstdio not in /usr/include/cstdio g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c swap_em.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c osd_unix.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from osd_unix.c:89: In file included from ./dptcbuff.h:2: In file included from ./get_info.h:342: ./device.hh:12:25: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wignored-attributes] dptCcapacity_S capacity PACK; // Device capacity ^ ./device.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ ./device.hh:13:26: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wignored-attributes] dptCemuParam_S emulation PACK; // Emulated drive parameters ^ ./device.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ In file included from osd_unix.c:89: In file included from ./dptcbuff.h:2: ./get_info.h:362:21: warning: 'packed' attribute ignored for field of type 'uCHAR' (aka 'unsigned char') [-Wignored-attributes] uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above ^ ./get_info.h:347:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ ./get_info.h:363:21: warning: 'packed' attribute ignored for field of type 'uCHAR' (aka 'unsigned char') [-Wignored-attributes] uCHAR reserved4 PACK; // Reserved for future expansion ^ ./get_info.h:347:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ In file included from osd_unix.c:89: In file included from ./dptcbuff.h:2: In file included from ./get_info.h:735: ./mgr.hh:9:23: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wignored-attributes] dptCaddr_S maxAddr PACK; // Maximum physical address supported ^ ./mgr.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ ./mgr.hh:10:23: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wignored-attributes] dptCaddr_S minAddr PACK; // Minimum physical address supported ^ ./mgr.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ In file included from osd_unix.c:89: In file included from ./dptcbuff.h:2: In file included from ./get_info.h:736: ./hba.hh:9:23: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wignored-attributes] dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address ^ ./hba.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ ./hba.hh:15:19: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wignored-attributes] dptHBAid_U id PACK; // EISA = ID PAL bytes ^ ./hba.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ ./hba.hh:55:42: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wignored-attributes] dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) ^ ./hba.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ In file included from osd_unix.c:89: In file included from ./dptcbuff.h:2: In file included from ./get_info.h:802: ./mgr.hh:9:23: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wignored-attributes] dptCaddr_S maxAddr PACK; // Maximum physical address supported ^ ./mgr.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ ./mgr.hh:10:23: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wignored-attributes] dptCaddr_S minAddr PACK; // Minimum physical address supported ^ ./mgr.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ In file included from osd_unix.c:89: In file included from ./dptcbuff.h:2: In file included from ./get_info.h:826: ./mgr.hh:9:23: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wignored-attributes] dptCaddr_S maxAddr PACK; // Maximum physical address supported ^ ./mgr.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ ./mgr.hh:10:23: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wignored-attributes] dptCaddr_S minAddr PACK; // Minimum physical address supported ^ ./mgr.hh:4:31: note: expanded from macro 'PACK' # define PACK __attribute__ ((packed)) ^ osd_unix.c:223:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] static char *DebugFileName = "EngLog"; ^ osd_unix.c:250:1: error: C++ requires a type specifier for all declarations __scoinfo(struct scoutsname *uts,int size); ^~~~~~~~~ osd_unix.c:384:49: warning: format specifies type 'unsigned int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\nosdIOrequest : Return = %x",retVal); ~~ ^~~~~~ %lx osd_unix.c:488:27: warning: format specifies type 'unsigned int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] TimeString,retVal,NumHBAs); ^~~~~~ osd_unix.c:533:63: warning: format specifies type 'unsigned int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\nosdCloseEngine : %s Return = %x",TimeString,retVal); ~~ ^~~~~~ %lx osd_unix.c:705:61: warning: format specifies type 'unsigned int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\nosdGetDrvrSig : %s Return = %x",TimeString,retVal); ~~ ^~~~~~ %lx osd_unix.c:807:27: warning: format specifies type 'unsigned int' but the argument has type 'uLONG' (aka 'unsigned long') [-Wformat] ccb_P->eataCP.dataLength); ^~~~~~~~~~~~~~~~~~~~~~~~ osd_unix.c:928:61: warning: format specifies type 'unsigned int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\nosdSendCCB : %s Return = %x",TimeString,retVal); ~~ ^~~~~~ %lx osd_unix.c:1002:20: warning: format specifies type 'int' but the argument has type 'uLONG' (aka 'unsigned long') [-Wformat] HbaNum); ^~~~~~ osd_unix.c:1283:60: warning: format specifies type 'unsigned int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\nosdSendMessage : %s Return = %x",TimeString,retVal); ~~ ^~~~~~ %lx osd_unix.c:1885:69: warning: format specifies type 'unsigned int' but the argument has type 'Callback_t' (aka 'void (*)(Controller_t, Status_t, Sense_t)') [-Wformat] printf("\n_osdStartCp : %s Enter, callback = %x",TimeString,callback); ~~ ^~~~~~~~ osd_unix.c:1999:58: warning: data argument not used by format string [-Wformat-extra-args] printf("\nosdGetCtlrs : %s Enter ",TimeString,retVal); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ osd_unix.c:2244:63: warning: format specifies type 'unsigned int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\nosdGetCtlrs : %s Return = %x",TimeString,retVal); ~~ ^~~~~~ %lx osd_unix.c:2291:22: error: variable has incomplete type 'struct scoutsname' struct scoutsname uts; ^ osd_unix.c:250:18: note: forward declaration of 'scoutsname' __scoinfo(struct scoutsname *uts,int size); ^ osd_unix.c:2534:61: warning: format specifies type 'int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\nosdGetSysInfo : %s Return = %d",TimeString,retVal); ~~ ^~~~~~ %lu osd_unix.c:2836:57: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (!(loggerAccessSem = osdCreateNamedSemaphore("DPTELOG.SEM"))) { ^ osd_unix.c:2856:20: warning: format specifies type 'unsigned int' but the argument has type 'DPT_MSG_T' (aka 'unsigned long') [-Wformat] TimeString,cmd,ioMethod,LoggerID,hbanum); ^~~ osd_unix.c:2856:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] TimeString,cmd,ioMethod,LoggerID,hbanum); ^~~~~~~~ osd_unix.c:2856:42: warning: format specifies type 'unsigned int' but the argument has type 'uLONG' (aka 'unsigned long') [-Wformat] TimeString,cmd,ioMethod,LoggerID,hbanum); ^~~~~~ osd_unix.c:3342:62: warning: format specifies type 'unsigned int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\n : %s Return = %x",TimeString,retVal); ~~ ^~~~~~ %lx osd_unix.c:3380:62: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] printf("\nosdAllocIO : %s Return = %x",TimeString,Rtnval); ~~ ^~~~~~ osd_unix.c:3414:59: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] printf("\nosdFreeIO : %s Buf = %x",TimeString,buff_P); ~~ ^~~~~~ osd_unix.c:3535:49: warning: format specifies type 'char *' but the argument has type 'struct NodeFiles_S' [-Wformat] TimeString,HbaDevs[ctlrNum]); ^~~~~~~~~~~~~~~~ osd_unix.c:3568:61: warning: format specifies type 'int' but the argument has type 'DPT_RTN_T' (aka 'unsigned long') [-Wformat] printf("\nosdCheckBLED : %s Return = %d",TimeString,retVal); ~~ ^~~~~~ %lu 35 warnings and 2 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/sysutils/dptutil/work/raidmgt-3.31/dpteng *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/sysutils/dptutil/work/raidmgt-3.31 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/dptutil *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/dptutil