[Monetdb-developers] Compile M4...

Romulo Goncalves R.A.Goncalves at cwi.nl
Tue Dec 5 22:07:49 CET 2006


Fabian Groffen wrote:

>On 05-12-2006 21:36:04 +0100, Romulo Goncalves wrote:
>  
>
>>>% grep -A 2 PTHREAD_MUTEX_INITIALIZER /usr/include/pthread.h 
>>>#define PTHREAD_MUTEX_INITIALIZER \
>>> { { 0, 0, 0, 0, 0, 0 } }
>>>#ifdef __USE_GNU
>>> 
>>>
>>>      
>>>
>>Nothing because I have:
>>/* Mutex initializers.  */
>>#define PTHREAD_MUTEX_INITIALIZER \
>>  { { 0, } }
>>#ifdef __USE_GNU
>>
>>Is this the problem?
>>    
>>
>
>Yes, because that's what the error message is saying: it expects all
>members of the struct to be initialised.  Your initialiser looks pretty
>weird to me with that trailing ','.
>
>  
>
Problem resolved with M4.

Now is M5.
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should add the contents of `/usr/share/aclocal/libtool.m4' to 
`aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `conf'.
aclocal:configure.in:21: warning: macro `AM_MONETDB_DEFAULTS' not found 
in library
patching file aclocal.m4
Hunk #1 succeeded at 394 (offset -5992 lines).
configure.in: installing `conf/install-sh'
configure.in: installing `conf/missing'
src/compiler/Makefile.am: installing `conf/compile'
configure.in:21: error: possibly undefined macro: AM_MONETDB_DEFAULTS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
[Romulo at localhost MonetDB5]$

Any idea ?

Regards,
Romulo

>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Monetdb-developers mailing list
>Monetdb-developers at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>  
>





More information about the developers-list mailing list