On 12/28/05, Boriss Mejias <[EMAIL PROTECTED]> wrote: > hobbes$ make depend > hobbes$ make bootstrap > hobbes$ make && make install >
Sorry in advance for a Linux-newbie question: I'm on FC4, trying to build Mozart from source as Boriss described in his previous post. I'm using GCC 4.0.1 and getting compile errors in the source code; for example FSetValue in mozart/platform/emulator/fset.hh wouldn't compile until I added a forward declaration of class FSetConstraint. Currently I'm at the following error: make bootstrap [...] gmake[2]: Entering directory `/tmp/build/platform/emulator' c++ -DHAVE_CONFIG_H -I. -I/tmp/mozart/platform/emulator -DSITE_PROPERTY -fno-exceptions -fno-implicit-templates -g3 -DINTERFACE -fno-inline -fno-default-inline -fno-inline-functions -c -o var_base.o /tmp/mozart/platform/emulator/var_base.cc /tmp/mozart/platform/emulator/mozart_cpi.hh:1217: error: 'OZ_Boolean OZ_CtVar::tell()' is private /tmp/mozart/platform/emulator/var_ct.hh:41: error: within this context gmake[2]: *** [var_base.o] Error 1 gmake[2]: Leaving directory `/tmp/build/platform/emulator' gmake[1]: *** [bootstrap] Error 1 gmake[1]: Leaving directory `/tmp/build/platform' make: *** [bootstrap] Error 1 [EMAIL PROTECTED] build]# c++ --version c++ (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I'm kind of surprised because both the previous error and the current one are in what seems to me to be valid C++ code. Do you think I ran configure wrong, or am I using an incompatible version of the compiler? Or should I just fix the source, however-many times it throws an error? Thanks once again, Max -- Be pretty if you are, Be witty if you can, But be cheerful if it kills you. _________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
