WangChen <wang...@163.com> wrote on 09/21/2014 09:12:52 AM:
>
> Hi, i’m compiling my code and get the following errors.
> But I compiling the same code with no problem on my Mac10.9.4 and
Archlinux.
>
> x10c++: /home/finance/x10-2.4.3.2/stdlib/lib/libx10.so: undefined
> reference to `std::basic_ostream<char, std::char_traits<char> >&
> std::__ostream_insert<char, std::char_traits<char> >
> (std::basic_ostream<char, std::char_traits<char> >&, char const*,
> long)@GLIBCXX_3.4.9'
> collect2: ld returned 1 exit status
> x10c++: Non-zero return code: 1
>
> I use x10-2.4.3.2 for linux x86_64
>
> uname -a:
> Linux node85 2.6.18-308.24.1.el5_TJUHPCC #1 SMP Tue Jul 16 18:07:41
> CST 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> g++ —version:
> g++ (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)
>
Hi,
My first wild guess would be a mismatch between the libstdc++
available on your machine, and the one the pre-built X10 libx10.so is
expecting. Our build machine looks fairly similar to yours, so I'm not
that confident in my guess. But it seems possible.
Our build machine is RedHat 6.5. If I do rpm -qa | grep libstdc++, I
see:
[dgrove@triloka1 ~]$ rpm -qa | grep libstdc++
libstdc++-4.4.7-4.el6.x86_64
libstdc++-4.4.7-4.el6.i686
libstdc++-devel-4.4.7-4.el6.x86_64
What do you see on your linux box?
--dave
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users