Hi Sascha, This is probably fixed in trunk now, but it doesn't hurt to have more test cases. So please send it to me.
Thanks Mandana Mandana Vaziri IBM T. J. Watson Research Center http://www.research.ibm.com/people/m/mvaziri/ Sascha Roloff <sascha.rol...@googlemail.com> wrote on 09/02/2011 10:41:49 AM: > From: Sascha Roloff <sascha.rol...@googlemail.com> > To: Mailing list for users of the X10 programming language <x10- > us...@lists.sourceforge.net> > Date: 09/02/2011 10:50 AM > Subject: Re: [X10-users] Project references in X10DT > > Hi Mandana, > > thank you for your fast reply. Actually, my code is only a testcode > in order to test the project references, but there occurs the same > problem like in the bigger project. So I would assume that it's not > dependent on the actual project. I can send you my testcode, where > the error occurs. > > Thanks, > Sascha > > 2011/9/1 Mandana Vaziri <mvaz...@us.ibm.com> > > > > > Hi Sascha, > > > > Actually if you could send me your code (if that's ok with you) in the next > > few days that will be very helpful, because we are getting ready to do some > > testing for the upcoming release. The fact that the editor doesn't complain > > for you seems to be a bug, so I'd like to fix that as well. > > > > I appreciate your help. > > > > Mandana > > > > Mandana Vaziri > > IBM T. J. Watson Research Center > > http://www.research.ibm.com/people/m/mvaziri/ > > > > > > > > > > Mandana Vaziri/Watson/IBM@IBMUS wrote on 09/01/2011 08:36:59 AM: > > > > > From: Mandana Vaziri/Watson/IBM@IBMUS > > > To: Mailing list for users of the X10 programming language <x10- > > > us...@lists.sourceforge.net> > > > Date: 09/01/2011 08:38 AM > > > Subject: Re: [X10-users] Project references in X10DT > > > > > > > > > Hi Sascha, > > > > > > We didn't have support for dependencies between multiple projects before > > in > > > X10DT. This support has been added in trunk, so if you have a development > > > environment for X10DT, you could test and see if it works there. If not, > > > I'd be happy to test this for you. Please send me (not to the whole list) > > a > > > zip of your projects and I'll see if this works now. This feature will be > > > in the upcoming release. > > > > > > Thanks, > > > > > > Mandana > > > > > > Mandana Vaziri > > > IBM T. J. Watson Research Center > > > http://www.research.ibm.com/people/m/mvaziri/ > > > > > > > > > > > > > > > Sascha Roloff <sascha.rol...@googlemail.com> wrote on 09/01/2011 > > 04:32:13 > > > AM: > > > > > > > From: Sascha Roloff <sascha.rol...@googlemail.com> > > > > To: Mailing list for users of the X10 programming language <x10- > > > > us...@lists.sourceforge.net> > > > > Date: 09/01/2011 04:33 AM > > > > Subject: [X10-users] Project references in X10DT > > > > > > > > Dear list, > > > > > > > > I use the X10DT for my X10 developments. One project contains the code > > > for a > > > > library. > > > > Another project shall use this library and added it to the build path > > by > > > > using a project > > > > reference. In the editor, there is no error shown. The library > > functions > > > are > > > > identified well. > > > > Unfortunately, when I want to compile my executable project > > (TestBench), > > > the > > > > following > > > > error occurs: > > > > > > > > Build initiated: type = auto; delta = ResourceDelta(/InvasICTest) > > > > Command used: g++ -g > > > > -I/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/include > > > > -I/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/stdlib/include > > > > -I/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509 > > > > -I. -Wno-long-long -Wno-unused-parameter -DX10_USE_BDWGC -pthread > > > > -I/scratch-local/roloff/workspace/InvasICTest/bin > > > > -I/scratch-local/roloff/workspace/InvasICTest/bin > > > > -I/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/include > > > > -I/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/stdlib/include > > > > /scratch-local/roloff/workspace/InvasICTest/bin/xxx_main_xxx.cc -o > > > > /scratch-local/roloff/workspace/InvasICTest/bin/TestBench > > > > -L/scratch-local/roloff/workspace/InvasICTest/bin > > > > -L/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/lib > > > > -L/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/stdlib > > > > -L/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/stdlib/lib > > > > -lInvasICTest > > > > -L/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/stdlib/lib > > > > -lx10 -lgc -lm -lpthread -lrt -ldl > > > > -L/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/lib > > > > -lx10rt_standalone -Wl,--rpath > > > > -Wl,/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/stdlib/lib > > > > -Wl,--rpath > > > > -Wl,/scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/lib > > > > -Wl,-export-dynamic > > > > /tmp/ccyIAgMk.o:(.data+0x8): undefined reference to > > > > `TestBench::main > > > (x10aux::ref<x10::array::Array<x10aux::ref<x10::lang::String> > > > > > >)' > > > > /tmp/ccyIAgMk.o: In function `int > > > x10aux::template_main<x10::lang::Runtime, > > > > TestBench>(int, char**)': > > > > /scratch-local/roloff/opt/x10dt/plugins/ > > > > x10.dist.linux.x86_64.fragment_2.2.0.201106021509/stdlib/include/ > > > > x10aux/bootstrap.h:148: > > > > undefined reference to > > > > `TestBench::main > > > (x10aux::ref<x10::array::Array<x10aux::ref<x10::lang::String> > > > > > >)' > > > > collect2: ld gab 1 als Ende-Status zurück > > > > > > > > When I don't use the library in my code, the project compiles. What is > > > the > > > > problem? > > > > Can somebody help me? > > > > > > > > Best, > > > > Sascha > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > Special Offer -- Download ArcSight Logger for FREE! > > > > Finally, a world-class log management solution at an even better > > > > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > > > > download Logger. Secure your free ArcSight Logger TODAY! > > > > http://p.sf.net/sfu/arcsisghtdev2dev > > > > _______________________________________________ > > > > X10-users mailing list > > > > X10-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/x10-users > > > > > > > > ------------------------------------------------------------------------------ > > > > > Special Offer -- Download ArcSight Logger for FREE! > > > Finally, a world-class log management solution at an even better > > > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > > > download Logger. Secure your free ArcSight Logger TODAY! > > > http://p.sf.net/sfu/arcsisghtdev2dev > > > _______________________________________________ > > > X10-users mailing list > > > X10-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/x10-users > > > > > ------------------------------------------------------------------------------ > > Special Offer -- Download ArcSight Logger for FREE! > > Finally, a world-class log management solution at an even better > > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > > download Logger. Secure your free ArcSight Logger TODAY! > > http://p.sf.net/sfu/arcsisghtdev2dev > > _______________________________________________ > > X10-users mailing list > > X10-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/x10-users > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users