From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 06:03:56 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 8616816A4CE for ; Sun, 6 Feb 2005 06:03:56 +0000 (GMT) Received: from makeworld.com (makeworld.com [198.92.228.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 145CA43D3F for ; Sun, 6 Feb 2005 06:03:56 +0000 (GMT) (envelope-from racerx@makeworld.com) Received: from localhost (localhost.com [127.0.0.1]) by makeworld.com (Postfix) with ESMTP id 4E24F60EA; Sun, 6 Feb 2005 00:03:55 -0600 (CST) Received: from makeworld.com ([127.0.0.1]) by localhost (makeworld.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 46975-03; Sun, 6 Feb 2005 00:03:52 -0600 (CST) Received: from [127.0.0.1] (racerx.makeworld.com [198.92.228.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by makeworld.com (Postfix) with ESMTP id 5F2A760E7; Sun, 6 Feb 2005 00:03:52 -0600 (CST) Message-ID: <4205B33F.20209@makeworld.com> Date: Sun, 06 Feb 2005 00:03:43 -0600 From: Chris User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian John References: <4205B299.9080403@fusemail.com> In-Reply-To: <4205B299.9080403@fusemail.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by ClamAV 0.75.1/amavisd-new-2.2.1 (20041222) at makeworld.com - Isn't it ironic cc: freebsd-questions@freebsd.org 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:03:56 -0000 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 Step 1: Learn C Step 2: If you don't want to learn C, use the ports tree. Step 3: If you don't use either option 1 or 2, pay someone that does. Step 4: Go back to Windows if above options are not possible. -- Best regards, Chris The label "new" and/or "improved" means the price went up.