bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with stdio.h


From: Gabriele Bartolini
Subject: Problems with stdio.h
Date: Thu, 13 Mar 2008 14:16:51 +0100

Hello,
 
   I am trying to update the configure script of a GPL project that I maintain called ht://Miner (www.htminer.org), written in C++. I had previously added gnulib code inside the project (don't know if I did it the good way, but it worked), however a few days ago I had to bootstrap the configure script again because a few new classes needed to be added. Result: I started to get compilation errors, such as:
 
In file included from ../../../../htminer/include/htminer_config.h:44,
                 from ../../../../htminer/common/database/postgresql/PostgreSQL_DBConnection.h:34,
                 from ../../../../htminer/common/database/postgresql/PostgreSQL_DBConnection.cpp:32:
../../../gnulib/stdio.h:39:7: operator '&&' has no left operand
../../../gnulib/stdio.h:97:5: #if with no _expression_
../../../gnulib/stdio.h:112:5: #if with no _expression_
../../../gnulib/stdio.h:127:5: #if with no _expression_
../../../gnulib/stdio.h:150:5: #if with no _expression_
../../../gnulib/stdio.h:165:5: #if with no _expression_
../../../gnulib/stdio.h:181:5: #if with no _expression_
../../../gnulib/stdio.h:197:5: #if with no _expression_
../../../gnulib/stdio.h:212:5: #if with no _expression_
../../../gnulib/stdio.h:227:5: #if with no _expression_
../../../gnulib/stdio.h:244:5: #if with no _expression_
../../../gnulib/stdio.h:257:5: #if with no _expression_
../../../gnulib/stdio.h:270:5: #if with no _expression_
../../../gnulib/stdio.h:286:6: operator '&&' has no left operand
../../../gnulib/stdio.h:308:5: #if with no _expression_
../../../gnulib/stdio.h:322:6: operator '&&' has no left operand
../../../gnulib/stdio.h:344:5: #if with no _expression_
../../../gnulib/stdio.h:364:5: #if with no _expression_
../../../gnulib/stdio.h:383:5: #if with no _expression_
...
 
and lots more. I am not cutting and pasting them here because they are too long, and I first want to make sure I am doing the right steps. In case, let me know if and how I can post the errors.
 
Here are lines 39-42 of gnulib/stdio.h from the build directory:
 
#if ( && ) \
  || ( && ) \
  || ( && !) \
  || ( && (! || ))
 
   I have updated gnulib via CVS and then executed, within the source directory, the following command:
 
gnulib-tool --import --dir=. --lib=libgnucommon --source-base=gnulib --m4-base=m4 --doc-base=doc --aux-dir=config --libtool --macro-prefix=gl sys_time stdarg mktime strftime strptime snprintf gettimeofday stdbool
Here are the current versions of autotools and gettext that I have:
 
gnulib-tool (GNU gnulib) 2007-09-17
automake (GNU automake) 1.9.6
autoconf (GNU Autoconf) 2.61
ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.455 2007/06/24 02:13:29)
gettext (GNU gettext-runtime) 0.17
 
and here is my bootstrap file content:
 
set -x
gnulib-tool --update
gettextize --force --intl --copy --no-changelog
aclocal -I config
libtoolize --force --copy
autoheader
automake --add-missing --copy
autoconf
Please advise. Even if I try and execute 'autoreconf -if' I get the same results. I am currently using a GNU/Linux 2.6.9-67.ELsmp kernel.
 
Thank you,
Gabriele
--
Gabriele Bartolini - Istruttore Informatico - Comune di Prato
Sistema Informativo - Servizi di E-Government e Open-Source
address@hidden - www.comune.prato.it - www.htminer.it
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]