mcc freezes during compilation

3 views (last 30 days)
Daniel
Daniel on 7 Nov 2011
Hi,
I'm compiling a "hello world"-like function just to test the compiling functionalities of my sistem (which used to work fine):
mcc -m hello.m
For some reason, the system starts the compilation and then will not react any more. I'm rather puzzled with this behaviour, as I have no idea why the mcc suddenly stopped to work... Any ideas where I should start looking at?
Thanks, Daniel
  3 Comments
Daniel
Daniel on 7 Nov 2011
Thanks Kaustubha,
I've seen that it was some kind of networking problem with the license server: mcc stopped for hours (without giving any output in verbose mode), and at some point it announced it was a licensing error.
Now it's solved, but it is too bad that mcc does not say from the very beginning that it has stumbled on license errors. That would be useful.
Walter Roberson
Walter Roberson on 7 Nov 2011
Unfortunately TCP was defined to theoretically have no timeout after the point that it got the initial ACK back from the remote system.
TCP was designed to be resilient in the face of network problems, in the sense of being prepared to wait all year for the conversation to resume. TCP was not designed to be able to tell "within a reasonable time" that there was a network problem and to advise the application of that.

Sign in to comment.

Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!