[racket] help with building racket on Solaris-Sparc
Yes, that fixes the problem.
The remaining issue popped up during 'make install',
when we realized that racket needs cairo package installed in the
system...
thanks for your help,
HP
On Sun, 6 May 2012, Matthew Flatt wrote:
> I think FD_SET(), etc., are adding casts on some platforms, which is
> this next mismatch hasn't shown up before.
>
> Does it fix the problem to change the definitions in "scheme.h" at line
> 2001 to the following?
>
> # define MZ_FD_ZERO(p) FD_ZERO((fd_set *)(p))
> # define MZ_FD_SET(n, p) FD_SET(n, (fd_set *)(p))
> # define MZ_FD_CLR(n, p) FD_CLR(n, (fd_set *)(p))
> # define MZ_FD_ISSET(n, p) FD_ISSET(n, (fd_set *)(p))
>
>
> At Sun, 6 May 2012 16:02:26 -0400 (EDT), HP Wei wrote:
>>
>> Thank you for taking the time to track that error.
>> I modified port.c from your suggestions.
>> And then I got below error messages.
>>
>> in racket/src/thread.c
>> in lines 3527, 3528, 3529, 3561, 3562, 3596, 3597, 3805, 3814, 3818
>> all give this:
>> warning: dereferencing 'void*' pointer
>> error: request for member 'fds_bits' in something not a structure or
>> union
>>
>>
>> --hp
>>