marcos-Computer:~/COIN/SYMPHONY marcos$ make Compiling master.c /Users/marcos/COIN/SYMPHONY/src/Master/master.c:17:20: malloc.h: No such file or directory make[1]: *** [/Users/marcos/COIN/SYMPHONY/objects//1111/OSI_CLP/master.o] Error 1 make: *** [all] Error 2 I included the -I/usr/include/malloc in the Makefile variable INCDIR marcos-Computer:~/COIN/SYMPHONY marcos$ make Compiling master.c Compiling master_wrapper.c Compiling master_io.c Compiling master_func.c Compiling tm_func.c /Users/marcos/COIN/SYMPHONY/src/TreeManager/tm_func.c: In function `int tm_initialize(tm_prob*, base_desc*, node_desc*)': /Users/marcos/COIN/SYMPHONY/src/TreeManager/tm_func.c:123: error: call of overloaded `srandom(int&)' is ambiguous /usr/include/stdlib.h:226: error: candidates are: void srandom(long unsigned int) /Users/marcos/COIN/SYMPHONY/include/proto.h:33: error: int srandom(unsigned int) make[1]: *** [/Users/marcos/COIN/SYMPHONY/objects//1111/OSI_CLP/tm_func.o] Error 1 make: *** [all] Error 2 marcos-Computer:~/COIN/SYMPHONY marcos$ I inserted the MACH_DEP = -DHAS_RANDOM -DHAS_RANDOM in the Makefile. marcos-Computer:~/COIN/SYMPHONY marcos$ make Compiling tm_func.c Compiling tm_proccomm.c Compiling lp_solver.c Compiling lp_varfunc.c Compiling lp_rowfunc.c Compiling lp_genfunc.c Compiling lp_proccomm.c Compiling lp_wrapper.c Compiling lp_free.c Compiling lp_branch.c Compiling cg_func.c Compiling cg_wrapper.c Compiling cp_proccomm.c Compiling cp_func.c Compiling cp_wrapper.c Compiling timemeas.c In file included from /Users/marcos/COIN/SYMPHONY/src/Common/timemeas.c:16: /usr/include/sys/resource.h:81: error: field `ru_utime' has incomplete type /usr/include/sys/resource.h:82: error: field `ru_stime' has incomplete type /usr/include/sys/resource.h:119: error: 'int32_t' is used as a type, but is not defined as a type. /usr/include/sys/resource.h:120: error: 'int32_t' is used as a type, but is not defined as a type. /usr/include/sys/resource.h:124: error: 'rlim_t' is used as a type, but is not defined as a type. /usr/include/sys/resource.h:125: error: 'rlim_t' is used as a type, but is not defined as a type. /usr/include/sys/resource.h:130: error: parse error before `[' token /Users/marcos/COIN/SYMPHONY/src/Common/timemeas.c: In function `double used_time(double*)': /Users/marcos/COIN/SYMPHONY/src/Common/timemeas.c:56: error: 'struct rusage' has no member named 'ru_utime' /Users/marcos/COIN/SYMPHONY/src/Common/timemeas.c:56: error: 'struct rusage' has no member named 'ru_utime' make[1]: *** [/Users/marcos/COIN/SYMPHONY/objects//1111/OSI_CLP/timemeas.o] Error 1 make: *** [all] Error 2 marcos-Computer:~/COIN/SYMPHONY marcos$ To fix this I commented the lines /* #ifndef WIN32 #include #endif */ of the timeas.c file. marcos-Computer:~/COIN/SYMPHONY marcos$ make Creating dependency timemeas.d Compiling timemeas.c Compiling qsortucb.c Compiling qsortucb_i.c Compiling qsortucb_ii.c Compiling qsortucb_id.c Compiling qsortucb_di.c Compiling qsortucb_ic.c Compiling proccomm.c Compiling pack_cut.c Compiling pack_array.c Compiling glpmpl1.c cc1: error: unrecognized option `-strip' cc1: error: output filename specified twice make[1]: *** [/Users/marcos/COIN/SYMPHONY/src/GMPL/objects//glpmpl1.o] Error 1 make: *** [all] Error 2 marcos-Computer:~/COIN/SYMPHONY marcos$ I copied the objects generated when I installed the glpk-4.8 to the src/GMPL/objects/. marcos-Computer:~/COIN/SYMPHONY marcos$ make Making libsym.so ... g++: unrecognized option `-shared' ld: unknown flag: -soname make[1]: *** [/Users/marcos/COIN/SYMPHONY/lib//OSI_CLP/libsym.so] Error 1 make: *** [all] Error 2 marcos-Computer:~/COIN/SYMPHONY marcos$ I changed the config file aiming to create static lib: LIBTYPE = STATIC marcos-Computer:~/COIN/SYMPHONY marcos$ make Compiling main.c /Users/marcos/COIN/SYMPHONY/src/Master/main.c:53:31: readline/readline.h: No such file or directory /Users/marcos/COIN/SYMPHONY/src/Master/main.c:54:30: readline/history.h: No such file or directory /Users/marcos/COIN/SYMPHONY/src/Master/main.c: In function `int sym_read_line(char*, char**)': /Users/marcos/COIN/SYMPHONY/src/Master/main.c:608: error: `readline' undeclared (first use this function) /Users/marcos/COIN/SYMPHONY/src/Master/main.c:608: error: (Each undeclared identifier is reported only once for each function it appears in.) /Users/marcos/COIN/SYMPHONY/src/Master/main.c:610: error: `add_history' undeclared (first use this function) /Users/marcos/COIN/SYMPHONY/src/Master/main.c: In function `void sym_initialize_readline()': /Users/marcos/COIN/SYMPHONY/src/Master/main.c:630: error: ` rl_attempted_completion_function' undeclared (first use this function) /Users/marcos/COIN/SYMPHONY/src/Master/main.c: In function `char** sym_completion(const char*, int, int)': /Users/marcos/COIN/SYMPHONY/src/Master/main.c:645: error: `rl_line_buffer' undeclared (first use this function) /Users/marcos/COIN/SYMPHONY/src/Master/main.c:670: error: ` rl_completion_matches' undeclared (first use this function) make[1]: *** [/Users/marcos/COIN/SYMPHONY/objects//1111/OSI_CLP/main.o] Error 1 make: *** [all] Error 2 marcos-Computer:~/COIN/SYMPHONY marcos$ I set USE_OSI_INTERFACE = TRUE in the config file. marcos-Computer:~/COIN/SYMPHONY marcos$ make Linking symphony ... ld: archive: /Users/marcos/COIN/SYMPHONY/lib//OSI_CLP/libsym.a has no table of contents, add one with ranlib(1) (can't load from it) ld: can't locate file for: -lX11 make[1]: *** [/Users/marcos/COIN/SYMPHONY/bin//OSI_CLP/symphony] Error 1 make: *** [all] Error 2 marcos-Computer:~/COIN/SYMPHONY marcos$ I deleted the -lX11 flags of the Makefile. marcos-Computer:~/COIN/SYMPHONY marcos$ make Linking symphony ... ld: archive: /Users/marcos/COIN/SYMPHONY/lib//OSI_CLP/libsym.a has no table of contents, add one with ranlib(1) (can't load from it) make[1]: *** [/Users/marcos/COIN/SYMPHONY/bin//OSI_CLP/symphony] Error 1 make: *** [all] Error 2 marcos-Computer:~/COIN/SYMPHONY marcos$ marcos-Computer:~/COIN/SYMPHONY marcos$ ar cru lib/OSI_CLP/libsym.a objects/1111/OSI_CLP/*.o marcos-Computer:~/COIN/SYMPHONY marcos$ ranlib lib/OSI_CLP/libsym.a marcos-Computer:~/COIN/SYMPHONY marcos$ make Linking symphony ... marcos-Computer:~/COIN/SYMPHONY marcos$ marcos-Computer:~/COIN/SYMPHONY marcos$ make marcos-Computer:~/COIN/SYMPHONY marcos$ It's OK! When I tested the FLOPC example: marcos-Computer:~/COIN/SYMPHONY/Examples/FLOPC++ marcos$ make /usr/local/bin/g++ -g -I/Users/marcos/COIN/flopc/include -I/Users/marcos/COIN/include -I/Users/marcos/COIN/SYMPHONY/include -DHAS_RANDOM -DHAS_SRANDOM -L/Users/marcos/COIN/lib -L/Users/marcos/COIN/flopc/lib -L/Users/marcos/COIN/SYMPHONY/lib -Wl,-rpath,/Users/marcos/COIN/lib -Wl,-rpath,/Users/marcos/COIN/flopc/lib -Wl,-rpath,/Users/marcos/COIN/SYMPHONY/lib -lOsiSym -lsym -lflopc -lOsi -lOsiClp -lClp -lCoin -lCgl tap.cpp -o tap make: /usr/local/bin/g++: Command not found make: *** [tap] Error 127 marcos-Computer:~/COIN/SYMPHONY/Examples/FLOPC++ marcos$ I altered to g++ only. marcos-Computer:~/COIN/SYMPHONY/Examples/FLOPC++ marcos$ make g++ -g -I/Users/marcos/COIN/flopc/include -I/Users/marcos/COIN/include -I/Users/marcos/COIN/SYMPHONY/include -DHAS_RANDOM -DHAS_SRANDOM -L/Users/marcos/COIN/lib -L/Users/marcos/COIN/flopc/lib -L/Users/marcos/COIN/SYMPHONY/lib -Wl,-rpath,/Users/marcos/COIN/lib -Wl,-rpath,/Users/marcos/COIN/flopc/lib -Wl,-rpath,/Users/marcos/COIN/SYMPHONY/lib -lOsiSym -lsym -lflopc -lOsi -lOsiClp -lClp -lCoin -lCgl tap.cpp -o tap ld: unknown flag: -rpath make: *** [tap] Error 1 marcos-Computer:~/COIN/SYMPHONY/Examples/FLOPC++ marcos$ I commented the line with these flags in the Makefile. marcos-Computer:~/COIN/SYMPHONY/Examples/FLOPC++ marcos$ make g++ -g -I/Users/marcos/COIN/flopc/include -I/Users/marcos/COIN/include -I/Users/marcos/COIN/SYMPHONY/include -DHAS_RANDOM -DHAS_SRANDOM -L/Users/marcos/COIN/lib -L/Users/marcos/COIN/flopc/lib -L/Users/marcos/COIN/SYMPHONY/lib /Users/marcos/COIN/lib /Users/marcos/COIN/flopc/lib /Users/marcos/COIN/SYMPHONY/lib -lOsiSym -lsym -lflopc -lOsi -lOsiClp -lClp -lCoin -lCgl tap.cpp -o tap ld: can't map file: /Users/marcos/COIN/lib ((os/kern) invalid argument) make: *** [tap] Error 1 marcos-Computer:~/COIN/SYMPHONY/Examples/FLOPC++ marcos$ I was not able, until now, to solve this error.