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

Re: [Condor-users] 7.1.1 compile issues with condor_c++_util



It's possible that the system headers on those platforms #define something that is interfering with the proper definition of Credential.

You can poke around "g++ -E -I.. <snip>" to see.

You cannot compile Condor without its core C++ utilities, so you need condor_c++_util.

Best,


matt

Craig Bruce wrote:
I'm having trouble building 7.1.1 on several platforms. On Mac OS X 10.4
PowerPC (gcc 4.01) I get the same error as on openSUSE 10.2 x86 (gcc 4.1.2).
I believe condor_c++_util is a hard requirement so I can't build without it.
On openSUSE 11.0 x86_64 (gcc 4.2.1) a different error but, still within
condor_c++_util.

Any suggestions to how I might overcome these errors?

Thanks
Craig


Mac/PPC & Linux/x86:
cd condor_c++_util; make
g++ -I.. <snip>
c++_util_instantiate.o
classad_collection_types.h:157: warning: unused parameter 'Ad'
c++_util_instantiate.C:87: error: 'Credential' was not declared in this
scope
c++_util_instantiate.C:87: error: template argument 1 is invalid
simplelist.h: In member function 'bool SimpleList<ObjType>::Delete(const
ObjType&, bool) [with ObjType = float]':
c++_util_instantiate.C:51:   instantiated from here
simplelist.h:177: warning: comparing floating point with == or != is unsafe
simplelist.h: In member function 'bool SimpleList<ObjType>::IsMember(const
ObjType&) const [with ObjType = float]':
c++_util_instantiate.C:51:   instantiated from here
simplelist.h:244: warning: comparing floating point with == or != is unsafe
make[1]: *** [c++_util_instantiate.o] Error 1
make: *** [c++_util] Error 2

Linux/x86_64:
cd condor_c++_util; make
g++ -I.. <snip>
HashTable.h:210: warning: deprecated conversion from string constant to
Œchar*¹
HashTable.h: In member function Œvoid HashTable<Key,
Value>::resize_hash_table(int) [with Index = int, Value =
ProcFamilyDirectContainer*]¹:
c++_util_instantiate.C:86:   instantiated from here
HashTable.h:627: warning: deprecated conversion from string constant to
Œchar*¹
HashTable.h: In member function Œint HashTable<Key, Value>::addItem(const
Index&, const Value&) [with Index = int, Value =
ProcFamilyDirectContainer*]¹:
c++_util_instantiate.C:86:   instantiated from here
HashTable.h:297: warning: deprecated conversion from string constant to
Œchar*¹
make[1]: *** [c++_util_instantiate.o] Error 1
make[1]: Leaving directory `/root/condor-7.1.1/src/condor_c++_util'
make: *** [c++_util] Error 2


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/