I'm still having problems with C++ backend. I get this error for (it  
looks like) every file of source code.

      from ./BitmapHeader.h:4,
      from BitmapHeader.cc:1:
      /home/jlagrone/x10-1.7/x10.dist/../x10.runtime.17/src-cpp/x10aux/ 
pgas.h: In function ‘void x10aux::barrier()’:
      /home/jlagrone/x10-1.7/x10.dist/../x10.runtime.17/src-cpp/x10aux/ 
pgas.h:39: error: ‘x10rt_barrier’ was not declared in this scope
x10c++: Non-zero return code: 1
2 errors.


I am using:

        > x10c++ -version
        x10c++ version 1.7.6
        Polyglot compiler toolkit version 3.1.0 (2009-06-11 14:44:14)

and I think I am using

        
http://dist.codehaus.org/x10/binaryReleases/1.7.5/pgas-1.7.5_linux_x86_64.tgz

I have the X10LIB pointing to the ~/x10-1.7/x10.dist directory.

On Aug 26, 2009, at 10:48 AM, Igor Peshansky wrote:

> Jim LaGrone <jlagr...@cs.uh.edu> wrote on 08/26/2009 11:18:07 AM:
>
>> I'm receiving the following when building the C++ backend, but I get
>> no errors with Java backend.
>>
>>> x10c++ -d ../bin -commandlineonly *.x10 -
>> MAIN_CLASS=RUN_knowledgeFormation
>> x10c++: /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-
>> linux/bin/ld: cannot find -lupcrts_sockets
>>      collect2: ld returned 1 exit status
>> x10c++: Non-zero return code: 1
>> 2 errors.
>>
>>
>> I'm using the SVN 1.7, updated and rebuilt this morning, and
>> pgas-1.7.5_linux_x86_64.
>>
>> Any ideas?
>
> Jim, you need an older version of PGAS for the 1.7 branch.  You can  
> use
> the one on the 1.7.5 download page.  You may also need to set X10LIB  
> to
> point to the location where you unpacked PGAS, unless you put it in
> x10.dist.
>        Igor
> -- 
> Igor Peshansky  (note the spelling change!)
> IBM T.J. Watson Research Center
> XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
> X10: Parallel Productivity and Performance (http://x10.sf.net/)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to