
On 05-05-2011 01:07:29 +0300, Michael Sioutis wrote:
NGROUPS is defined as a preprocessor macro in: sys/param.h, line 73 MAXLOGNAME is defined as a preprocessor macro in: sys/param.h, line 70 MAXCOMLEN is defined as a preprocessor macro in: sys/param.h, line 68
So, I changed in MonetDB-11.3.2/BUILD/gdk/gdk_system.h (actually I could have changed it in the .mx file): #ifdef HAVE_SYS_SYSCTL_H # include
#endif to: #ifdef HAVE_SYS_SYSCTL_H # include # include #endif
I fixed this in the code for all places where sys/sysctl.h is included now. Thanks.
/home/pico/MonetDB-11.3.2/BUILD/gdk/.libs/libbat.so.3.0: undefined reference to `sysctlbyname'
I believe some library should be linked.
Indeed. Does the manpage of sysctlbyname list which library needs to be linked to?