Matt Kraai <[EMAIL PROTECTED]> writes:
> Howdy,
>
> When I try to compile guile 1.8.0 on QNX 6.3.0, it fails as follows:
>
>> source='threads.c' object='libguile_la-threads.lo' libtool=yes \
>> DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
>> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
>> -I.. -I.. -I/usr/local/include -g -O2 -Wall -Wmissing-prototypes -c -o
>> libguile_la-threads.lo `test -f 'threads.c' || echo './'`threads.c
>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I/usr/local/include -g -O2
>> -Wall -Wmissing-prototypes -c threads.c
>> -Wp,-MD,.deps/libguile_la-threads.TPlo -fPIC -DPIC -o
>> .libs/libguile_la-threads.o
>> threads.c:1401: conflicting types for `unlock'
>> /usr/qnx630/target/qnx6/usr/include/unistd.h:490: previous declaration of
>> `unlock'
>
> The attached patch renames the unlock function in threads.c to
> static_unlock, which fixes the problem.
Thanks, will be in CVS very shortly.
Neil
_______________________________________________
Bug-guile mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/bug-guile