Page 1 of 1

Bad Interaction of 5.4 with Webroot and "out of space" error

Posted: Wed Jan 15, 2014 3:42 am
by 91458
I recently upgraded from 5.3 to 5.4 (downloaded the installation executable and unpacked, etc.( on my Windows 7 64-bit box.
The version of g++ is that supplied with the codelite installation.

I have a simple program (from one of these teach yourself C++ books) where I call a void function. In that function it simply writes two statements to output then returns.

When I build this code, I see the following in the "output view" window:

C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f Makefile"
"----------Building project:[ Project5d - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/Mark/CPP_Project1/Project5d'
g++ -o ./Debug/Project5d @"Project5d.txt" -L.
mingw32-make.exe[1]: Leaving directory 'C:/Users/Mark/CPP_Project1/Project5d'
0 errors, 0 warnings

When I run the program, the output window only shows the "Hit any key to continue" and an error from Webroot (my antivirus)
appears saying I have a W32.Obfuscated.Gen "infection". That this was not detected during my nightly scan seems suspicious.
I tend to suspect that something in Webroot is not playing nicely with something in Codelite as I did not see this behaviour
in version 5.3.

If I turn off the "Real Time Shield" in Webroot, I see the following in my output view of the build:

C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f Makefile"
"----------Building project:[ Project5d - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/Mark/CPP_Project1/Project5d'
g++ -o ./Debug/Project5d @"Project5d.txt" -L.
c:/mingw-4.8.1/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link failed: No space left on device
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [Debug/Project5d] Error 1
Project5d.mk:80: recipe for target 'Debug/Project5d' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/Mark/CPP_Project1/Project5d'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
0 errors, 0 warnings

I checked my disk space and I currently have 167GB used and 445 GB free. Clearly I have enough space.
Despite the error, I can run the executable produced, but receive the same error as above.

For completeness, here are environmental variables set:

CodeLiteDir=C:\Program Files (x86)\CodeLite
UNIT_TEST_PP_SRC_DIR=C:\UnitTest++-1.3
SHELL=CMD.EXE

The build settings are the defaults that are written when the "Load Defaults..." button is pressed.

I have tried totally uninstalling Codelite5.4 then re-installing it. But that seems to have no effect.

Thanks for any help...

Re: Bad Interaction of 5.4 with Webroot and "out of space" e

Posted: Wed Jan 15, 2014 8:37 am
by eranif
The way I see it, its either your anti virus software or the MinGW compiler.
Try disabling your virus software completely and rebuild.
In any case, its not codelite error

Eran