From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.bugs Subject: Re: Conflicting types for unlock on QNX 6 Date: Fri, 10 Mar 2006 22:23:23 +0000 Message-ID: <87r75avt0k.fsf@ossau.uklinux.net> References: <20060308205710.GA3902@localhost.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142029669 26931 80.91.229.2 (10 Mar 2006 22:27:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2006 22:27:49 +0000 (UTC) Cc: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 10 23:27:48 2006 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FHq51-0002re-U4 for guile-bugs@m.gmane.org; Fri, 10 Mar 2006 23:27:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHq51-0003Yr-Al for guile-bugs@m.gmane.org; Fri, 10 Mar 2006 17:27:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FHq4v-0003Lj-Pl for bug-guile@gnu.org; Fri, 10 Mar 2006 17:27:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FHq4t-0003Jo-RR for bug-guile@gnu.org; Fri, 10 Mar 2006 17:27:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHq4t-0003Gl-9w for bug-guile@gnu.org; Fri, 10 Mar 2006 17:27:19 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FHq8G-0006Wl-Rt for bug-guile@gnu.org; Fri, 10 Mar 2006 17:30:49 -0500 Original-Received: from laruns (host86-129-144-246.range86-129.btcentralplus.com [86.129.144.246]) by mail3.uklinux.net (Postfix) with ESMTP id 26503409FA9; Fri, 10 Mar 2006 22:27:18 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 09C48D6D99; Fri, 10 Mar 2006 22:23:23 +0000 (GMT) Original-To: Matt Kraai In-Reply-To: <20060308205710.GA3902@localhost.localdomain> (Matt Kraai's message of "Wed, 8 Mar 2006 12:57:10 -0800") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3159 Archived-At: Matt Kraai 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 Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile