[Couenne-tickets] [Couenne] #26: Error Zlib compiling Couenne on MacOSX 10.6.8

Couenne coin-trac at coin-or.org
Sat Apr 20 13:57:23 EDT 2013


#26: Error Zlib compiling Couenne on MacOSX 10.6.8
-------------------+------------------------
 Reporter:  mbehr  |       Type:  defect
   Status:  new    |   Priority:  major
Milestone:         |  Component:  ThirdParty
  Version:         |   Keywords:
-------------------+------------------------
 Hello,
 i want to build Couenne with HSL MA57. I downloaded all Third Party
 Packages and put the files for MA57 (ddeps.f, fakemetis.f, ma57d.f,
 ma57s.f, sdeps.f) in a single file called ma57ad.f.
 Then i call
  CC=gcc-mp-4.7 CXX=g++-mp-4.7 F77=gfortran-mp-4.7 ../configure -C  --with-
 metis-datadir="/Users/behr/bin/Couenne/ThirdParty/Metis/"
 and i get the follwing error:
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1347:21: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPfgetc':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:88:11: error: request for
 member 'have' in something not a structure or union
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:88:11: error: request for
 member 'have' in something not a structure or union
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:88:11: error: request for
 member 'pos' in something not a structure or union
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:88:11: warning: left-hand
 operand of comma expression has no effect [-Wunused-value]
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:88:11: error: request for
 member 'next' in something not a structure or union
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:88:11: warning: left-hand
 operand of comma expression has no effect [-Wunused-value]
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:88:4: warning: passing
 argument 1 of 'gzgetc' from incompatible pointer type [enabled by default]
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1374:21: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPfgets':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:93:4: warning: passing
 argument 1 of 'gzgets' from incompatible pointer type [enabled by default]
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1355:24: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPfflush':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:98:4: warning: passing
 argument 1 of 'gzflush' from incompatible pointer type [enabled by
 default]
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1395:21: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPfseek':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:103:4: warning: passing
 argument 1 of 'gzseek' from incompatible pointer type [enabled by default]
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1709:28: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPrewind':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:108:4: warning: passing
 argument 1 of 'gzrewind' from incompatible pointer type [enabled by
 default]
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1430:24: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPftell':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:113:4: warning: passing
 argument 1 of 'gztell' from incompatible pointer type [enabled by default]
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1710:28: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPfeof':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:118:4: warning: passing
 argument 1 of 'gzeof' from incompatible pointer type [enabled by default]
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1458:21: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPfclose':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:123:4: warning: passing
 argument 1 of 'gzclose' from incompatible pointer type [enabled by
 default]
 In file included from
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:35:0:
 /opt/local/include/zlib.h:1494:24: note: expected 'gzFile' but argument is
 of type 'struct gzFile_s **'
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c: In function 'SCIPfgetc':
 ../../../ThirdParty/SCIP/scip/src/scip/fileio.c:89:1: warning: control
 reaches end of non-void function [-Wreturn-type]
 make[2]: *** [scip/src/scip/fileio.lo] Error 1
 make[1]: *** [all] Error 2
 make: *** [all-recursive] Error 1

 Can someone help me please?
 thanks

-- 
Ticket URL: <https://projects.coin-or.org/ticket/26>
Couenne <https://projects.coin-or.org/Couenne>
Couenne, a solver for non-convex MINLP



More information about the Couenne-tickets mailing list