From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 06:07:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB2C316A4CE for ; Sun, 6 Feb 2005 06:07:07 +0000 (GMT) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3293443D3F for ; Sun, 6 Feb 2005 06:07:07 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out010.verizon.net ESMTP <20050206060706.ZFAU25879.out010.verizon.net@ringworm.mechee.com>; Sun, 6 Feb 2005 00:07:06 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 6DA6C2CE745; Sat, 5 Feb 2005 22:03:06 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org User-Agent: KMail/1.7.2 References: <4205B299.9080403@fusemail.com> In-Reply-To: <4205B299.9080403@fusemail.com> MIME-Version: 1.0 Content-Disposition: inline Date: Sat, 5 Feb 2005 22:03:05 -0800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200502052203.06122.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [4.26.84.7] at Sun, 6 Feb 2005 00:07:06 -0600 cc: Brian John Subject: Re: How to compile linux apps? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 06:07:07 -0000 On Saturday 05 February 2005 10:00 pm, Brian John wrote: > Hello, I'm trying to compile the 'allin1' dockapp for fluxbox. When > I type 'make', I get the following errors: > n# make > gcc -ggdb -Wall -O2 -c allin1.c > allin1.c:32:22: X11/Xlib.h: No such file or directory > In file included from allin1.c:34: > dockhelper.h:86: error: syntax error before '*' token > dockhelper.h:89: error: syntax error before "p" > dockhelper.h:92: error: syntax error before '*' token > dockhelper.h:95: error: syntax error before "src" > dockhelper.h:98: error: syntax error before '*' token > dockhelper.h:98: warning: type defaults to `int' in declaration of > `dh_display' > dockhelper.h:98: warning: data definition has no type or storage > class In file included from allin1.c:37: > cpu.h:54: error: syntax error before "Pixmap" > allin1.c: In function `main': > allin1.c:174: error: syntax error before "event" > allin1.c:414: warning: implicit declaration of function `XPending' > allin1.c:415: warning: implicit declaration of function `XNextEvent' > allin1.c:415: error: `event' undeclared (first use in this function) > allin1.c:415: error: (Each undeclared identifier is reported only > once allin1.c:415: error: for each function it appears in.) > allin1.c:417: error: `Expose' undeclared (first use in this function) > allin1.c:418: warning: implicit declaration of function > `XCheckTypedEvent' allin1.c:421: error: `DestroyNotify' undeclared > (first use in this function) allin1.c:422: warning: implicit > declaration of function `XCloseDisplay' *** Error code 1 > > Stop in /usr/home/brian/allin1-0.5.0/src. > > > Any clue how I can compile this? > > Thanks > > /Brian I'm assuming this is not a port. Try ./configure --prefix=/usr/local then make -Mike CORRECTION ./configure --prefix=/usr/X11R6