It seems that GCC 3.2 and GAUL disagree on a few definitions.
In line 163 of compatibility.h, the usleep function is declared to
return void, while /usr/include/unistd.h in line 383 declares it to
In line 239 of compatibility.h, the strndup is declared with n of type
int, while /usr/include/string.h declares n to be of type size_t
In line 274 of compatibility.h, the basename is declared to take
one parameter of type char *, while the same string.h declares it
to be of type const char *.
Once those three declarations are altered to match those from
standard include file GCC 3.2 has no trouble compiling and running
Log in to post a comment.