<HTML><HEAD></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>gfortran and g95 can conflict with each other. </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=rz10@cornell.edu
href="mailto:rz10@cornell.edu">Ray Zimmerman</A> </DIV>
<DIV><B>Sent:</B> Tuesday, January 31, 2012 10:17 AM</DIV>
<DIV><B>To:</B> <A title=ipopt@list.coin-or.org
href="mailto:ipopt@list.coin-or.org">ipopt@list.coin-or.org</A> </DIV>
<DIV><B>Subject:</B> Re: [Ipopt] Rép : Ipopt compilation on mac OS X
10.6</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV>It may be that, at this point, you have multiple conflicting fortran
compilers and libraries installed and it's getting confused. Also, are you using
the current version of Ipopt? My instructions were only tested with 3.10.1. From
your errors, it looks like you may be using a much older version.</DIV>
<DIV> </DIV>
<DIV><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: 12px helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto"
class=Apple-style-span>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: 12px helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto"
class=Apple-style-span>
<DIV>-- </DIV>
<DIV>Ray Zimmerman</DIV>
<DIV>Senior Research Associate</DIV>
<DIV>419A Warren Hall, Cornell University, Ithaca, NY 14853</DIV>
<DIV>phone: (607) 255-9645</DIV><BR
class=Apple-interchange-newline></SPAN></DIV></SPAN></DIV></SPAN><BR
class=Apple-interchange-newline></SPAN><BR
class=Apple-interchange-newline></DIV>
<DIV> </DIV>
<DIV>
<DIV>On Jan 31, 2012, at 8:18 AM, Sylvain Auliac wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV> </DIV>
<DIV>
<DIV>
<DIV><B>Many thanks for the link, sadly it did not solve my problem :</B>
<DIV><B>I actually first tried to compile with gfortran, but doing so, I
wasn't even able to run the configurations script to its end :</B></DIV>
<DIV> </DIV>
<DIV> checking for Fortran 77 compiler default output file name...
configure: error: Fortran 77 compiler cannot create executables</DIV>
<DIV> </DIV>
<DIV><B>There was this in one of the config.log file (int the ThirdParty/HSL/
directory)</B></DIV>
<DIV>
<DIV> </DIV>
<DIV> Undefined symbols:</DIV>
<DIV> "__gfortran_set_std", referenced from:</DIV>
<DIV> _MAIN__ in ccDMKdOw.o</DIV>
<DIV> ld: symbol(s) not found</DIV>
<DIV> collect2: ld returned 1 exit status</DIV>
<DIV> configure:1903: $? = 1</DIV>
<DIV> configure: failed program was:</DIV>
<DIV> | program main</DIV>
<DIV> | </DIV>
<DIV> | end</DIV>
<DIV> configure:1942: error: Fortran 77 compiler cannot create
executables</DIV></DIV>
<DIV> </DIV>
<DIV><B>Very strange since I have already compiled many softwares or library
with gfortran. I have tried with the gfortran from your link and it did not
change anything. Using g95 and following your method lead me to the same
result as before at runtime :</B></DIV>
<DIV> </DIV>
<DIV>
<DIV> dyld: Symbol not found: __g95_filename</DIV>
<DIV> Referenced from:
/Users/auliac/Desktop/Ipopt-3.2.1/lib/libipopt.0.dylib</DIV>
<DIV> Expected in: flat namespace</DIV>
<DIV> in
/Users/auliac/Desktop/Ipopt-3.2.1/lib/libipopt.0.dylib</DIV></DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Le 30 janv. 2012 à 21:07, Ray Zimmerman a écrit :</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">You
may find some help at ...
<DIV> </DIV>
<DIV> <A
href="https://projects.coin-or.org/Ipopt/wiki/Ipopt_on_Mac_OS_X">https://projects.coin-or.org/Ipopt/wiki/Ipopt_on_Mac_OS_X</A></DIV>
<DIV> </DIV>
<DIV>... though I am using gfortran, not g95.</DIV>
<DIV> </DIV>
<DIV>
<DIV>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: 12px helvetica; WHITE-SPACE: normal; ORPHANS: 2; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto"
class=Apple-style-span>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: 12px helvetica; WHITE-SPACE: normal; ORPHANS: 2; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto"
class=Apple-style-span>
<DIV>-- </DIV>
<DIV>Ray Zimmerman</DIV>
<DIV>Senior Research Associate</DIV>
<DIV>419A Warren Hall, Cornell University, Ithaca, NY 14853</DIV>
<DIV>phone: (607) 255-9645</DIV><BR
class=Apple-interchange-newline></SPAN></DIV></SPAN></DIV><BR
class=Apple-interchange-newline><BR class=Apple-interchange-newline></DIV>
<DIV> </DIV>
<DIV>
<DIV>On Jan 30, 2012, at 10:49 AM, Sylvain Auliac wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV>Hello,</DIV>
<DIV>i'm trying to have ipopt working on my laptop (OS X 10.6), but i have
configuration problems. I can compile and create the library files, but I
always get some messages like that at runtime :</DIV>
<DIV> </DIV>
<DIV>
<DIV>dyld: Symbol not found: __g95_filename</DIV>
<DIV> Referenced from:
/Users/auliac/Desktop/Ipopt-3.2.1/lib/libipopt.0.dylib</DIV>
<DIV> Expected in: flat namespace</DIV></DIV>
<DIV> </DIV>
<DIV>As suggested in the "current issues" section of the site, I have
added <SPAN style="FONT-FAMILY: monospace; WHITE-SPACE: pre"
class=Apple-style-span>ADD_FFLAGS="-mmacosx-version-min=10.4" </SPAN>while
configuring. If I only do that, I get this error when I type "make test"
when tests are run. I have then tried several flags combination from this
troubleshooting page, I only have better results when I also add <SPAN
style="FONT-FAMILY: monospace"
class=Apple-style-span>LDFLAGS="-flat_namespace" . </SPAN>With that, the
console displays a succes message when I run the test. But still the
executable from the exemples folder send this "_g95_filename" error (not
to speak about code of my own). This is somewhat weird... I use gcc for
c/c++ compilation and g95 for the fortran.</DIV>
<DIV> </DIV>
<DIV>I'd greatly appreciate any help.</DIV>
<DIV><SPAN style="FONT-FAMILY: monospace; WHITE-SPACE: pre"
class=Apple-style-span><BR></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV>Sylvain Auliac</DIV>
<DIV>Laboratoire Jacques-Louis Lions</DIV>
<DIV>Université Pierre et Marie Curie</DIV>
<DIV>mail: <A
href="mailto:auliac@ann.jussieu.fr">auliac@ann.jussieu.fr</A></DIV>
<DIV>tel : 01 44 27 71 70</DIV>
<DIV> </DIV></DIV><BR class=Apple-interchange-newline><BR
class=Apple-interchange-newline></DIV>
<DIV> </DIV></DIV>_______________________________________________<BR>Ipopt
mailing list<BR><A
href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</A><BR><A
href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</A><BR></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV>_______________________________________________<BR>Ipopt
mailing list<BR><A
href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</A><BR><A
href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</A><BR></BLOCKQUOTE></DIV>
<DIV> </DIV>
<DIV><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium helvetica; WHITE-SPACE: normal; ORPHANS: 2; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium helvetica; WHITE-SPACE: normal; ORPHANS: 2; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV>Sylvain Auliac</DIV>
<DIV>Laboratoire Jacques-Louis Lions</DIV>
<DIV>Université Pierre et Marie Curie</DIV>
<DIV>mail: <A
href="mailto:auliac@ann.jussieu.fr">auliac@ann.jussieu.fr</A></DIV>
<DIV>tel : 01 44 27 71 70</DIV>
<DIV> </DIV></DIV></SPAN><BR class=Apple-interchange-newline></SPAN><BR
class=Apple-interchange-newline></DIV></DIV></DIV>_______________________________________________<BR>Ipopt
mailing list<BR><A
href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</A><BR>http://list.coin-or.org/mailman/listinfo/ipopt<BR></BLOCKQUOTE></DIV><BR>
<P>
<HR>
_______________________________________________<BR>Ipopt mailing
list<BR>Ipopt@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/ipopt<BR></DIV></DIV></DIV></BODY></HTML>