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