
I shouldn't think it was gonna be that easy.. ==================================================================== In file included from /usr//include/sys/sysctl.h:46, from gdk_system.h:60, from ../../gdk/gdk_system.mx:233: /usr//include/sys/ucred.h:46: error: 'NGROUPS' undeclared here (not in a function) In file included from /usr//include/sys/sysctl.h:47, from gdk_system.h:60, from ../../gdk/gdk_system.mx:233: /usr//include/sys/proc.h:64: error: 'MAXLOGNAME' undeclared here (not in a function) /usr//include/sys/proc.h:287: error: 'MAXCOMLEN' undeclared here (not in a function) gmake[3]: *** [libbat_la-gdk_system.lo] Error 1 gmake[3]: Leaving directory `/home/pico/MonetDB-11.3.2/BUILD/gdk' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/pico/MonetDB-11.3.2/BUILD/gdk' gmake[1]: *** [all-recursive] Error 1 ==================================================================== 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 <sys/sysctl.h> #endif to: #ifdef HAVE_SYS_SYSCTL_H # include <sys/param.h> # include <sys/sysctl.h> #endif After a long time of compilation with gmake, I am now stuck with this error: ==================================================================== /home/pico/MonetDB-11.3.2/BUILD/gdk/.libs/libbat.so.3.0: undefined reference to `sysctlbyname' collect2: ld returned 1 exit status gmake[5]: *** [mserver5] Error 1 gmake[5]: Leaving directory `/home/pico/MonetDB-11.3.2/BUILD/tools/mserver' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/home/pico/MonetDB-11.3.2/BUILD/tools/mserver' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/pico/MonetDB-11.3.2/BUILD/tools' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/pico/MonetDB-11.3.2/BUILD/tools' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/pico/MonetDB-11.3.2/BUILD' gmake: *** [all] Error 2 ==================================================================== I believe some library should be linked. On Wed, May 4, 2011 at 11:27 PM, Michael Sioutis <papito.dit@gmail.com> wrote:
In monetdb_config.h /* Define to 1 if you have the <sys/sysctl.h> header file. */ #define HAVE_SYS_SYSCTL_H 1
The configuration seems promising. Also I noticed you included the patch without the $ac_includes_default bit.
I'll cross fingers till gmake is done (it takes a while because it's an old machine) and report status later :)
On Wed, May 4, 2011 at 11:09 PM, Fabian Groffen <Fabian.Groffen@cwi.nl> wrote:
On 04-05-2011 22:48:09 +0300, Michael Sioutis wrote:
Yup it did. Nth different in monetdb_config.h either.
I did patch < syctl.patch and it added the following code in configure.ag: AC_CHECK_HEADERS([sys/sysctl.h], [], [], [$ac_includes_default #ifdef HAVE_SYS_PARAM_H # include <sys/param.h> #endif ])
If you're not using Mercurial sources, please try this tar: http://monetdb.cwi.nl/testing/projects/monetdb/testweb/web/40107:fcae3cfc1f5...
It should include all fixes made for OpenBSD today.
------------------------------------------------------------------------------ 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