[Coin-symphony] (no subject)

Ted Ralphs tkralphs at lehigh.edu
Fri May 6 09:15:26 EDT 2005


Marcos,

These errors seem very strange, but I don't have an ibook to try and 
duplicate them. The time measurement functions are not essential to the 
operation of SYMPHONY, so the easiest thing would be to simple comment 
out the offending parts of timemeas.c. The only effect will be that you 
will not get accurate timing information when you solve a problem. 
Otherwise, you could try to track down exactly why this error is 
occurring. I don't really have a guess from the compiler message. If you 
want, you can send me your resource.h file and I'll compare it to the 
one in Linux. Hope this helps.

Cheers,

Ted

Marcos Roberto Silva wrote:
> Dear Friends,
> I'm trying to install SYMPHONY in my apple Ibook (G3-700mhz with gcc-3.3 
> provided by Apple XCode 1.5) and the output error was:
> 
> Computador-de-ibook:~/COIN/SYMPHONY ibook$ make
> Creating dependency timemeas.d
> Compiling timemeas.c
> In file included from /Users/ibook/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/ibook/COIN/SYMPHONY/src/Common/timemeas.c: In function `double
>    used_time(double*)':
> /Users/ibook/COIN/SYMPHONY/src/Common/timemeas.c:58: error: 'struct 
> rusage' has
>    no member named 'ru_utime'
> /Users/ibook/COIN/SYMPHONY/src/Common/timemeas.c:58: error: 'struct 
> rusage' has
>    no member named 'ru_utime'
> make[1]: *** 
> [/Users/ibook/COIN/SYMPHONY/objects//1111/OSI_CLP/timemeas.o] Error 1
> make: *** [all] Error 2
> Computador-de-ibook:~/COIN/SYMPHONY ibook$
> 
> 
> Before this error:
> 1) I change the makefile inserting the line: MACH_DEP = -DHAS_RANDOM 
> -DHAS_SRANDOM since I did not found the ARCH option for Darwin 
> (conflicts with sramdom() of stdlib.h).
> 2) I change some of the source codes to find the malloc.h. In my mac it 
> is located in /usr/include/malloc/malloc.h.
> 
> The sources of SYMPHONY was obtained by downloading the 
> COIN_2005May05.tar.gz file.
> 
> Thank you in advance for the answers.
> Best regards,
> 
> Marcos Roberto Silva
> Brazil
> 
> _______________________________________________
> Coin-symphony mailing list
> Coin-symphony at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-symphony


-- 
Dr. Ted Ralphs
Assistant Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2



More information about the Symphony mailing list