Discussion:
CosTransaction strike back
l***@marzu.org
2009-07-01 07:48:41 UTC
Permalink
Hello,

I'm working again on the CosTransactions services for MICO, and, for now,
I'm reporting development made on the 2.3.12 last year to the 2.3.13
release.

1) I still have issu with configure.in and mico/util.h, even with '-frepo'
disabled (suggestion from last year ;) )

g++ -I../include -O2 -Wall -Wwrite-strings -fno-strict-aliasing
-D_REENTRANT -D_GNU_SOURCE -DPIC -fPIC -c codec.cc -o codec.pic.o
In file included from /usr/include/math.h:71,
from ../include/mico/os-math.h:281,
from any.cc:41:
/usr/include/bits/mathcalls.h:205: error: declaration of `int
finite(double) throw ()' throws different exceptions
../include/mico/util.h:222: error: than previous declaration `int
finite(double)'

Once configure.in changed, I ran:
$ autoheader
$ autoconf
$ make

Here some line from the config.log file:
configure:15742: checking for finite
configure:15798: gcc -o conftest -O2 -Wall conftest.c -lreadline
-lncurses -ldl -lm >&5
configure:15805: $? = 0
configure:15827: result: yes

configure:38321: checking for finite prototype
configure:38345: result: no
autoheader (GNU Autoconf) 2.63
g++ (GCC) 3.4.6
2) I've change ENABLE_OTS to USE_OTS to be in line with all other services


Any idea for the util.h problem ?
Thanks all
Regards

Laurent Marzullo
Karel Gardas
2009-07-01 08:16:58 UTC
Permalink
Post by l***@marzu.org
Hello,
I'm working again on the CosTransactions services for MICO, and, for now,
I'm reporting development made on the 2.3.12 last year to the 2.3.13
release.
1) I still have issu with configure.in and mico/util.h, even with '-frepo'
disabled (suggestion from last year ;) )
g++ -I../include -O2 -Wall -Wwrite-strings -fno-strict-aliasing
-D_REENTRANT -D_GNU_SOURCE -DPIC -fPIC -c codec.cc -o codec.pic.o
In file included from /usr/include/math.h:71,
from ../include/mico/os-math.h:281,
/usr/include/bits/mathcalls.h:205: error: declaration of `int
finite(double) throw ()' throws different exceptions
../include/mico/util.h:222: error: than previous declaration `int
finite(double)'
Interesting. This is FC11 + GNU C++ 4.4.0?
Post by l***@marzu.org
$ autoheader
$ autoconf
$ make
Please no! Rather install autoconf-2.13 and use:

$ ./bootstrap.sh
$ make

bootstrap just deals with autoconf so if you also need autoheader please
use the one provided by autoconf-2.13.

Thanks,
Karel
--
Karel Gardas ***@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
l***@marzu.org
2009-07-01 08:38:11 UTC
Permalink
On Wed, 01 Jul 2009 10:16:58 +0200, Karel Gardas
Post by Karel Gardas
Interesting. This is FC11 + GNU C++ 4.4.0?
no, it was on a gentoo ... I'vent the gcc version right now, but surely
one of the last 4.3 or 4.4.
Post by Karel Gardas
Post by l***@marzu.org
$ autoheader
$ autoconf
$ make
$ ./bootstrap.sh
$ make
Hum ... ok. After installing autoconf-2.13, the 'finite' prototype
problem
disapear. Just a problem of autoconf version.

Thanks
Laurent Marzullo

Loading...