Opened 9 months ago
Last modified 9 months ago
#69439 new defect
gegl fails for undeclared identifier HOST_VM_INFO64_COUNT on 10.5
Reported by: | rmottola (Riccardo) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard 64bit legacysupport | Cc: | |
Port: | gegl |
Description
on 10.5 64bit I have this failure building gegl:
../gegl-0.4.46/gegl/gegl-config.c:275:5: error: unknown type name 'vm_statistics64_data_t'; did you mean 'vm_statistics_data_t'? vm_statistics64_data_t vm_stat; ^~~~~~~~~~~~~~~~~~~~~~ vm_statistics_data_t /usr/include/mach/vm_statistics.h:100:30: note: 'vm_statistics_data_t' declared here typedef struct vm_statistics vm_statistics_data_t; ^ ../gegl-0.4.46/gegl/gegl-config.c:276:36: error: use of undeclared identifier 'HOST_VM_INFO64_COUNT' unsigned int count = HOST_VM_INFO64_COUNT; ^ ../gegl-0.4.46/gegl/gegl-config.c:278:12: warning: implicit declaration of function 'host_statistics64' is invalid in C99 [-Wimplicit-function-declaration] kret = host_statistics64 (host, HOST_VM_INFO64, (host_info64_t)&vm_stat, &count); ^ ../gegl-0.4.46/gegl/gegl-config.c:278:54: error: use of undeclared identifier 'host_info64_t' kret = host_statistics64 (host, HOST_VM_INFO64, (host_info64_t)&vm_stat, &count); ^ ../gegl-0.4.46/gegl/gegl-config.c:278:37: error: use of undeclared identifier 'HOST_VM_INFO64' kret = host_statistics64 (host, HOST_VM_INFO64, (host_info64_t)&vm_stat, &count); ^ 1 warning and 4 errors generated.
the section is specific to 64bit, I wonder if perhaps on older MacOS (how old?) the 64bit structures did not exist.
Note: See
TracTickets for help on using
tickets.
As a test - just a quick hack: I enabled the 32bit path and everything compiled and linked. Now I cannot test it further, since I still can't rebuild things enough to get gimp running again. I don't know other apps that use gegl.