------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=5.9 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/construction/comms/acfax XDG_CONFIG_HOME=/construction/comms/acfax HOME=/construction/comms/acfax TMPDIR="/tmp" PATH=/construction/comms/acfax/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/construction/comms/acfax XDG_CONFIG_HOME=/construction/comms/acfax HOME=/construction/comms/acfax TMPDIR="/tmp" PATH=/construction/comms/acfax/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/comms/acfax/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=5.9 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/acfax" EXAMPLESDIR="share/examples/acfax" DATADIR="share/acfax" WWWDIR="www/acfax" ETCDIR="etc/acfax" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/acfax DOCSDIR=/usr/local/share/doc/acfax EXAMPLESDIR=/usr/local/share/examples/acfax WWWDIR=/usr/local/www/acfax ETCDIR=/usr/local/etc/acfax SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_SUFX=.txz DEVELOPER=1 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500908 OSVERSION=9999999 OSREL=5.9 _OSRELEASE=5.9-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=10 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/gccmakedep-1.0.3.txz Installing /packages/All/makedepend-1.0.6,1.txz Installing /packages/All/xorg-cf-files-1.0.6.txz Installing /packages/All/perl5-5.32.1_1.txz Installing /packages/All/imake-1.0.8,1.txz Installing /packages/All/tradcpp-0.5.3.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/xorgproto-2020.1.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.14_1.txz Installing /packages/All/libX11-1.6.12,1.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libXt-1.2.1,1.txz Installing /packages/All/libXmu-1.1.3,1.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.21.txz Installing /packages/All/libXpm-3.5.13.txz Installing /packages/All/Xaw3d-1.5E_8.txz ===== Message from Xaw3d-1.5E_8: -- If you want Xaw3d to replace the default Athena Widget Set so most X applications will get a 3-D look, do this (as root): cd /usr/local/lib mv libXaw.so.8 libXaw2d.so.8 ln -s libXaw3d.so.8 libXaw.so.8 -- ===> NOTICE: The Xaw3d port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/libgnuregex-6.0.txz SUCCEEDED 00:00:16 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> acfax-0.981011_4 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> acfax-0.981011_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by acfax-0.981011_4 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> acfax-0.981011_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by acfax-0.981011_4 for building => SHA256 Checksum OK for acfax-981011.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> acfax-0.981011_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by acfax-0.981011_4 for building ===> Extracting for acfax-0.981011_4 => SHA256 Checksum OK for acfax-981011.tar.gz. Extracted Memory Use: 0.40M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for acfax-0.981011_4 ===> Applying ports patches for acfax-0.981011_4 from /xports/comms/acfax/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> acfax-0.981011_4 depends on executable: imake - found ===> acfax-0.981011_4 depends on executable: tradcpp - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> acfax-0.981011_4 depends on shared library: libXaw3d.so - found (/usr/local/lib/libXaw3d.so) ===> acfax-0.981011_4 depends on shared library: libgnuregex.so.6 - found (/usr/local/lib/libgnuregex.so.6) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> acfax-0.981011_4 depends on executable: imake - found ===> acfax-0.981011_4 depends on executable: tradcpp - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> acfax-0.981011_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> acfax-0.981011_4 depends on shared library: libXaw3d.so - found (/usr/local/lib/libXaw3d.so) ===> acfax-0.981011_4 depends on shared library: libgnuregex.so.6 - found (/usr/local/lib/libgnuregex.so.6) ===> Configuring for acfax-0.981011_4 imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -- acfax.c Canvas.c mod_demod.c sblaster.c fax_funcs.c x_image.c widgets.c FChooser.c Directory.c DirMgr.c RegExp.c > .depend SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for acfax-0.981011_4 --- acfax.o --- --- Canvas.o --- --- mod_demod.o --- --- sblaster.o --- --- fax_funcs.o --- --- x_image.o --- --- widgets.o --- --- FChooser.o --- --- Directory.o --- --- DirMgr.o --- --- acfax.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c acfax.c --- Canvas.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c Canvas.c --- mod_demod.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c mod_demod.c --- sblaster.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c sblaster.c --- fax_funcs.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c fax_funcs.c --- widgets.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c widgets.c --- FChooser.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c FChooser.c --- Directory.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c Directory.c --- DirMgr.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c DirMgr.c --- x_image.o --- cc -pipe -O2 -fno-strict-aliasing -O -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XAW3D -DSBL_16 -DDSP_SELECT -c x_image.c --- Directory.o --- In file included from Directory.c:26: Directory.h:49:1: warning: data definition has no type or storage class ERROR, ONE OF THESE MUST BE DEFINED ^~~~~ Directory.h:49:1: warning: type defaults to 'int' in declaration of 'ERROR' [-Wimplicit-int] Directory.h:49:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' ERROR, ONE OF THESE MUST BE DEFINED ^~ Directory.h:158:3: warning: data definition has no type or storage class } DIRECTORY; ^~~~~~~~~ Directory.h:158:3: warning: type defaults to 'int' in declaration of 'DIRECTORY' [-Wimplicit-int] Directory.h:160:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Directory' typedef DIRECTORY Directory; ^~~~~~~~~ Directory.h:182:16: error: 'MAX_NAME_LENGTH' undeclared here (not in a function) char filename[MAX_NAME_LENGTH + 1]; ^~~~~~~~~~~~~~~ In file included from RegExp.h:29, from Directory.c:27: /usr/local/include/gnuregex.h:31:2: warning: #warning "Use -I/usr/include/gnu and instead of " [-Wcpp] #warning "Use -I/usr/include/gnu and instead of " ^~~~~~~ --- DirMgr.o --- In file included from DirMgr.h:28, from DirMgr.c:24: Directory.h:49:1: warning: data definition has no type or storage class ERROR, ONE OF THESE MUST BE DEFINED ^~~~~ Directory.h:49:1: warning: type defaults to 'int' in declaration of 'ERROR' [-Wimplicit-int] Directory.h:49:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' ERROR, ONE OF THESE MUST BE DEFINED ^~ Directory.h:158:3: warning: data definition has no type or storage class } DIRECTORY; ^~~~~~~~~ Directory.h:158:3: warning: type defaults to 'int' in declaration of 'DIRECTORY' [-Wimplicit-int] Directory.h:160:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Directory' typedef DIRECTORY Directory; ^~~~~~~~~ --- Directory.o --- Directory.c: In function 'DirectoryOpen': Directory.c:37:1: error: unknown type name 'Directory'; did you mean 'DirEntry'? Directory *dp; ^~~~~~~~~ DirEntry In file included from Directory.c:26: Directory.h:86:33: error: request for member 'path' in something not a structure or union #define DirectoryPath(dp) ((dp)->path) ^~ Directory.c:39:35: note: in expansion of macro 'DirectoryPath' if (DirectoryPathExpand(dir_name,DirectoryPath(dp)) == NULL) ^~~~~~~~~~~~~ Directory.h:85:32: error: request for member 'filep' in something not a structure or union #define DirectoryDir(dp) ((dp)->filep) ^~ Directory.c:43:2: note: in expansion of macro 'DirectoryDir' DirectoryDir(dp) = opendir(DirectoryPath(dp)); ^~~~~~~~~~~~ Directory.h:86:33: error: request for member 'path' in something not a structure or union #define DirectoryPath(dp) ((dp)->path) ^~ Directory.c:43:29: note: in expansion of macro 'DirectoryPath' DirectoryDir(dp) = opendir(DirectoryPath(dp)); ^~~~~~~~~~~~~ Directory.h:85:32: error: request for member 'filep' in something not a structure or union #define DirectoryDir(dp) ((dp)->filep) ^~ Directory.c:44:6: note: in expansion of macro 'DirectoryDir' if (DirectoryDir(dp) == NULL) return(FALSE); ^~~~~~~~~~~~ Directory.c: In function 'DirectoryRestart': Directory.c:50:1: error: unknown type name 'Directory'; did you mean 'DirEntry'? Directory *dp; ^~~~~~~~~ DirEntry In file included from Directory.c:26: Directory.h:85:32: error: request for member 'filep' in something not a structure or union #define DirectoryDir(dp) ((dp)->filep) ^~ Directory.c:52:12: note: in expansion of macro 'DirectoryDir' rewinddir(DirectoryDir(dp)); ^~~~~~~~~~~~ Directory.c: In function 'DirectoryClose': --- DirMgr.o --- Directory.h:182:16: error: 'MAX_NAME_LENGTH' undeclared here (not in a function) char filename[MAX_NAME_LENGTH + 1]; ^~~~~~~~~~~~~~~ In file included from DirMgr.c:24: DirMgr.h:98:2: error: expected specifier-qualifier-list before 'DIRECTORY' DIRECTORY dir; ^~~~~~~~~ In file included from RegExp.h:29, from DirMgr.c:27: /usr/local/include/gnuregex.h:31:2: warning: #warning "Use -I/usr/include/gnu and instead of " [-Wcpp] #warning "Use -I/usr/include/gnu and instead of " ^~~~~~~ DirMgr.c: In function 'DirectoryMgrSimpleOpen': DirMgr.c:54:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(f_data); ^~~~ DirMgr.c:54:3: warning: incompatible implicit declaration of built-in function 'free' DirMgr.c:54:3: note: include '' or provide a declaration of 'free' DirMgr.c:28:1: +#include #endif DirMgr.c:54:3: free(f_data); ^~~~ --- Directory.o --- Directory.c:57:1: error: unknown type name 'Directory'; did you mean 'DirEntry'? Directory *dp; ^~~~~~~~~ DirEntry In file included from Directory.c:26: Directory.h:85:32: error: request for member 'filep' in something not a structure or union #define DirectoryDir(dp) ((dp)->filep) ^~ Directory.c:59:11: note: in expansion of macro 'DirectoryDir' closedir(DirectoryDir(dp)); ^~~~~~~~~~~~ Directory.c: In function 'DirectoryTellPosition': Directory.c:64:1: error: unknown type name 'Directory'; did you mean 'DirEntry'? Directory *dp; ^~~~~~~~~ DirEntry In file included from Directory.c:26: Directory.h:85:32: error: request for member 'filep' in something not a structure or union #define DirectoryDir(dp) ((dp)->filep) ^~ Directory.c:66:17: note: in expansion of macro 'DirectoryDir' return(telldir(DirectoryDir(dp))); ^~~~~~~~~~~~ Directory.c: In function 'DirectorySetPosition': Directory.c:71:1: error: unknown type name 'Directory'; did you mean 'DirEntry'? Directory *dp; ^~~~~~~~~ DirEntry Directory.c:74:12: error: request for member 'filep' in something not a structure or union seekdir(dp->filep,pos); ^~ Directory.c: In function 'DirectoryReadNextEntry': Directory.c:79:1: error: unknown type name 'Directory'; did you mean 'DirEntry'? Directory *dp; ^~~~~~~~~ DirEntry In file included from Directory.c:26: Directory.h:85:32: error: request for member 'filep' in something not a structure or union #define DirectoryDir(dp) ((dp)->filep) ^~ Directory.c:87:16: note: in expansion of macro 'DirectoryDir' _ep = readdir(DirectoryDir(dp)); ^~~~~~~~~~~~ Directory.h:86:33: error: request for member 'path' in something not a structure or union #define DirectoryPath(dp) ((dp)->path) ^~ Directory.c:90:19: note: in expansion of macro 'DirectoryPath' strcpy(full_path,DirectoryPath(dp)); ^~~~~~~~~~~~~ *** [Directory.o] Error code 1 make[1]: stopped in /construction/comms/acfax/acfax --- DirMgr.o --- DirMgr.c: In function 'DirectoryMgrCanOpen': DirMgr.c:103:2: error: unknown type name 'Directory'; did you mean 'DirectoryMgr'? Directory dir; ^~~~~~~~~ DirectoryMgr DirMgr.c: In function 'DirectoryMgrOpen': DirMgr.c:119:23: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] dm = (DirectoryMgr *)calloc(1,sizeof(DirectoryMgr)); ^~~~~~ DirMgr.c:119:23: warning: incompatible implicit declaration of built-in function 'calloc' DirMgr.c:119:23: note: include '' or provide a declaration of 'calloc' DirMgr.c:123:28: warning: incompatible implicit declaration of built-in function 'free' if (free_data && f_data) free(f_data); ^~~~ DirMgr.c:123:28: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:120:37: error: 'DirectoryMgr' {aka 'struct '} has no member named 'dir' #define DirectoryMgrDir(dm) (&((dm)->dir)) ^~ DirMgr.c:126:25: note: in expansion of macro 'DirectoryMgrDir' if (DirectoryOpen(path,DirectoryMgrDir(dm)) == FALSE) ^~~~~~~~~~~~~~~ DirMgr.h:120:37: error: 'DirectoryMgr' {aka 'struct '} has no member named 'dir' #define DirectoryMgrDir(dm) (&((dm)->dir)) ^~ DirMgr.c:129:4: note: in expansion of macro 'DirectoryMgrDir' DirectoryMgrDir(dm)); ^~~~~~~~~~~~~~~ DirMgr.c:130:3: warning: incompatible implicit declaration of built-in function 'free' free(dm); ^~~~ DirMgr.c:130:3: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:124:39: error: 'DirectoryMgr' {aka 'struct '} has no member named 'comp_func' #define DirectoryMgrCompFunc(dm) ((dm)->comp_func) ^~ DirMgr.c:134:2: note: in expansion of macro 'DirectoryMgrCompFunc' DirectoryMgrCompFunc(dm) = c_func; ^~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrClose': DirMgr.c:143:2: warning: incompatible implicit declaration of built-in function 'free' free(DirectoryMgrData(dm)); ^~~~ DirMgr.c:143:2: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:121:36: error: 'DirectoryMgr' {aka 'struct '} has no member named 'data' #define DirectoryMgrData(dm) ((dm)->data) ^~ DirMgr.c:143:7: note: in expansion of macro 'DirectoryMgrData' free(DirectoryMgrData(dm)); ^~~~~~~~~~~~~~~~ DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:144:7: note: in expansion of macro 'DirectoryMgrSortedPtrs' free(DirectoryMgrSortedPtrs(dm)); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:125:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filter_data' #define DirectoryMgrFilterData(dm) ((dm)->filter_data) ^~ DirMgr.c:145:6: note: in expansion of macro 'DirectoryMgrFilterData' if (DirectoryMgrFilterData(dm) && DirectoryMgrFreeFilterData(dm)) ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:126:45: error: 'DirectoryMgr' {aka 'struct '} has no member named 'free_filter_data' #define DirectoryMgrFreeFilterData(dm) ((dm)->free_filter_data) ^~ DirMgr.c:145:36: note: in expansion of macro 'DirectoryMgrFreeFilterData' if (DirectoryMgrFilterData(dm) && DirectoryMgrFreeFilterData(dm)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:125:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filter_data' #define DirectoryMgrFilterData(dm) ((dm)->filter_data) ^~ DirMgr.c:147:8: note: in expansion of macro 'DirectoryMgrFilterData' free(DirectoryMgrFilterData(dm)); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:120:37: error: 'DirectoryMgr' {aka 'struct '} has no member named 'dir' #define DirectoryMgrDir(dm) (&((dm)->dir)) ^~ DirMgr.c:149:17: note: in expansion of macro 'DirectoryMgrDir' DirectoryClose(DirectoryMgrDir(dm)); ^~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrRefilter': DirMgr.h:125:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filter_data' #define DirectoryMgrFilterData(dm) ((dm)->filter_data) ^~ DirMgr.c:160:6: note: in expansion of macro 'DirectoryMgrFilterData' if (DirectoryMgrFilterData(dm) && DirectoryMgrFreeFilterData(dm)) ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:126:45: error: 'DirectoryMgr' {aka 'struct '} has no member named 'free_filter_data' #define DirectoryMgrFreeFilterData(dm) ((dm)->free_filter_data) ^~ DirMgr.c:160:36: note: in expansion of macro 'DirectoryMgrFreeFilterData' if (DirectoryMgrFilterData(dm) && DirectoryMgrFreeFilterData(dm)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.c:162:3: warning: incompatible implicit declaration of built-in function 'free' free(DirectoryMgrFilterData(dm)); ^~~~ DirMgr.c:162:3: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:125:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filter_data' #define DirectoryMgrFilterData(dm) ((dm)->filter_data) ^~ DirMgr.c:162:8: note: in expansion of macro 'DirectoryMgrFilterData' free(DirectoryMgrFilterData(dm)); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:123:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filter_func' #define DirectoryMgrFilterFunc(dm) ((dm)->filter_func) ^~ DirMgr.c:164:2: note: in expansion of macro 'DirectoryMgrFilterFunc' DirectoryMgrFilterFunc(dm) = f_func; ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:125:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filter_data' #define DirectoryMgrFilterData(dm) ((dm)->filter_data) ^~ DirMgr.c:165:2: note: in expansion of macro 'DirectoryMgrFilterData' DirectoryMgrFilterData(dm) = f_data; ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:126:45: error: 'DirectoryMgr' {aka 'struct '} has no member named 'free_filter_data' #define DirectoryMgrFreeFilterData(dm) ((dm)->free_filter_data) ^~ DirMgr.c:166:2: note: in expansion of macro 'DirectoryMgrFreeFilterData' DirectoryMgrFreeFilterData(dm) = f_free; ^~~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrRefresh': DirMgr.h:127:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'total_count' #define DirectoryMgrTotalCount(dm) ((dm)->total_count) ^~ DirMgr.c:180:2: note: in expansion of macro 'DirectoryMgrTotalCount' DirectoryMgrTotalCount(dm) = 0; ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:181:2: note: in expansion of macro 'DirectoryMgrFilteredCount' DirectoryMgrFilteredCount(dm) = 0; ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:120:37: error: 'DirectoryMgr' {aka 'struct '} has no member named 'dir' #define DirectoryMgrDir(dm) (&((dm)->dir)) ^~ DirMgr.c:182:19: note: in expansion of macro 'DirectoryMgrDir' DirectoryRestart(DirectoryMgrDir(dm)); ^~~~~~~~~~~~~~~ DirMgr.h:121:36: error: 'DirectoryMgr' {aka 'struct '} has no member named 'data' #define DirectoryMgrData(dm) ((dm)->data) ^~ DirMgr.c:183:6: note: in expansion of macro 'DirectoryMgrData' if (DirectoryMgrData(dm)) free(DirectoryMgrData(dm)); ^~~~~~~~~~~~~~~~ DirMgr.c:183:28: warning: incompatible implicit declaration of built-in function 'free' if (DirectoryMgrData(dm)) free(DirectoryMgrData(dm)); ^~~~ DirMgr.c:183:28: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:121:36: error: 'DirectoryMgr' {aka 'struct '} has no member named 'data' #define DirectoryMgrData(dm) ((dm)->data) ^~ DirMgr.c:183:33: note: in expansion of macro 'DirectoryMgrData' if (DirectoryMgrData(dm)) free(DirectoryMgrData(dm)); ^~~~~~~~~~~~~~~~ DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:184:6: note: in expansion of macro 'DirectoryMgrSortedPtrs' if (DirectoryMgrSortedPtrs(dm)) free(DirectoryMgrSortedPtrs(dm)); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.c:184:34: warning: incompatible implicit declaration of built-in function 'free' if (DirectoryMgrSortedPtrs(dm)) free(DirectoryMgrSortedPtrs(dm)); ^~~~ DirMgr.c:184:34: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:184:39: note: in expansion of macro 'DirectoryMgrSortedPtrs' if (DirectoryMgrSortedPtrs(dm)) free(DirectoryMgrSortedPtrs(dm)); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:123:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filter_func' #define DirectoryMgrFilterFunc(dm) ((dm)->filter_func) ^~ DirMgr.c:186:11: note: in expansion of macro 'DirectoryMgrFilterFunc' f_func = DirectoryMgrFilterFunc(dm); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:125:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filter_data' #define DirectoryMgrFilterData(dm) ((dm)->filter_data) ^~ DirMgr.c:187:11: note: in expansion of macro 'DirectoryMgrFilterData' f_data = DirectoryMgrFilterData(dm); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.c:190:26: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cons = (DirEntryCons *)malloc(sizeof(DirEntryCons)); ^~~~~~ DirMgr.c:190:26: warning: incompatible implicit declaration of built-in function 'malloc' DirMgr.c:190:26: note: include '' or provide a declaration of 'malloc' DirMgr.c:195:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(-1); ^~~~ DirMgr.c:195:4: warning: incompatible implicit declaration of built-in function 'exit' DirMgr.c:195:4: note: include '' or provide a declaration of 'exit' In file included from DirMgr.c:24: DirMgr.h:120:37: error: 'DirectoryMgr' {aka 'struct '} has no member named 'dir' #define DirectoryMgrDir(dm) (&((dm)->dir)) ^~ DirMgr.c:197:32: note: in expansion of macro 'DirectoryMgrDir' err = DirectoryReadNextEntry(DirectoryMgrDir(dm), ^~~~~~~~~~~~~~~ DirMgr.c:201:4: warning: incompatible implicit declaration of built-in function 'free' free(cons); ^~~~ DirMgr.c:201:4: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:127:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'total_count' #define DirectoryMgrTotalCount(dm) ((dm)->total_count) ^~ DirMgr.c:204:6: note: in expansion of macro 'DirectoryMgrTotalCount' ++ DirectoryMgrTotalCount(dm); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:214:7: note: in expansion of macro 'DirectoryMgrFilteredCount' ++ DirectoryMgrFilteredCount(dm); ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.c:218:4: warning: incompatible implicit declaration of built-in function 'free' free(cons); ^~~~ DirMgr.c:218:4: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:222:33: note: in expansion of macro 'DirectoryMgrFilteredCount' data_size = sizeof(DirEntry) * DirectoryMgrFilteredCount(dm); ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:223:35: note: in expansion of macro 'DirectoryMgrFilteredCount' ptrs_size = sizeof(DirEntry *) * DirectoryMgrFilteredCount(dm); ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.c:225:39: warning: incompatible implicit declaration of built-in function 'malloc' if (data_size) dm_data = (DirEntry *)malloc(data_size); ^~~~~~ DirMgr.c:225:39: note: include '' or provide a declaration of 'malloc' DirMgr.c:226:40: warning: incompatible implicit declaration of built-in function 'malloc' if (ptrs_size) dm_ptrs = (DirEntry **)malloc(ptrs_size); ^~~~~~ DirMgr.c:226:40: note: include '' or provide a declaration of 'malloc' DirMgr.c:230:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ DirMgr.c:230:3: note: include '' or provide a declaration of 'exit' In file included from DirMgr.c:24: DirMgr.h:121:36: error: 'DirectoryMgr' {aka 'struct '} has no member named 'data' #define DirectoryMgrData(dm) ((dm)->data) ^~ DirMgr.c:232:2: note: in expansion of macro 'DirectoryMgrData' DirectoryMgrData(dm) = dm_data; ^~~~~~~~~~~~~~~~ DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:233:2: note: in expansion of macro 'DirectoryMgrSortedPtrs' DirectoryMgrSortedPtrs(dm) = dm_ptrs; ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:235:18: note: in expansion of macro 'DirectoryMgrFilteredCount' for (i = 0; i < DirectoryMgrFilteredCount(dm); i++) ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:121:36: error: 'DirectoryMgr' {aka 'struct '} has no member named 'data' #define DirectoryMgrData(dm) ((dm)->data) ^~ DirMgr.c:237:3: note: in expansion of macro 'DirectoryMgrData' DirectoryMgrData(dm)[i] = head->dir_entry; ^~~~~~~~~~~~~~~~ DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:238:3: note: in expansion of macro 'DirectoryMgrSortedPtrs' DirectoryMgrSortedPtrs(dm)[i] = &(DirectoryMgrData(dm)[i]); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:121:36: error: 'DirectoryMgr' {aka 'struct '} has no member named 'data' #define DirectoryMgrData(dm) ((dm)->data) ^~ DirMgr.c:238:37: note: in expansion of macro 'DirectoryMgrData' DirectoryMgrSortedPtrs(dm)[i] = &(DirectoryMgrData(dm)[i]); ^~~~~~~~~~~~~~~~ DirMgr.c:240:3: warning: incompatible implicit declaration of built-in function 'free' free(head); ^~~~ DirMgr.c:240:3: note: include '' or provide a declaration of 'free' In file included from DirMgr.c:24: DirMgr.h:124:39: error: 'DirectoryMgr' {aka 'struct '} has no member named 'comp_func' #define DirectoryMgrCompFunc(dm) ((dm)->comp_func) ^~ DirMgr.c:244:24: note: in expansion of macro 'DirectoryMgrCompFunc' DirectoryMgrResort(dm,DirectoryMgrCompFunc(dm)); ^~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrResort': DirMgr.h:124:39: error: 'DirectoryMgr' {aka 'struct '} has no member named 'comp_func' #define DirectoryMgrCompFunc(dm) ((dm)->comp_func) ^~ DirMgr.c:254:2: note: in expansion of macro 'DirectoryMgrCompFunc' DirectoryMgrCompFunc(dm) = c_func; ^~~~~~~~~~~~~~~~~~~~ DirMgr.c:257:3: warning: implicit declaration of function 'qsort' [-Wimplicit-function-declaration] qsort(DirectoryMgrSortedPtrs(dm),DirectoryMgrFilteredCount(dm), ^~~~~ In file included from DirMgr.c:24: DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:257:9: note: in expansion of macro 'DirectoryMgrSortedPtrs' qsort(DirectoryMgrSortedPtrs(dm),DirectoryMgrFilteredCount(dm), ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:257:36: note: in expansion of macro 'DirectoryMgrFilteredCount' qsort(DirectoryMgrSortedPtrs(dm),DirectoryMgrFilteredCount(dm), ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:124:39: error: 'DirectoryMgr' {aka 'struct '} has no member named 'comp_func' #define DirectoryMgrCompFunc(dm) ((dm)->comp_func) ^~ DirMgr.c:258:28: note: in expansion of macro 'DirectoryMgrCompFunc' sizeof(DirEntry *),DirectoryMgrCompFunc(dm)); ^~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrGotoItem': DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:273:20: note: in expansion of macro 'DirectoryMgrFilteredCount' if (i < 0 || i >= DirectoryMgrFilteredCount(dm)) return(FALSE); ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:129:43: error: 'DirectoryMgr' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ DirMgr.c:274:2: note: in expansion of macro 'DirectoryMgrCurrentIndex' DirectoryMgrCurrentIndex(dm) = i; ^~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrGotoNamedItem': DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:286:18: note: in expansion of macro 'DirectoryMgrFilteredCount' for (i = 0; i < DirectoryMgrFilteredCount(dm); i++) ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:288:11: note: in expansion of macro 'DirectoryMgrSortedPtrs' entry = DirectoryMgrSortedPtrs(dm)[i]; ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:129:43: error: 'DirectoryMgr' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ DirMgr.c:291:4: note: in expansion of macro 'DirectoryMgrCurrentIndex' DirectoryMgrCurrentIndex(dm) = i; ^~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrRestart': DirMgr.h:129:43: error: 'DirectoryMgr' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ DirMgr.c:302:2: note: in expansion of macro 'DirectoryMgrCurrentIndex' DirectoryMgrCurrentIndex(dm) = 0; ^~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrCurrentEntry': DirMgr.h:129:43: error: 'DirectoryMgr' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ DirMgr.c:311:10: note: in expansion of macro 'DirectoryMgrCurrentIndex' index = DirectoryMgrCurrentIndex(dm); ^~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:312:28: note: in expansion of macro 'DirectoryMgrFilteredCount' if (index < 0 || index >= DirectoryMgrFilteredCount(dm)) return(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:313:9: note: in expansion of macro 'DirectoryMgrSortedPtrs' return(DirectoryMgrSortedPtrs(dm)[index]); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrNextEntry': DirMgr.h:129:43: error: 'DirectoryMgr' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ DirMgr.c:322:10: note: in expansion of macro 'DirectoryMgrCurrentIndex' index = DirectoryMgrCurrentIndex(dm); ^~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:128:44: error: 'DirectoryMgr' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ DirMgr.c:323:15: note: in expansion of macro 'DirectoryMgrFilteredCount' if (index >= DirectoryMgrFilteredCount(dm)) return(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:129:43: error: 'DirectoryMgr' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ DirMgr.c:324:5: note: in expansion of macro 'DirectoryMgrCurrentIndex' ++ DirectoryMgrCurrentIndex(dm); ^~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:325:9: note: in expansion of macro 'DirectoryMgrSortedPtrs' return(DirectoryMgrSortedPtrs(dm)[index]); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrPrevEntry': DirMgr.h:129:43: error: 'DirectoryMgr' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ DirMgr.c:334:10: note: in expansion of macro 'DirectoryMgrCurrentIndex' index = DirectoryMgrCurrentIndex(dm) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:129:43: error: 'DirectoryMgr' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ DirMgr.c:336:5: note: in expansion of macro 'DirectoryMgrCurrentIndex' -- DirectoryMgrCurrentIndex(dm); ^~~~~~~~~~~~~~~~~~~~~~~~ DirMgr.h:122:41: error: 'DirectoryMgr' {aka 'struct '} has no member named 'sorted_ptrs' #define DirectoryMgrSortedPtrs(dm) ((dm)->sorted_ptrs) ^~ DirMgr.c:337:9: note: in expansion of macro 'DirectoryMgrSortedPtrs' return(DirectoryMgrSortedPtrs(dm)[index]); ^~~~~~~~~~~~~~~~~~~~~~ DirMgr.c: In function 'DirectoryMgrSimpleFilterFunc': DirMgr.c:355:20: warning: incompatible implicit declaration of built-in function 'malloc' *fd_ptr = (char *)malloc(sizeof(regex_t)); ^~~~~~ DirMgr.c:355:20: note: include '' or provide a declaration of 'malloc' *** [DirMgr.o] Error code 1 make[1]: stopped in /construction/comms/acfax/acfax --- acfax.o --- acfax.c: In function 'filtsel_cb': acfax.c:450:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selectn = (int)client_data; ^ acfax.c: In function 'stastop_cb': acfax.c:473:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rd = (unsigned)XawToggleGetCurrent(w); ^ acfax.c: In function 'lshift_trigger': acfax.c:625:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned)client_data == 1) { ^ acfax.c: In function 'azimut_trigger': acfax.c:663:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned)client_data == 1) { ^ acfax.c:677:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] } else if ((unsigned)client_data == 2) { ^ --- mod_demod.o --- mod_demod.c: In function 'fm_demod': mod_demod.c:207:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(firbuf, firbuf+2, (16*sizeof(int))); ^~~~~~ mod_demod.c:207:5: warning: incompatible implicit declaration of built-in function 'memcpy' mod_demod.c:207:5: note: include '' or provide a declaration of 'memcpy' mod_demod.c:31:1: +#include mod_demod.c:207:5: memcpy(firbuf, firbuf+2, (16*sizeof(int))); ^~~~~~ mod_demod.c: In function 'am_demod': mod_demod.c:324:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(firbuf, firbuf+2, (16*sizeof(int))); ^~~~~~ mod_demod.c:324:5: note: include '' or provide a declaration of 'memcpy' --- FChooser.o --- In file included from DirMgr.h:28, from FChooser.c:64: Directory.h:49:1: warning: data definition has no type or storage class ERROR, ONE OF THESE MUST BE DEFINED ^~~~~ Directory.h:49:1: warning: type defaults to 'int' in declaration of 'ERROR' [-Wimplicit-int] Directory.h:49:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' ERROR, ONE OF THESE MUST BE DEFINED ^~ Directory.h:158:3: warning: data definition has no type or storage class } DIRECTORY; ^~~~~~~~~ Directory.h:158:3: warning: type defaults to 'int' in declaration of 'DIRECTORY' [-Wimplicit-int] Directory.h:160:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Directory' typedef DIRECTORY Directory; ^~~~~~~~~ Directory.h:182:16: error: 'MAX_NAME_LENGTH' undeclared here (not in a function) char filename[MAX_NAME_LENGTH + 1]; ^~~~~~~~~~~~~~~ Directory.h:211:35: error: unknown type name 'Directory'; did you mean 'DirEntry'? int DirectoryOpen(char *dir_name, Directory *dp); ^~~~~~~~~ DirEntry Directory.h:212:23: error: unknown type name 'Directory'; did you mean 'DirEntry'? void DirectoryRestart(Directory *dp); ^~~~~~~~~ DirEntry Directory.h:213:21: error: unknown type name 'Directory'; did you mean 'DirEntry'? void DirectoryClose(Directory *dp); ^~~~~~~~~ DirEntry Directory.h:214:28: error: unknown type name 'Directory'; did you mean 'DirEntry'? long DirectoryTellPosition(Directory *dp); ^~~~~~~~~ DirEntry Directory.h:215:27: error: unknown type name 'Directory'; did you mean 'DirEntry'? void DirectorySetPosition(Directory *dp, long int pos); ^~~~~~~~~ DirEntry Directory.h:216:28: error: unknown type name 'Directory'; did you mean 'DirEntry'? int DirectoryReadNextEntry(Directory *dp, DirEntry *de); ^~~~~~~~~ DirEntry In file included from FChooser.c:64: DirMgr.h:98:2: error: expected specifier-qualifier-list before 'DIRECTORY' DIRECTORY dir; ^~~~~~~~~ In file included from FChooser.c:65: FChooser.c: In function 'Destroy': FChooserP.h:80:37: warning: passing argument 1 of 'XtFree' from incompatible pointer type [-Wincompatible-pointer-types] #define FCFileNames(w) (FCFCPart(w)->file_names) ~~~~~~~~~~~~^~~~~~~~~~~~~ FChooser.c:316:9: note: in expansion of macro 'FCFileNames' XtFree(FCFileNames(fcw)); ^~~~~~~~~~~ In file included from /usr/local/include/X11/IntrinsicP.h:51, from FChooser.c:44: /usr/local/include/X11/Intrinsic.h:1854:5: note: expected 'char *' but argument is of type 'char **' char* /* ptr */ ^~~~~ In file included from FChooser.c:65: FChooserP.h:78:36: warning: passing argument 1 of 'XtFree' from incompatible pointer type [-Wincompatible-pointer-types] #define FCDirNames(w) (FCFCPart(w)->dir_names) ~~~~~~~~~~~~^~~~~~~~~~~~ FChooser.c:321:9: note: in expansion of macro 'FCDirNames' XtFree(FCDirNames(fcw)); ^~~~~~~~~~ In file included from /usr/local/include/X11/IntrinsicP.h:51, from FChooser.c:44: /usr/local/include/X11/Intrinsic.h:1854:5: note: expected 'char *' but argument is of type 'char **' char* /* ptr */ ^~~~~ FChooser.c: In function 'DirectoryCallback': FChooser.c:594:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int index = (int)client_data; ^ FChooser.c: In function 'SelectFileByIndex': FChooser.c:650:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(-1); ^~~~ FChooser.c:650:2: warning: incompatible implicit declaration of built-in function 'exit' FChooser.c:650:2: note: include '' or provide a declaration of 'exit' FChooser.c:67:1: +#include FChooser.c:650:2: exit(-1); ^~~~ In file included from FChooser.c:64: FChooser.c: In function 'SelectFileByName': DirMgr.h:129:43: error: 'DIRECTORY_MGR' {aka 'struct '} has no member named 'current_index' #define DirectoryMgrCurrentIndex(dm) ((dm)->current_index) ^~ FChooser.c:673:27: note: in expansion of macro 'DirectoryMgrCurrentIndex' SelectFileByIndex(fcw,DirectoryMgrCurrentIndex(FCDirMgr(fcw))); ^~~~~~~~~~~~~~~~~~~~~~~~ FChooser.c: In function 'UpdateLists': DirMgr.h:128:44: error: 'DIRECTORY_MGR' {aka 'struct '} has no member named 'filtered_count' #define DirectoryMgrFilteredCount(dm) ((dm)->filtered_count) ^~ FChooser.c:805:27: note: in expansion of macro 'DirectoryMgrFilteredCount' FCNumFileNames(fcw) = DirectoryMgrFilteredCount(FCDirMgr(fcw)); ^~~~~~~~~~~~~~~~~~~~~~~~~ FChooser.c:853:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtAddCallback(menuItem,XtNcallback,DirectoryCallback,(XtPointer)i); ^ *** [FChooser.o] Error code 1 make[1]: stopped in /construction/comms/acfax/acfax --- widgets.o --- In file included from DirMgr.h:28, from FChooser.h:45, from widgets.c:56: Directory.h:49:1: warning: data definition has no type or storage class ERROR, ONE OF THESE MUST BE DEFINED ^~~~~ Directory.h:49:1: warning: type defaults to 'int' in declaration of 'ERROR' [-Wimplicit-int] Directory.h:49:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' ERROR, ONE OF THESE MUST BE DEFINED ^~ Directory.h:158:3: warning: data definition has no type or storage class } DIRECTORY; ^~~~~~~~~ Directory.h:158:3: warning: type defaults to 'int' in declaration of 'DIRECTORY' [-Wimplicit-int] Directory.h:160:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Directory' typedef DIRECTORY Directory; ^~~~~~~~~ Directory.h:182:16: error: 'MAX_NAME_LENGTH' undeclared here (not in a function) char filename[MAX_NAME_LENGTH + 1]; ^~~~~~~~~~~~~~~ Directory.h:211:35: error: unknown type name 'Directory'; did you mean 'DirEntry'? int DirectoryOpen(char *dir_name, Directory *dp); ^~~~~~~~~ DirEntry Directory.h:212:23: error: unknown type name 'Directory'; did you mean 'DirEntry'? void DirectoryRestart(Directory *dp); ^~~~~~~~~ DirEntry Directory.h:213:21: error: unknown type name 'Directory'; did you mean 'DirEntry'? void DirectoryClose(Directory *dp); ^~~~~~~~~ DirEntry Directory.h:214:28: error: unknown type name 'Directory'; did you mean 'DirEntry'? long DirectoryTellPosition(Directory *dp); ^~~~~~~~~ DirEntry Directory.h:215:27: error: unknown type name 'Directory'; did you mean 'DirEntry'? void DirectorySetPosition(Directory *dp, long int pos); ^~~~~~~~~ DirEntry Directory.h:216:28: error: unknown type name 'Directory'; did you mean 'DirEntry'? int DirectoryReadNextEntry(Directory *dp, DirEntry *de); ^~~~~~~~~ DirEntry In file included from FChooser.h:45, from widgets.c:56: DirMgr.h:98:2: error: expected specifier-qualifier-list before 'DIRECTORY' DIRECTORY dir; ^~~~~~~~~ *** [widgets.o] Error code 1 make[1]: stopped in /construction/comms/acfax/acfax 4 errors make[1]: stopped in /construction/comms/acfax/acfax ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/comms/acfax FAILED 00:00:01