On Aug 28, 2009, at 2:33 PM, Igor Peshansky wrote:

> Jim LaGrone <jlagr...@cs.uh.edu> wrote on 08/28/2009 08:51:06 AM:
>
>> System info:
>>
>> Intel Core2Duo
>> CentOS 5.2 (inside VMWare Fusion on a Mac)
>> Apache Ant version 1.7.1 compiled on June 27 2008
>> java version "1.5.0_19"
>>
>> X10 info:
>>
>> svn co https://x10.svn.sourceforge.net/svnroot/x10/branches/x10-1.7
>>
> http://dist.codehaus.org/x10/binaryReleases/1.7.6/pgas-1.7.6_linux_x86.tgz
>>
>> After
>>
>>>   export LOCAL_POLYGLOT_JAR=../polyglot/lib/polyglot-epl.jar
>>
>>
>> and
>>
>>>   cd polyglot && ant clobber eclipse-plugin-jar
>>
>>
>> this
>>
>>>   cd x10.dist && ant distclean dist
>>
>>
>> returns the following:
>>
>>
>>> build-cpp:
>>>    [exec] g++ -g -DX10_USE_BDWGC  -I/home/jlagrone/x10-1.7/
>>> x10.dist//include -I. -I/home/jlagrone/x10-1.7/x10.runtime.17/src-
>>> cpp/bdwgc/install/include -Igen -ansi -pedantic -Wall -Wextra -Wno-
>>> long-long -Wno-unused-parameter -pthread   -c -o x10/lang/Fun.o x10/
>>> lang/Fun.cc
>>>    [exec] Regenerating XRX cc/h/inc files
>>>    [exec] mkdir -p gen
>>>    [exec] cd ../src-x10 && find * -name .svn -prune -o -name \*.x10
>>> -print | \
>>>    [exec]        xargs "/home/jlagrone/x10-1.7/x10.dist"/bin/x10c+ 
>>> + -
>
>>> c -J-ea -rtdev -disable CheckNativeAnnotations -commandlineonly -
>>> sourcepath . -d ../src-cpp/gen
>>>    [exec] In file included from ./x10aux/serialization.h:7,
>>>    [exec]                  from ./x10/lang/Object.h:9,
>>>    [exec]                  from x10/lang/Fun.cc:5:
>>>    [exec] ./x10aux/pgas.h:13:35: error: x10/pgasrt_x10.h: No such
>>> file or directory
>>>    [exec] ./x10aux/pgas.h: In function ‘void x10aux::barrier()’:
>>>    [exec] ./x10aux/pgas.h:39: error: ‘x10rt_barrier’ was not
>>> declared in this scope
>>>    [exec] ./x10aux/pgas.h: In function ‘x10_int
>>> x10aux::num_places()’:
>>>    [exec] ./x10aux/pgas.h:43: error: ‘x10rt_nplaces’ was not
>>> declared in this scope
>>>    [exec] ./x10aux/pgas.h: In function ‘void x10aux::event_probe()’:
>>>    [exec] ./x10aux/pgas.h:47: error: ‘x10rt_probe’ was not declared
>>> in this scope
>>>    [exec] ./x10aux/pgas.h: In function ‘x10_int x10aux::here()’:
>>>    [exec] ./x10aux/pgas.h:51: error: ‘x10rt_here’ was not declared
>>> in this scope
>>>    [exec] ./x10aux/pgas.h: In function ‘void x10aux::shutdown()’:
>>>    [exec] ./x10aux/pgas.h:67: error: ‘x10rt_finalize’ was not
>>> declared in this scope
>>>    [exec] make: *** [x10/lang/Fun.o] Error 1
>>>    [exec] make: *** Waiting for unfinished jobs....
>>>    [exec] touch gen/all-cpp-generated
>>>
>>> BUILD FAILED
>>> /home/jlagrone/x10-1.7/x10.dist/build.xml:141: The following error
>>> occurred while executing this line:
>>> /home/jlagrone/x10-1.7/x10.runtime.17/build.xml:205: exec  
>>> returned: 2
>>>
>>> Total time: 4 minutes 53 seconds
>>
>> Any suggestions?
>
> The build cannot find the PGAS headers.
>
> Did you untar the corresponding build of PGAS into x10.dist?


I did it again.

        jlagr...@centos:x10.dist$ tar xvf ~/pgas-1.7.6_linux_x86.tgz
        bin/
        bin/launcher
        bin/daemon
        bin/manager
        include/
        include/x10/
        include/x10/pgasrt_x10.h
        include/x10/x10.h
        include/pgasrt_hbrd.h
        include/pgasrt_misc.h
        include/xlupc_types.h
        include/pgasrt.h
        include/pgasrt_types.h
        include/pgasrt_tsp.h
        include/pgasrt_smp.h
        include/pgasrt_config.h
        include/pgasrt_tspcoll.h
        include/pgasrt_smpcoll.h
        include/pgasrt_hbrdcoll.h
        lib/
        lib/libupcrts_sockets.a
        lib/libxlpgas_sockets.a

then cd x10.dist && ant distclean dist yields

      [exec]                  from x10/lang/Fun.cc:5:
      [exec] ./x10aux/pgas.h:13:35: error: x10/pgasrt_x10.h: No such  
file or directory
      [exec] ./x10aux/pgas.h: In function ‘void x10aux::barrier()’:
      [exec] ./x10aux/pgas.h:39: error: ‘x10rt_barrier’ was not  
declared in this scope
      [exec] ./x10aux/pgas.h: In function ‘x10_int  
x10aux::num_places()’:
      [exec] ./x10aux/pgas.h:43: error: ‘x10rt_nplaces’ was not  
declared in this scope
      [exec] ./x10aux/pgas.h: In function ‘void x10aux::event_probe()’:
      [exec] ./x10aux/pgas.h:47: error: ‘x10rt_probe’ was not declared  
in this scope
      [exec] ./x10aux/pgas.h: In function ‘x10_int x10aux::here()’:
      [exec] ./x10aux/pgas.h:51: error: ‘x10rt_here’ was not declared  
in this scope
      [exec] ./x10aux/pgas.h: In function ‘void x10aux::shutdown()’:
      [exec] ./x10aux/pgas.h:67: error: ‘x10rt_finalize’ was not  
declared in this scope
      [exec] make: *** [x10/lang/Fun.o] Error 1
      [exec] make: *** Waiting for unfinished jobs....
      [exec] make: *** [gen/all-cpp-generated] Terminated


Any suggestions?


------------------------------------------------------------------------------
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