tcsoccerman Posted June 25, 2007 Report Posted June 25, 2007 I've decided to make a topic for cleaning up ASSS so it compiles. i realized that when i first dl it and tried to compile it, it didn't even work...so... here it is. Here is my error when itried to compile(after some usage of the program, but still, no editin of any core modules) Error:Show/Hideprocess_begin C:\Do!@#$%^&*ents and Settings\Scott\My Do!@#$%^&*ents\aThe matrix\src\process_begin CreateProcess((null), uname -s, ...) failed. anyone know what that means?
Smong Posted June 25, 2007 Report Posted June 25, 2007 I'm not sure why this is in SDT and not general dev. Looking in src/os.mk:SYS_NAME := $(s!@#$%^&* uname -s) ifeq ($(SYS_NAME),) # if this fails, assume mingw. this is a hack to allow building in dev-c++. SYS_NAME := MINGW-dev-c++ endifThe error is due to these lines. Devcpp doesn't come with uname. However due to other peoples experience I think Devcpp is stopping on this error instead of continuing like what the makefile hopes will happen. You can try adding a # infront of the line "SYS_NAME := $(s!@#$%^&* uname -s)" or replace that entire line with "SYS_NAME := MINGW-dev-c++".
tcsoccerman Posted June 26, 2007 Author Report Posted June 26, 2007 That did the job, now there's only one error left:Compiler: Default compiler Executing make... make.exe -f "Makefile" all make.exe: *** virtual memory exhausted. Stop. Execution terminated does this have to do w/ my ram?
tcsoccerman Posted June 26, 2007 Author Report Posted June 26, 2007 According to my googling this has to do w/ something called "swap par!@#$%^&*ions"
Smong Posted June 26, 2007 Report Posted June 26, 2007 If you're using win xp and it was something to do with ram/virtual memory/free disk space then a little bubble would have popped up warning you, did you see one of those? When xp is low on memory it usually tries to create more virtual memory on your hard disk, which can fail if there's not enough free disk space.
tcsoccerman Posted June 26, 2007 Author Report Posted June 26, 2007 No, i'm not low on memory at all. Read SoloAces Post at MGB:Swap par!@#$%^&*ions are the virtual memory of the n*x families (Linux/UNIX/BSD). Swap par!@#$%^&*ions (or swap files on Windows, but these are called pagefiles) are used by the operating system to allocate memory in when there's no more place left on the hardware memory. I'm not sure if that error is really that accurate. But, read this guide to configure your system to make sure you have enough virtual memory. I did that, and now have max pagefiles on my harddrive and initial and max are equal.(read guide). still get that error though.
Samapico Posted June 26, 2007 Report Posted June 26, 2007 I've had a similar error when I had 2 files that included each other's header... causing it to compile infinitly. If you can check the build log, it might help you
tcsoccerman Posted June 26, 2007 Author Report Posted June 26, 2007 compile log: Compiler: Default compilerExecuting make...make.exe -f "Makefile" allmake.exe: *** virtual memory exhausted. Stop. Execution terminated
Samapico Posted June 26, 2007 Report Posted June 26, 2007 usually you can have a more detailed log... like: Spoiler! --Click here to view--1>------ Rebuild All started: Project: Samapico, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'Samapico', configuration 'Debug|Win32' 1>Compiling... 1>checkpoint.cpp 1>checkpointstack.cpp 1>c:\jeux\continuum\mervbot\src\samapico\spawn.h(11) : warning C4005: 'INI_NAME' : macro redefinition 1> c:\jeux\continuum\mervbot\src\settings.h(20) : see previous definition of 'INI_NAME' 1>command.cpp 1>c:\jeux\continuum\mervbot\src\samapico\spawn.h(11) : warning C4005: 'INI_NAME' : macro redefinition 1> c:\jeux\continuum\mervbot\src\settings.h(20) : see previous definition of 'INI_NAME' 1>c:\jeux\continuum\mervbot\src\samapico\command.cpp(214) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) 1>lvzdisplay.cpp 1>c:\jeux\continuum\mervbot\src\samapico\spawn.h(11) : warning C4005: 'INI_NAME' : macro redefinition 1> c:\jeux\continuum\mervbot\src\settings.h(20) : see previous definition of 'INI_NAME' 1>methods.cpp 1>c:\jeux\continuum\mervbot\src\samapico\spawn.h(11) : warning C4005: 'INI_NAME' : macro redefinition 1> c:\jeux\continuum\mervbot\src\settings.h(20) : see previous definition of 'INI_NAME' 1>c:\jeux\continuum\mervbot\src\samapico\methods.cpp(82) : warning C4996: 'strcat' was declared deprecated 1> c:\program files\microsoft visual studio 8\vc\include\string.h(78) : see declaration of 'strcat' 1> Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' 1>c:\jeux\continuum\mervbot\src\samapico\methods.cpp(88) : warning C4996: 'fopen' was declared deprecated 1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(234) : see declaration of 'fopen' 1> Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' 1>c:\jeux\continuum\mervbot\src\samapico\methods.cpp(119) : warning C4996: 'sprintf' was declared deprecated 1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf' 1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' 1>racecontext.cpp 1>c:\jeux\continuum\mervbot\src\samapico\spawn.h(11) : warning C4005: 'INI_NAME' : macro redefinition 1> c:\jeux\continuum\mervbot\src\settings.h(20) : see previous definition of 'INI_NAME' 1>c:\jeux\continuum\mervbot\src\samapico\racecontext.cpp(281) : warning C4244: 'argument' : conversion from '__w64 int' to 'const Uint32', possible loss of data 1>c:\jeux\continuum\mervbot\src\samapico\racecontext.cpp(290) : warning C4244: 'argument' : conversion from '__w64 int' to 'const Uint32', possible loss of data 1>racer.cpp 1>c:\jeux\continuum\mervbot\src\samapico\spawn.h(11) : warning C4005: 'INI_NAME' : macro redefinition 1> c:\jeux\continuum\mervbot\src\settings.h(20) : see previous definition of 'INI_NAME' 1>region.cpp 1>spawn.cpp 1>c:\jeux\continuum\mervbot\src\samapico\spawn.h(11) : warning C4005: 'INI_NAME' : macro redefinition 1> c:\jeux\continuum\mervbot\src\settings.h(20) : see previous definition of 'INI_NAME' 1>c:\jeux\continuum\mervbot\src\player.cpp(108) : warning C4996: 'strncpy' was declared deprecated 1> c:\program files\microsoft visual studio 8\vc\include\string.h(156) : see declaration of 'strncpy' 1> Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' 1>c:\jeux\continuum\mervbot\src\player.cpp(109) : warning C4996: 'strncpy' was declared deprecated 1> c:\program files\microsoft visual studio 8\vc\include\string.h(156) : see declaration of 'strncpy' 1> Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' 1>timerms.cpp 1>track.cpp 1>c:\jeux\continuum\mervbot\src\samapico\spawn.h(11) : warning C4005: 'INI_NAME' : macro redefinition 1> c:\jeux\continuum\mervbot\src\settings.h(20) : see previous definition of 'INI_NAME' 1>Generating Code... 1>Compiling manifest to resources... 1>Linking... 1>LINK : ..\..\..\..\MERVBot\Samapico.dll not found or not built by the last incremental link; performing full link 1> Creating library ..\..\..\..\MERVBot\Samapico.lib and object ..\..\..\..\MERVBot\Samapico.exp 1>Embedding manifest... 1>Build log was saved at "file://c:\Jeux\Continuum\MERVBot\src\Samapico\Samapico\Debug\BuildLog.htm" 1>Samapico - 0 error(s), 16 warning(s) ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
tcsoccerman Posted June 26, 2007 Author Report Posted June 26, 2007 Except, it's not detailed if there's only 1 error . anyways, i did some more debugging and got these errors now.
Samapico Posted June 26, 2007 Report Posted June 26, 2007 .... the sample log I gave you is one of a SUCCESSFUL build... i.e. no errors. So if you have that, you can see which file is built when the error occursin visual studio you can see it by viewing the 'Output' window... I don't know about the compiler u're using
aquarius Posted June 27, 2007 Report Posted June 27, 2007 building ASSS on windows is just a bad idea since ubuntu makes linux nice and easy (!@#$%^&*s compiles easier on linux)
Recommended Posts