Hi:
No problem with X10-2.2.2.2_linux_x86.tgz  and X10-2.2.2_linux_x86.tgz 
I follow the next steps:

tar xfv x10-2.2.2.2_linux_x86.tgz
cd samples/
export JAVA_HOME=/root/jdk1.6.0_21/
../bin/x10c++ HelloWorld.x10 -o hello
./hello

My platform:
GCC  4.4.1
LD     2.16.1
Glibc 2.3.6
JDK 1.6.0_21

Maybe there's a problem with the libraries ...
Which version of JDK are you using?? 32 or 64 bits??
Which version of GCC, GLIBC and LD are you using??

What's the output of the command ldd??

ldd /home/users/lzuchenxy/programs/x10-2.2.2.1/stdlib/lib/libx10.so


Have a nice day!
Armando

--- El vie 20-abr-12, Ping Wen <wenping2...@gmail.com> escribió:

De: Ping Wen <wenping2...@gmail.com>
Asunto: [X10-users] Compile Question
A: x10-users@lists.sourceforge.net
Fecha: viernes, 20 de abril de 2012, 9:05

Hi,    I have encountered a problem when compile the x10 code like this: x10c++ 
Hello.x10 -o hello. The error is :x10c++: 
/home/users/lzuchenxy/programs/x10-2.2.2.1/stdlib/lib/libx10.so: file not 
recognized: File format not recognized    
     collect2: ld returned 1 exit status    x10c++: Non-zero return code: 12 
errors.The os platform is:SUSE Linux Enterprise Server 10 (x86_64)The x10 
version is:  x10-2.2.2.1_linux_x86_64.tgz

Please any one help me...-- 
With best regards,
Wen Ping.
wenping2...@gmail.com



-----Sigue archivo adjunto-----

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
-----Sigue archivo adjunto-----

_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to