[gridengine users] Compilation Error under Windows 7 with SUA

Jochen Rath Jochen.Rath at web.de
Wed Jun 27 09:48:40 UTC 2012


  Hello Open Grid Scheduler Team

Disclaimer:
Sry, I send it twice. The first one get the wrong address and it wasn't 
readable on the mailing list.

At the moment I try to compile open Grid Scheduler under Windows 7 64 
bit. I do it, as descript in this message
http://sourceforge.net/mailarchive/message.php?msg_id=27637625

I have encountert the problems and get stuck as discript with following 
error message:

Building in directory: /dev/fs/E/HPC/GE2011.11/source
making in WIN32_X86/ for WIN32_X86 at host Desktop
_________S_G_E__D_E_P_E_N_D_______________
gmake: Nothing to be done for `all'.
____W_I_N_3_2__A_P_P_L_I_C_A_T_I_O_N_S____
cl.exe /MT /D WINDOWS /D _CONSOLE /D _CRT_SECURE_NO_WARNINGS /W3 /WX 
/nologo /c /EHsc -I'/dev/fs/E/Microsoft Visual Studio 10.0/VC/include' 
-I'..\\extra_h' -I'..\\common' -I'..\\utilbin' -I'..\\libs\\juti' -c 
../utilbin/windows/SGE_Helper_Service/Communication.cpp
Communication.cpp
../utilbin/windows/SGE_Helper_Service/Communication.cpp(33) : fatal 
error C1083: Datei (Include) kann nicht ge"ffnet werden: "afxtempl.h": 
No such file or directory
not done


I compile with the option:
  ./aimk -no-java -no-jni -no-secure -spool-classic -only-depend

After some research concerning the "afxtempl.h", I found, that this is a 
header file of the Microsoft MFC library:
http://msdn.microsoft.com/de-de/library/bk77x1wx%28v=vs.90%29.aspx

I switched from Visual Studio Express 2010 to Visual Studio Express 
2005, but I didn't get this header file. I think, I need a professional 
version of Microsoft Visual Studio, do install this pack
http://www.microsoft.com/en-us/download/details.aspx?id=6922

I tried to download the header files from
http://www.cppdoc.com/example/mfc/classdoc/MFC/

Now I get this error message

Building in directory: /dev/fs/E/HPC/GE2011.11/source
making in WIN32_X86/ for WIN32_X86 at host Desktop
_________S_G_E__D_E_P_E_N_D_______________
gmake: Nothing to be done for `all'.
____W_I_N_3_2__A_P_P_L_I_C_A_T_I_O_N_S____
cl.exe /MT /D WINDOWS /D _CONSOLE /D _CRT_SECURE_NO_WARNINGS /W3 /WX 
/nologo /c /EHsc -I'E:\Microsoft_Visual_Studio_9\VC\include' 
-I'..\\extra_h' -I'..\\common' -I'..\\utilbin' -I'..\\libs\\juti' 
-I'..\\afx' -c ../utilbin/windows/SGE_Helper_Service/Communication.cpp
Communication.cpp
..\\afx\afx.inl(231) : error C2220: Warnung wird als Fehler 
interpretiert, es wurde keine object-Datei generiert.
..\\afx\afx.inl(231) : warning C4244: 'return': Konvertierung von 'const 
time_t' in 'LONG', m"glicher Datenverlust
..\\afx\afx.inl(233) : warning C4244: 'return': Konvertierung von 'const 
time_t' in 'LONG', m"glicher Datenverlust
..\\afx\afx.inl(237) : warning C4244: 'return': Konvertierung von 'const 
time_t' in 'LONG', m"glicher Datenverlust
..\\afx\afx.inl(241) : warning C4244: 'return': Konvertierung von 'const 
time_t' in 'LONG', m"glicher Datenverlust
..\\afx\afxtempl.h(776) : warning C4346: 'CList<TYPE,ARG_TYPE>::CNode': 
Abh"ngiger Name ist kein Typ
         Pr"fix mit 'typename' zum Angeben eines Typs
..\\afx\afxtempl.h(776) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
..\\afx\afxtempl.h(776) : error C4430: Fehlender Typspezifizierer - int 
wird angenommen. Hinweis: "default-int" wird von C++ nicht unterst?tzt.
..\\afx\afxtempl.h(776) : fatal error C1903: Weiterverarbeitung nach 
vorherigem Fehler nicht m"glich; Kompilierung wird abgebrochen.
not done

So I tried the no-win32 option
  ./aimk -no-java -no-jni -no-secure -spool-classic -no-wine32 -only-depend

This runs with success. Now
./scripts/zerodepend

And
  ./aimk -no-java -no-jni -no-secure -spool-classic -no-wine32 depend

It breaks with

checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in 
`/dev/fs/E/HPC/GE2011.11/source/3rdparty/qmake/WIN32_X86':
configure: error: C compiler cannot create executables
See `config.log' for more details.
gmake: Makefile: No such file or directory
gmake: *** No rule to make target `Makefile'.  Stop.
not done

Can you give me a hint, how I should proceed further? My goal is to be 
able to send jobs to a qmaster host and to execute jobs on a windows 7 
64 bit machine.
Or can you give me I location, where I can get the binarys for Windows?

Best regards
     Jochen Rath



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gridengine.org/pipermail/users/attachments/20120627/d99c7532/attachment.html>


More information about the users mailing list