[Coin-symphony] (no subject)

Marcos Roberto Silva marcos.roberto.silva at uol.com.br
Thu May 5 21:14:24 EDT 2005


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




More information about the Symphony mailing list