[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conflicting types for unlock on QNX 6

From: Neil Jerram
Subject: Re: Conflicting types for unlock on QNX 6
Date: Fri, 10 Mar 2006 22:23:23 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Matt Kraai <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]