swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Installing Swarm on CentOS 5.2 AMD64 box


From: Gary Polhill
Subject: [Swarm-Support] Installing Swarm on CentOS 5.2 AMD64 box
Date: Wed, 29 Oct 2008 17:05:17 +0000

Hi,

I've run into difficulties compiling Swarm (retrieved from CVS today-20081029) 
on a CentOS 5.2 AMD64 box. From my earlier experience on another 64-bit box, 
I've compiled 32 bit libraries for Tcl/Tk/BLT and HDF, and obtained a 32 bit 
version of java-1.4.2. I configured with:

env CC="gcc -m32" ../../../nongui/src/swarm/configure 
--build=i586-unknown-linux-gnu --with-defaultdir=/usr --enable-shared 
--with-tcl=$HOME/32bit/lib --with-tclinclude=$HOME/32bit/include 
--with-tk=$HOME/32bit/lib --with-tkinclude=$HOME/32bit/include 
--with-bltdir=$HOME/32bit --with-hdf5dir=$HOME/32bit 
--with-jdkdir=$HOME/32bit/j2sdk1.4.2_16 --prefix=$HOME/gui

When I run make, it bails building libcollections.so.3.0.1 with:

/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/Array.o' is
 incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/Collection.
o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/InputStream
.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/Stream.o' i
s incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/List.o' is
incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/List_linked
.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/List_mlinks
.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/ListShuffle
r.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/Map.o' is i
ncompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/OrderedSet.
o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/OutputStrea
m.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/Set.o' is i
ncompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/Permutation
.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/StringObjec
t.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/collections
.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/predicates.
o' is incompatible with i386 output
.libs/Array.o: In function `-[Array(c) __I:Creating]':
/home/policygrid/gui/build/swarm/src/collections/../../../../../nongui/src/swar
m/src/collections/Array.m:43: undefined reference to `Creating'
.libs/Array.o: In function `-[Array(c) __I:Setting]':
/home/policygrid/gui/build/swarm/src/collections/../../../../../nongui/src/swar
m/src/collections/Array.m:204: undefined reference to `Setting'
.libs/Array.o: In function `-[Array(c) __I:Using]':
/home/policygrid/gui/build/swarm/src/collections/../../../../../nongui/src/swar
m/src/collections/Array.m:327: undefined reference to `Using'
.libs/Array.o: In function `-[ArrayIndex(c) __I:Creating]':
/home/policygrid/gui/build/swarm/src/collections/../../../../../nongui/src/swar
m/src/collections/Array.m:536: undefined reference to `Creating'
.libs/Array.o: In function `-[ArrayIndex(c) __I:Using]':
/home/policygrid/gui/build/swarm/src/collections/../../../../../nongui/src/swar
m/src/collections/Array.m:537: undefined reference to `Using'
.libs/Array.o: In function `-[ArrayIndex(c) _compare:]':

 [...snip...]

.libs/predicates.o: In function `__objc_gnu_init':
/home/policygrid/gui/build/swarm/src/collections/../../../../../nongui/src/swar
m/src/collections/predicates.m:120: undefined reference to `__objc_exec_class'
.libs/Array.o:(.data.rel+0x10): undefined reference to `__objc_class_name_Proto
col'
.libs/Collection.o:(.data.rel+0x10): undefined reference to `__objc_class_name_
Object_s'
.libs/Collection.o:(.data.rel+0x18): undefined reference to `__objc_class_name_
CreateDrop_s'
.libs/Collection.o:(.data.rel+0x20): undefined reference to `__objc_class_name_
Protocol'
.libs/InputStream.o:(.data.rel+0x0): undefined reference to `__objc_class_name_
CreateDrop_s'
.libs/InputStream.o:(.data.rel+0x8): undefined reference to `__objc_class_name_
Protocol'
.libs/Stream.o:(.data.rel+0x0): undefined reference to `__objc_class_name_Creat
eDrop_s'
.libs/Stream.o:(.data.rel+0x10): undefined reference to `__objc_class_name_Prot
ocol'
.libs/List.o:(.data.rel+0x10): undefined reference to `__objc_class_name_Protoc
ol'
.libs/List_linked.o:(.data.rel+0x18): undefined reference to `__objc_class_name
_Protocol'
.libs/List_mlinks.o:(.data.rel+0x18): undefined reference to `__objc_class_name
_Protocol'
.libs/ListShuffler.o:(.data.rel+0x0): undefined reference to `__objc_class_name
_CreateDrop_s'
.libs/ListShuffler.o:(.data.rel+0x8): undefined reference to `__objc_class_name
_Protocol'
.libs/Map.o:(.data.rel+0x30): undefined reference to `__objc_class_name_Protoco
l'
.libs/OrderedSet.o:(.data.rel+0x10): undefined reference to `__objc_class_name_
Protocol'
.libs/OutputStream.o:(.data.rel+0x0): undefined reference to `__objc_class_name
_CreateDrop_s'
.libs/OutputStream.o:(.data.rel+0x8): undefined reference to `__objc_class_name
_Protocol'
.libs/Set.o:(.data.rel+0x18): undefined reference to `__objc_class_name_Protoco
l'
.libs/Permutation.o:(.data.rel+0x8): undefined reference to `__objc_class_name_
CreateDrop_s'
.libs/Permutation.o:(.data.rel+0x10): undefined reference to `__objc_class_name
_Protocol'
.libs/StringObject.o:(.data.rel+0x0): undefined reference to `__objc_class_name
_CreateDrop_s'
.libs/StringObject.o:(.data.rel+0x8): undefined reference to `__objc_class_name
_Protocol'
.libs/collections.o:(.data.rel+0x560): undefined reference to `__objc_class_nam
e_Module_super_'
.libs/collections.o:(.data.rel+0x568): undefined reference to `__objc_class_nam
e_Protocol'
.libs/predicates.o:(.data.rel+0x0): undefined reference to `__objc_class_name_P
rotocol'
collect2: ld returned 1 exit status
make[5]: *** [libcollections.la] Error 1
make[5]: Leaving directory `/home/policygrid/gui/build/swarm/src/collections'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/policygrid/gui/build/swarm/src/collections'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/policygrid/gui/build/swarm/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/policygrid/gui/build/swarm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/policygrid/gui/build/swarm'
make: *** [all] Error 2

It looks like my request for a 32-bit build has been ignored, and perhaps there 
are problems linking with the Obj-C library?
Any suggestions?

Thanks,
Gary



Gary Polhill
Research Scientist
The Macaulay Institute
Craigiebuckler
Aberdeen AB15 8QH
UK
Tel: +44 1224 395280
Fax: +44 1224 395010
e-mail: address@hidden
http://www.macaulay.ac.uk/
http://www.macaulay.ac.uk/fearlus/
http://www.policygrid.org/


-- 
Please note that the views expressed in this e-mail are those of the
sender and do not necessarily represent the views of the Macaulay
Institute. This email and any attachments are confidential and are
intended solely for the use of the recipient(s) to whom they are
addressed. If you are not the intended recipient, you should not read,
copy, disclose or rely on any information contained in this e-mail, and
we would ask you to contact the sender immediately and delete the email
from your system. Thank you.
Macaulay Institute and Associated Companies, Macaulay Drive,
Craigiebuckler, Aberdeen, AB15 8QH.




reply via email to

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