Bill Larson <ewlars...@yahoo.com> wrote on 10/06/2012 12:14:30 PM:

>
> I'm trying to compile a hello world X10 C++ backend program but get
> the following error:
>

Hi,

Sorry for the slow response.

It looks like Windows is refusing to remove Hello.exe, so the link step is
failing.  This suggests that Windows thinks that Hello.exe is still in use
(for example, a prior execution of it is still running).  I'd try looking
in the task manager to see if that is true, and if so killing it.

--dave


> //////////////////// Start /////////////////////
> Build initiated: type = auto; delta = ResourceDelta(/Hello)
> Command used: g++-4 -g -I/cygdrive/c/Users/Bill/Documents/CS524/X10/
> Compiler/x10dt/plugins/x10.dist.win32.x86.fragment_2.2.3.
> 201208281658/include -I/cygdrive/c/Users/Bill/Documents/CS524/X10/
> Compiler/x10dt/plugins/x10.dist.win32.x86.fragment_2.2.3.
> 201208281658/stdlib/include-dbg -I/cygdrive/c/Users/Bill/Documents/
> CS524/X10/Compiler/x10dt/plugins/x10.dist.win32.x86.fragment_2.2.3.
> 201208281658/stdlib/include -I/cygdrive/c/Users/Bill/Documents/
> CS524/X10/Compiler/x10dt/plugins/x10.dist.win32.x86.fragment_2.2.3.
> 201208281658 -I. -Wno-long-long -Wno-unused-parameter -DHOMOGENEOUS
> -msse2 -mfpmath=sse -DX10_USE_BDWGC -msse2 -mfpmath=sse -I/cygdrive/
> c/Users/Bill/Documents/CS524/X10/Compiler/x10dt/workspace/Hello/bin
> -c /cygdrive/c/Users/Bill/Documents/CS524/X10/Compiler/x10dt/
> workspace/Hello/bin/Hello.cc -o /cygdrive/c/Users/Bill/Documents/
> CS524/X10/Compiler/x10dt/workspace/Hello/bin/Hello.o
> /cygdrive/c/Users/Bill/Documents/CS524/X10/Compiler/x10dt/workspace/
> Hello/bin/Hello.cc:117:6: warning: converting to non-pointer type â
> €˜uint32_t’ from NULL
> ar: creating libHello.a
> Command used: g++-4 -g -I/cygdrive/c/Users/Bill/Documents/CS524/X10/
> Compiler/x10dt/plugins/x10.dist.win32.x86.fragment_2.2.3.
> 201208281658/include -I/cygdrive/c/Users/Bill/Documents/CS524/X10/
> Compiler/x10dt/plugins/x10.dist.win32.x86.fragment_2.2.3.
> 201208281658/stdlib/include-dbg -I/cygdrive/c/Users/Bill/Documents/
> CS524/X10/Compiler/x10dt/plugins/x10.dist.win32.x86.fragment_2.2.3.
> 201208281658/stdlib/include -I/cygdrive/c/Users/Bill/Documents/
> CS524/X10/Compiler/x10dt/plugins/x10.dist.win32.x86.fragment_2.2.3.
> 201208281658 -I. -Wno-long-long -Wno-unused-parameter -DHOMOGENEOUS
> -msse2 -mfpmath=sse -DX10_USE_BDWGC -msse2 -mfpmath=sse -I/cygdrive/
> c/Users/Bill/Documents/CS524/X10/Compiler/x10dt/workspace/Hello/bin
> -I/cygdrive/c/Users/Bill/Documents/CS524/X10/Compiler/x10dt/
> workspace/Hello/bin /cygdrive/c/Users/Bill/Documents/CS524/X10/
> Compiler/x10dt/workspace/Hello/bin/xxx_main_xxx.cc -o /cygdrive/c/
> Users/Bill/Documents/CS524/X10/Compiler/x10dt/workspace/Hello/bin/
> Hello.exe -L/cygdrive/c/Users/Bill/Documents/CS524/X10/Compiler/
> x10dt/workspace/Hello/bin -lHello -Wl,--start-group -L/cygdrive/c/
> Users/Bill/Documents/CS524/X10/Compiler/x10dt/plugins/
> x10.dist.win32.x86.fragment_2.2.3.201208281658/stdlib/lib-dbg -L/
> cygdrive/c/Users/Bill/Documents/CS524/X10/Compiler/x10dt/plugins/
> x10.dist.win32.x86.fragment_2.2.3.201208281658/stdlib/lib -lx10 -lgc
> -lm -lpthread -ldl -Wl,--end-group -L/cygdrive/c/Users/Bill/
> Documents/CS524/X10/Compiler/x10dt/plugins/
> x10.dist.win32.x86.fragment_2.2.3.201208281658/lib -lx10rt_sockets
-lpthread
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> reopening /cygdrive/c/Users/Bill/Documents/CS524/X10/Compiler/x10dt/
> workspace/Hello/bin/Hello.exe: Device or resource busy
>
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> final link failed: Device or resource busy
> collect2: ld returned 1 exit status
>



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to