<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">I suspect that you have incorrectly typed in the compilation options, specification of compiler, are somehow linking with c (not ifort) or have a broken make (gmake). The -c option is embedded in the Makefile so you should not include it.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">There is no "main.c". Did you just download the directory and do an update, or created a fresh directory?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 14, 2019 at 11:36 AM Luc Fruchter <<a href="mailto:luc.fruchter@u-psud.fr">luc.fruchter@u-psud.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
<br>
I tried to compile the new version 18.2 to update my old 17 one, and I <br>
encountered two errors (I use latest Intel fortran compiler from <br>
Parallel Studio):<br>
<br>
- In SRC_mixer: for main.c: undefined reference to 'MAIN__'<br>
<br>
and then multiple 'undefined reference'<br>
<br>
- In SRC_nmr: the same errors.<br>
<br>
<br>
Intel indicates that:<br>
<br>
"Resolution<br>
<br>
If you are compiling sources separately to be linked later, add the -c <br>
option to the ifort command to tell the ifort driver not to invoke the <br>
linker.<br>
<br>
If you are building a mixed-language application whose main program is <br>
not written in Fortran, use the<br>
<br>
-nofor-main "<br>
<br>
<br>
(<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__software.intel.com_en-2Dus_articles_error-2Dundefined-2Dreference-2Dto-2Dmain&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=gfGravY_pBwP_2uOrm9-7LQiphy0zyJgb64wrqdrsMc&s=4jn2hxBNeX1bI-VrScvn3NPyrmGAkFWxcWxkqr7MWQs&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=https-3A__software.intel.com_en-2Dus_articles_error-2Dundefined-2Dreference-2Dto-2Dmain&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=gfGravY_pBwP_2uOrm9-7LQiphy0zyJgb64wrqdrsMc&s=4jn2hxBNeX1bI-VrScvn3NPyrmGAkFWxcWxkqr7MWQs&e=</a>)<br>
<br>
<br>
This problem did not happen during the compilation of the older <br>
versions. Should one now use these options ?<br>
<br>
<br>
Thanks<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__zeus.theochem.tuwien.ac.at_mailman_listinfo_wien&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=gfGravY_pBwP_2uOrm9-7LQiphy0zyJgb64wrqdrsMc&s=4lg4OgdUOpSXMNWzOB0Z9k9nF5ATWyQo10bFxTmU3vA&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__zeus.theochem.tuwien.ac.at_mailman_listinfo_wien&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=gfGravY_pBwP_2uOrm9-7LQiphy0zyJgb64wrqdrsMc&s=4lg4OgdUOpSXMNWzOB0Z9k9nF5ATWyQo10bFxTmU3vA&e=</a><br>
SEARCH the MAILING-LIST at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_index.html&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=gfGravY_pBwP_2uOrm9-7LQiphy0zyJgb64wrqdrsMc&s=p1EhA020emPDfi-c58fvnT93GYiCdZPTKI6wdt54Z6Y&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_index.html&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=gfGravY_pBwP_2uOrm9-7LQiphy0zyJgb64wrqdrsMc&s=p1EhA020emPDfi-c58fvnT93GYiCdZPTKI6wdt54Z6Y&e=</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Professor Laurence Marks<br>Department of Materials Science and Engineering<br>Northwestern University<br><a href="http://www.numis.northwestern.edu/" target="_blank">www.numis.northwestern.edu</a><div>Corrosion in 4D: <a href="http://www.numis.northwestern.edu/MURI" target="_blank">www.numis.northwestern.edu/MURI</a><br>Co-Editor, Acta Cryst A<br>"Research is to see what everybody else has seen, and to think what nobody else has thought"<br>Albert Szent-Gyorgi</div></div></div>