[Scip] Issue compiling SCIP with gcc 4.1.2

Ambros Gleixner gleixner at zib.de
Fri Apr 11 00:20:01 CEST 2014


Dear Abde Ali Kagalwalla,

when we added these compiler flags, we were not aware that they would 
create trouble with such old GCC versions, sorry for that.  For now the 
attached patch should fix your problem.  (Hopefully: I have no way to 
test it quickly.)  Please let us know, whether it works.

Kind regards,

ambros



Am 10.04.2014 22:06, schrieb Abde Ali Kagalwalla:
>
> Hi All,
>
> I am trying to compile SCIP on a server with gcc version 4.1.2
> Based on the instructions specified on the website and the INSTALL text
> file, I tried compiling SCIP using CPLEX as the LP solver with the
> following (most compatible) set of flags:
>
> make ZLIB=false GMP=false READLINE=false LPS=cpx LPSOPT=opt-gccold
> OPT=opt-gccold
>
> When I tried compiling, this is the error which terminates the compilation:
>
> *****************************************************************************************************************
> -> compiling obj/O.linux.x86_64.gnu.opt-gccold/lib/objscip/objbranchrule.o
> cc1plus: error: unrecognized command line option "-Wno-strict-overflow"
> cc1plus: error: unrecognized command line option "-std=c++0x"
> gmake[3]: ***
> [obj/O.linux.x86_64.gnu.opt-gccold/lib/objscip/objbranchrule.o] Error 1
> gmake[3]: Leaving directory
> `/home/projects/Ebeam/ILP_BP/tools/scipoptsuite-3.1.0/scip-3.1.0'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory
> `/home/projects/Ebeam/ILP_BP/tools/scipoptsuite-3.1.0/scip-3.1.0'
> gmake[1]: *** [scipbinary] Error 2
> gmake[1]: Leaving directory
> `/home/projects/Ebeam/ILP_BP/tools/scipoptsuite-3.1.0'
> gmake: *** [scipbinary] Error 2
> *******************************************************************************************************************
>
> Could you please help me figure out how I can compile SCIP on this
> machine ? I was able to successfully compile and implement some code on
> a different machine with gcc version 4.4.7, but now I need to compile my
> code on this machine with an older version of gcc.
>
> Thank you very much,
>
> Abde Ali Kagalwalla,
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>

-- 
____________________________________________________________
Ambros M. Gleixner
Zuse Institute Berlin - Matheon - Berlin Mathematical School
http://www.zib.de/gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gccold.patch
Type: text/x-patch
Size: 886 bytes
Desc: not available
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140411/ee0bc2d4/attachment.bin>


More information about the Scip mailing list