From owner-freebsd-sparc Sun Jan 12 11:30:33 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B36DE37B401 for ; Sun, 12 Jan 2003 11:30:32 -0800 (PST) Received: from libra.cs.put.poznan.pl (libra.cs.put.poznan.pl [150.254.30.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A66643ED8 for ; Sun, 12 Jan 2003 11:30:24 -0800 (PST) (envelope-from piotr.wozniak@cs.put.poznan.pl) Received: from libra.cs.put.poznan.pl (localhost [127.0.0.1]) by libra (Postfix on VMS) with SMTP id E289C55A for ; Sun, 12 Jan 2003 20:30:22 +0100 (CET) Received: from dcs-pw (dcs-pw.cs.put.poznan.pl [150.254.31.188]) by libra.cs.put.poznan.pl (Postfix on VMS) with ESMTP id C3CFC39 for ; Sun, 12 Jan 2003 20:30:22 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed To: freebsd-sparc@FreeBSD.ORG Subject: compiling postgresql7 failed From: =?iso-8859-2?B?UGlvdHIgV2+8bmlhaw==?= Organization: PUT Date: Sun, 12 Jan 2003 20:30:23 +0100 Message-ID: User-Agent: Opera M2 7.0 build 2349 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I can't compile Postgresql7... (5.0-RC2, sparc64, gcc version 3.2.1) Is there any way to avoid such errors? Should I modify C++ code?? ---------------------------------------- cc -O -pipe -Wall -Wmissing-prototypes -Wmissing-declarations - I../../../../src/include -I/usr/local/include -c -o xid.o xid.c cc -O -pipe -Wall -Wmissing-prototypes -Wmissing-declarations - I../../../../src/include -I/usr/local/include -c -o xlog.o xlog.c In file included from ../../../../src/include/storage/spin.h:50, from xlog.c:41: ../../../../src/include/storage/s_lock.h:184: syntax error before '*' token ../../../../src/include/storage/s_lock.h:185: warning: return type defaults to `int' ../../../../src/include/storage/s_lock.h:185: warning: no previous prototype for `tas' ---------------------------------------- Piotr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message