Welcome! Log In Create A New Profile

Advanced

yet another gmake problem (Yagp) - solved

Posted by bobj 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
yet another gmake problem (Yagp) - solved
March 06, 2006 08:18AM
Hi Vaughn

This simply indicates that your server is still running (as you point out). When windows is executing a program (eg server.exe) it "locks" the file to prevent writes to that file until the process terminates. So, as you have probably discovered, when you kill your server process, you are able to rebuild server.exe successfully. Its a bit silly really - call it an operating system feature if you like ... smile

Bob

PS. I am cross-posting to the forum on osprey so we can all benefit.

vaughn preddy wrote:
> While running a server on one command prompt
> I used the gmake clean or gmake on another client command prompt.
>
> This is the error I got: -
>
> C:\unisa\mico\demo\poa\account-1>gmake
> g++ -mthreads -Ic:/unisa/mico/include -D_REENTRANT -mthreads
> -Lc:/unisa/mico/lib
> s account.o client.o c:/unisa/mico/bin/mico2311.dll -lmicocoss2.3.11
> -lpthread -
> o client
> g++ -mthreads -Ic:/unisa/mico/include -D_REENTRANT -mthreads
> -Lc:/unisa/mico/lib
> s account.o server.o c:/unisa/mico/bin/mico2311.dll -lmicocoss2.3.11
> -lpthread -
> o server
> c:\unisa\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe:
> cannot open output file server.exe: Permission denied
> gmake: *** [server] Error 1
>
> C:\unisa\mico\demo\poa\account-1>gmake clean
> rm -f account.cc account.h Bank.ref *.o core client.exe server.exe *~
> .depend
> rm: server.exe: Permission denied
> gmake: *** [clean] Error 1
>
> Please help
> Vaughn Preddy
> Student Number 36065102
Sorry, only registered users may post in this forum.

Click here to login