
http://www.daemon-systems.org/man/sysctlbyname.3.html
So -lc should be used in the flags.
If -lpthread is used also, the order should be ... -lpthread -lc ...
On Thu, May 5, 2011 at 9:27 AM, Fabian Groffen
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?
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users