=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for dptutil-3.31nb1 --- all --- (cd dpteng && /usr/bin/make depend && /usr/bin/make) --- depend --- 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: array.cpp (reading /usr/include/sys/common_ansi.h), line 40: #error __PTRDIFF_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 44: #error __SIZE_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 48: #error __WCHAR_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 52: #error __WINT_TYPE__ not present --- clean --- --- depend --- --- swap_em.o --- --- osd_unix.o --- --- engfile1.o --- --- engfile2.o --- --- engfile3.o --- --- eng_unix.o --- --- engfile1.o --- 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 engfile1.cpp --- swap_em.o --- 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 --- eng_unix.o --- 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 eng_unix.c --- depend --- 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 --- engfile2.o --- 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 engfile2.cpp --- depend --- makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 40: #error __PTRDIFF_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 44: #error __SIZE_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 48: #error __WCHAR_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 52: #error __WINT_TYPE__ not present --- clean --- rm -f *.o dpteng --- dptcbuff.o --- --- funcs.o --- --- engmsg.o --- --- engfile3.o --- 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 engfile3.cpp --- dptcbuff.o --- 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 dptcbuff.c --- engmsg.o --- 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 engmsg.c --- funcs.o --- 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 funcs.c --- engfile2.o --- In file included from get_info.h:342, from allfiles.hpp:90, from engfile2.cpp:28: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from allfiles.hpp:90, from engfile2.cpp:28: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from allfiles.hpp:90, from engfile2.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from allfiles.hpp:90, from engfile2.cpp:28: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from allfiles.hpp:90, from engfile2.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from allfiles.hpp:90, from engfile2.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- osd_unix.o --- 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 --- engmsg.o --- engmsg.c: In function 'int CheckForEngine(int, int, int)': engmsg.c:301:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 301 | if(IsLock("dpteng")) | ^~~~~~~~ --- eng_sig.o --- 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 eng_sig.c --- array.o --- 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 array.cpp --- ptrarray.o --- 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 ptrarray.cpp --- osd_unix.o --- In file included from ./get_info.h:342, from ./dptcbuff.h:2, from osd_unix.c:89: ./device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ ./device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from ./dptcbuff.h:2, from osd_unix.c:89: ./get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ ./get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ ./get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ ./get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from ./get_info.h:735, from ./dptcbuff.h:2, from osd_unix.c:89: ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from ./get_info.h:736, from ./dptcbuff.h:2, from osd_unix.c:89: ./hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ ./hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ ./hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from ./get_info.h:802, from ./dptcbuff.h:2, from osd_unix.c:89: ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from ./get_info.h:826, from ./dptcbuff.h:2, from osd_unix.c:89: ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ osd_unix.c:223:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 223 | static char *DebugFileName = "EngLog"; | ^~~~~~~~ osd_unix.c: In function 'DPT_RTN_T osdLoggerCmd(DPT_MSG_T, void*, void*, uSHORT, uLONG, uLONG)': osd_unix.c:2836:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2836 | if (!(loggerAccessSem = osdCreateNamedSemaphore("DPTELOG.SEM"))) { | ^~~~~~~~~~~~~ --- dpt_buff.o --- 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 dpt_buff.cpp --- semaphor.o --- 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 semaphor.c --- engfile1.o --- In file included from get_info.h:342, from allfiles.hpp:90, from engfile1.cpp:28: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from allfiles.hpp:90, from engfile1.cpp:28: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from allfiles.hpp:90, from engfile1.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from allfiles.hpp:90, from engfile1.cpp:28: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from allfiles.hpp:90, from engfile1.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from allfiles.hpp:90, from engfile1.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- engine.o --- 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 engine.cpp --- threads.o --- 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 threads.c --- dptalign.o --- 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 dptalign.c --- debug.o --- 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 debug.cpp --- engine.o --- In file included from get_info.h:342, from allfiles.hpp:90, from engine.cpp:27: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from allfiles.hpp:90, from engine.cpp:27: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from allfiles.hpp:90, from engine.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from allfiles.hpp:90, from engine.cpp:27: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from allfiles.hpp:90, from engine.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from allfiles.hpp:90, from engine.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- eng_unix.o --- eng_unix.c:124:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | {"?", 1, 1 }, | ^~~ eng_unix.c:125:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | {"HELP", 4, 2 }, | ^~~~~~ eng_unix.c:126:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | {"VERBOSE", 7, 3 }, | ^~~~~~~~~ eng_unix.c:127:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | {"EATAHEX", 7, 4 }, | ^~~~~~~~~ eng_unix.c:128:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | {"EATAINFO", 8, 5 }, | ^~~~~~~~~~ eng_unix.c:129:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | {"NOKILL", 6, 6 }, | ^~~~~~~~ eng_unix.c:169:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 169 | main(int argc, char *argv[]) | ^~~~ --- lockunix.o --- 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 lockunix.c --- eata2i2o.o --- 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 eata2i2o.c --- engfile3.o --- In file included from get_info.h:342, from allfiles.hpp:90, from engfile3.cpp:28: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from allfiles.hpp:90, from engfile3.cpp:28: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from allfiles.hpp:90, from engfile3.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from allfiles.hpp:90, from engfile3.cpp:28: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from allfiles.hpp:90, from engfile3.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from allfiles.hpp:90, from engfile3.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- findpath.o --- 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 findpath.c --- engine.o --- engine.cpp:86:29: warning: 'engineSig_P' initialized and declared 'extern' 86 | extern "C" dpt_sig_S const *engineSig_P = &engineSig; | ^~~~~~~~~~~ --- dpteng --- g++ -v -v -o dpteng swap_em.o osd_unix.o engfile1.o engfile2.o engfile3.o eng_unix.o dptcbuff.o funcs.o engmsg.o eng_sig.o array.o ptrarray.o dpt_buff.o semaphor.o engine.o threads.o dptalign.o debug.o lockunix.o eata2i2o.o findpath.o g++: error: swap_em.o: No such file or directory Using built-in specs. COLLECT_GCC=/pbulk/work/sysutils/dptutil/work/.gcc/bin/g++ COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper Target: i486--netbsdelf Configured with: /usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=i486--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion='NetBSD nb2 20230710' --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-arch=i486 --with-tune=nocona --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/i386 --enable-tls --disable-multilib --disable-libstdcxx-pch --build=i486--netbsdelf --host=i486--netbsdelf --with-sysroot=/var/obj/mknative/i386/usr/src/destdir.i386 Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.5.0 (nb3 20231008) *** [dpteng] Error code 1 make[1]: stopped in /pbulk/work/sysutils/dptutil/work/raidmgt-3.31/dpteng 1 error make[1]: stopped in /pbulk/work/sysutils/dptutil/work/raidmgt-3.31/dpteng *** [all] Error code 2 make: stopped in /pbulk/work/sysutils/dptutil/work/raidmgt-3.31 1 error make: stopped in /pbulk/work/sysutils/dptutil/work/raidmgt-3.31 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/sysutils/dptutil *** Error code 1 Stop. make: stopped in /usr/pkgsrc/sysutils/dptutil