This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

32 vs 34 libraries


Hi All,

I am trying to install mcmc++
(http://darwin.eeb.uconn.edu/mcmc++/mcmc++-1.2.tar.gz) using ./configure and
make (see error below). The culprit is the following line of code in file
lot.cpp:52

namespace lot_conditions {
BOOST_STATIC_ASSERT(sizeof(long) * CHAR_BIT == 32); 
}

I suspect this has to do with 64bits. Please help.

er@ubuntu:/usr/local/mcmc++$ sudo make
Making all in src
make[1]: Entering directory `/usr/local/mcmc++/src'
if g++ -DPACKAGE_NAME=\"mcmc++\" -DPACKAGE_TARNAME=\"mcmc++\"
-DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"mcmc++\ 1.2\"
-DPACKAGE_BUGREPORT=\"kent@darwin.eeb.uconn.edu\" -DPACKAGE=\"mcmc++\"
-DVERSION=\"1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOOR=1
-DHAVE_POW=1 -DHAVE_SQRT=1 -DHAVE_EXPM1=1 -DHAVE_ISNAN=1 -I.
-I/home/er/Documents/downloads/software/mcmc++-1.2/src -I.. -DNDEBUG
-I/usr/local/boost_1_34_1 -g -O2 -MT libmcmc___a-lot.o -MD -MP -MF
".deps/libmcmc___a-lot.Tpo" -c -o libmcmc___a-lot.o `test -f 'lot.cpp' ||
echo '/home/er/Documents/downloads/software/mcmc++-1.2/src/'`lot.cpp; \
then mv -f ".deps/libmcmc___a-lot.Tpo" ".deps/libmcmc___a-lot.Po"; else rm
-f ".deps/libmcmc___a-lot.Tpo"; exit 1; fi
/home/er/Documents/downloads/software/mcmc++-1.2/src/lot.cpp:52: error:
invalid application of âsizeofâ to incomplete type
âboost::STATIC_ASSERTION_FAILURE<false>â 
make[1]: *** [libmcmc___a-lot.o] Error 1
make[1]: Leaving directory `/usr/local/mcmc++/src'
make: *** [all-recursive] Error 1
__________________
dell dimension E520/intel core duo 2/82G965 Integrated Graphics
Controller/82562V 10/100 Network Connection/ubuntu 7.10/gnome 2.21.1/eclipse
SDK 3.2.2/cdt 3.1.1.20070321/gcc v4.1.3 

-- 
View this message in context: http://www.nabble.com/32-vs-34-libraries-tp15086906p15086906.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]