On Mon, Jul 21, 2008 at 02:48:26PM +0200, Marco Antonelli wrote:
Stefan Klinger wrote:
Thank you Stefan!
I'll answer all your questions below. The information about which trunks exist really helps, since I don't have an overview, and I'm also not an experienced CVS user.
On 18 July 2008, Stefan Manegold wrote with possible deletions:
The most current *released*/*stable* version or the most current *development* version?
Jan fixed a bug in Pathfinder for me, and I need to test it. He said that fix went to the stable branch, so I think I have to use that one. However, I'd like to be preared in case I need to use the development branch.
Would mind sharing with us, on which platform (HW, OS, version) you try to compile MonetDB, and which tools (incl. version numbers) you are using:
Hardware: Two Intel Core2 Duo CPUs at 2.00GHz (/proc/cpuinfo), total memory is 2068152kB (/proc/meminfo).
OS: Debian GNU/Linux lenny/sid, latest upgrade was Jul 20 2008 12:22:11 +0200. The kernel is Linux 2.6.25-2-686 (uname -a)
tools: Some of the tools are hidden behind symlinks. If so, I listed them in the usual '->' notation.
autoconf --version autoconf (GNU Autoconf) 2.61
/usr/bin/automake -> /etc/alternatives/automake /etc/alternatives/automake -> /usr/bin/automake-1.10
automake --version automake (GNU automake) 1.10.1
libtool --version ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-4 (1.1220.2.493 2008/02/01 16:58:18)
flex --version flex 2.5.35
Hi Stefan,
I remember I got some compilation issues with flex 2.5.34; switching back to 2.5.33 solved them. Hope this helps you!
Marco
/usr/bin/lex -> flex
/usr/bin/yacc -> /etc/alternatives/yacc /etc/alternatives/yacc -> /usr/bin/byacc
yacc -V yacc - 1.9 20070509
bison: not installed
/usr/bin/gcc -> gcc-4.3
gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-2' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.1 (Debian 4.3.1-2)
Would you mind sharing with us, what line, say, 110 - 123 of your /home/sk/opt/MonetDB/include/MonetDB/gdk/gdk_system.h look like?
Here are lines 107-132, you may download the whole file here [1].
typedef size_t MT_Id; /* thread number. will not be zero */
gdk_export int MT_create_thread(MT_Id *t, void (*function) (void *), void *arg); gdk_export void MT_exit_thread(int status); gdk_export void MT_global_exit(int status); gdk_export MT_Id MT_getpid(void); gdk_export int MT_join_thread(MT_Id t); gdk_export int MT_kill_thread(MT_Id t);
#ifdef HAVE_PTHREAD_SIGMASK gdk_export void MT_thread_sigmask(sigset_t * new_mask, sigset_t * orig_mask);
The error /home/sk/opt/MonetDB/include/MonetDB/gdk/gdk_system.h:117: error: expected ‘)’ before ‘*’ token seems to suggest that for some reason type sigset_t does not seems to be defined by default (in /usr/include/signal.h) on your "Debian GNU/Linux lenny/sid, latest upgrade was Jul 20 2008 12:22:11 +0200". On our "Debian 4.0", we don't have any such problems. Admittedly, we do not explicitly test whether type sigset_t is defined by default, but just assume it is available in case function pthread_sigmask is available (see also `man pthread_sigmask`). Hence, I honestly have no solution for your compilation problem, yet(?) ... Stefan
#endif
gdk_export MT_Id MT_locktrace;
#if SIZEOF_VOID_P == 4 /* "limited" stack size on 32-bit systems */ /* to avoid address space fragmentation */ #define THREAD_STACK_SIZE ((size_t)2*512*1024) #else /* "increased" stack size on 64-bit systems */ /* since some compilers seem to require this */ /* for burg-generated code in pathfinder */ /* and address space fragmentation is no issue */ #define THREAD_STACK_SIZE ((size_t)4*512*1024) #endif
Thank you very much!!! Stefan
____________________ [1] File 'gdk_system.h', link valid for seven days. https://depot.uni-konstanz.de/get/7clrlt
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |