omnet++ checking whether the c compiler works... no

1,075 views
Skip to first unread message

Hafsa Ansari

unread,
Mar 6, 2018, 10:27:58 AM3/6/18
to OMNeT++ Users
Hi All,

I am trying to install OMNet++ v4.6 on Windows 10 (64 bit). Everytime I run command './configure', I get following output:

checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
configure: -----------------------------------------------
configure: reading configure.user for your custom settings
configure: -----------------------------------------------
checking for icc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/c/omnetpp-4.6':
configure: error: C compiler cannot create executables
See `config.log' for more details

config.log file is also attached. If anyone has faces similar issue and able to resolve it, kindly help me.

Thanks.
config.log

Attila Török

unread,
Mar 6, 2018, 10:58:42 AM3/6/18
to OMNeT++ Users
Do you run ./configure from the mingwenv shell shipped with OMNeT++?

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Hafsa Ansari

unread,
Mar 6, 2018, 12:17:05 PM3/6/18
to OMNeT++ Users
Yes


On Tuesday, March 6, 2018 at 8:58:42 PM UTC+5, Attila Török wrote:
Do you run ./configure from the mingwenv shell shipped with OMNeT++?
2018-03-06 16:27 GMT+01:00 Hafsa Ansari <hafsa...@gmail.com>:
Hi All,

I am trying to install OMNet++ v4.6 on Windows 10 (64 bit). Everytime I run command './configure', I get following output:

checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
configure: -----------------------------------------------
configure: reading configure.user for your custom settings
configure: -----------------------------------------------
checking for icc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/c/omnetpp-4.6':
configure: error: C compiler cannot create executables
See `config.log' for more details

config.log file is also attached. If anyone has faces similar issue and able to resolve it, kindly help me.

Thanks.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

Rudolf Hornig

unread,
Mar 7, 2018, 10:02:00 AM3/7/18
to OMNeT++ Users
This looks like a permission error problem. The C++ compiler cannot create an executable file. I can imagine this happens only when
- a) disk is out of space
- b) the operating system does not allow creating an executable file (because of a permission issue, or other security measure)

Hafsa Ansari

unread,
Mar 7, 2018, 10:47:24 AM3/7/18
to OMNeT++ Users
No. The issue was related to 64 bit version of Windows 10. I check code of "mingwenv" file. It was calling 32bit version of MingW shell. I pointed it towards 64 bit version. Now the above issue is resolved C++ compiler is working fine but I am facing another issue related to Tcl/Tk library files. Details are attached. Please check them. I tried to change configure.user file but no luck. Attaching that as well.
configure.user
Configure TclTk Error.PNG
config.log

Michael Kirsche

unread,
Mar 7, 2018, 3:33:44 PM3/7/18
to OMNeT++ Users
Okay that does sound wrong... the older OMNeT 4.x versions for Windows were deployed with a 32-bit MinGW environment and they work out-of-the-box under Windows 7, 8, 10 32- and 64-bit versions for years.
Pointing the "mingwenv" file to a 64-Bit MinGW Shell... you mean you installed a different MinGW version yourself? Because OMNeT 4.6 does not include a 64-bit MinGW...
Message has been deleted

Rudolf Hornig

unread,
Mar 8, 2018, 6:58:11 AM3/8/18
to OMNeT++ Users
Your installation folder looks to be corrupted. Re-download the ZIP file, check that the HASH matches the one indicated on the website, and finally use some decent ZIP tool to extract (Do NOT use the ZIP extractor built into windows.!!!)

Hafsa Ansari

unread,
Mar 8, 2018, 11:50:33 AM3/8/18
to OMNeT++ Users
How to verify the HASH? :) I can't find it on website as well..

I uses 7-zip tool to extract the zip file.

Hafsa Ansari

unread,
Mar 8, 2018, 12:46:32 PM3/8/18
to OMNeT++ Users


Plz check is it valid checksum??

mustafa mohammed

unread,
May 30, 2019, 11:45:02 AM5/30/19
to OMNeT++ Users
Thanks man, I had the same problem, and the disk space was the solution, you saved me, thanks a lot.

Deepak Keswani

unread,
Sep 5, 2019, 10:15:38 AM9/5/19
to OMNeT++ Users
I also changed the path to mingw64_shell.bat. However, still problem is there . Can you please tell me in detailed manner what you have done?
Reply all
Reply to author
Forward
0 new messages