Ping Wen <wenping2...@gmail.com> wrote on 04/20/2012 10:05:19 AM:
> 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: 1
> 2 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
>
That's an error message from the link step (ld, invoked by g++, invoked by
x10c++). Perhaps your libx10.so is corrupted? If you do
file /home/users/lzuchenxy/programs/x10-2.2.2.1/stdlib/lib/libx10.so
what does it say?
It should say something like:
[dgrove@wahtutca Desktop]$ file ~/x10-trunk/x10.dist/stdlib/lib/libx10.so
/home/dgrove/x10-trunk/x10.dist/stdlib/lib/libx10.so: ELF 64-bit LSB shared
object, x86-64, version 1 (SYSV), dynamically linked, not stripped
--dave
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users