<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE style="DISPLAY: none" type=text/css><!--P{margin-top:0;margin-bottom:0;} p
        {margin-top:0;
        margin-bottom:0}--></STYLE>
</HEAD>
<BODY 
style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri,Arial,Helvetica,sans-serif; COLOR: #000000; BACKGROUND-COLOR: #ffffff" 
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Ujwal,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for letting us know you got it working. I don’t think there’s any 
other forum on Bonmin aside from this mailing list. If there’s information 
elsewhere on the internet aside from COIN-OR pages/Trac/lists that pertains to 
Bonmin troubleshooting I’m not aware of it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Tony</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT>&nbsp;</DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=rameshul@mail.uc.edu 
href="mailto:rameshul@mail.uc.edu">Ramesh, Ujwal (rameshul)</A> </DIV>
<DIV><B>Sent:</B> Friday, October 17, 2014 8:55 AM</DIV>
<DIV><B>To:</B> <A title=bonmin@list.coin-or.org 
href="mailto:bonmin@list.coin-or.org">bonmin@list.coin-or.org</A> </DIV>
<DIV><B>Subject:</B> [Bonmin] Fw: BonMin linking errors</DIV></DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<P>Hi All,</P>
<P>&nbsp;</P>
<P>I could figure this out.</P>
<P>&nbsp;</P>
<P>I had missed -c options in my CFLAGS.</P>
<P>&nbsp;</P>
<P>Thanks,</P>
<DIV id=Signature>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: tahoma"><FONT size=4 
face=Verdana>Ujwal Ramesh</FONT> 
<DIV><FONT size=2 face=Verdana>Graduate Student,</FONT></DIV>
<DIV><FONT size=2 face=Verdana>University Of Cincinnati</FONT></DIV>
<DIV><FONT size=2 face=Verdana>Ph: +1-513-302-4771</FONT></DIV></DIV></DIV>
<DIV 
style="FONT-SIZE: 12pt; FONT-FAMILY: calibri,arial,helvetica,sans-serif; COLOR: #000000; BACKGROUND-COLOR: #ffffff" 
dir=ltr>
<HR tabIndex=-1 style="WIDTH: 98%; DISPLAY: inline-block">

<DIV id=divRplyFwdMsg dir=ltr><FONT style="FONT-SIZE: 11pt" color=#000000 
face="Calibri, sans-serif"><B>From:</B> Ramesh, Ujwal (rameshul)<BR><B>Sent:</B> 
Thursday, October 16, 2014 10:05 PM<BR><B>To:</B> 
bonmin@list.coin-or.org<BR><B>Subject:</B> BonMin linking errors</FONT> 
<DIV>&nbsp;</DIV></DIV>
<DIV>
<P>Hi All,</P>
<P>&nbsp;</P>
<P>I am trying to link my C++&nbsp; code with the Bonmin libraries and I have 
used the following lines in my Make file:</P><PRE class=wiki>ADDINCFLAGS = -I$(HOME)/MyCoolPrograms/include<BR>CXXFLAGS = -O3 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas<BR></PRE><PRE class=wiki>CXXLINKFLAGS =  -Wl,--rpath -Wl,/home/me/Coin-Pkg/lib</PRE>
<P>as described in</P>
<P>&nbsp;</P>
<P><A id=lnk147954 
href="https://projects.coin-or.org/BuildTools/wiki/user-examples#LinkingyourCodewithCOIN-ORLibraries">https://projects.coin-or.org/BuildTools/wiki/user-examples#LinkingyourCodewithCOIN-ORLibraries</A></P>
<P>&nbsp;</P>
<P>I am using a g++ compiler on UNIX enironment.</P>
<P>&nbsp;</P>
<P>While I first included&nbsp; "-pedantic-errors" , I got the following error 
</P>
<P><BR><EM></EM></P>
<P><EM>comma at end of enumerator list</EM></P>
<P>&nbsp;</P>
<P>and as I was using someone else's headers, I had to remove this flag.</P>
<P>&nbsp;</P>
<P>I tried compiling after removing the above flag and the below are the typr of 
errors I am getting:</P>
<P>&nbsp;</P>
<P>1) usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): 
relocation 0 has invalid symbol index 10</P>
<P>2) /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In 
function `_start':<BR>(.text+0x20): undefined reference to `main'</P>
<P>3) DesignMain.cxx:(.text+0x12): undefined reference to 
`Cell::CellGetXpos()'</P>
<P>4) collect2: ld returned 1 exit status</P>
<P>&nbsp;</P>
<P>Note: Regarding error (3), my code was compiling fine before including the 
Bonmin libraries.</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>Please let me know if I am missing anything basic here.</P>
<P>&nbsp;</P>
<P>Also, Could you please let me know if there were already existing forms on 
Bonmin because, people would have faced similar errors and I could get my 
answers in the forum discussions ?</P>
<P>&nbsp;</P>
<P>Thanks in advance for your help.</P>
<P>&nbsp;</P>
<P>Regards,</P>
<DIV id=Signature>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: tahoma"><FONT size=4 
face=Verdana>Ujwal Ramesh</FONT> 
<DIV><FONT size=2 face=Verdana>Graduate Student,</FONT></DIV>
<DIV><FONT size=2 face=Verdana>University Of Cincinnati</FONT></DIV>
<DIV><FONT size=2 face=Verdana>Ph: 
+1-513-302-4771</FONT></DIV></DIV></DIV></DIV></DIV><FONT size=2 
face=Verdana></FONT><FONT size=2 face=Verdana></FONT>
<HR>
_______________________________________________<BR>Bonmin mailing 
list<BR>Bonmin@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/bonmin<BR></DIV></DIV></DIV></BODY></HTML>