From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from webbox1416.server-home.net ([77.236.96.61]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Ur8Zo-0005XQ-Gy for ptxdist@pengutronix.de; Mon, 24 Jun 2013 17:21:09 +0200 From: Alexander Stein Date: Mon, 24 Jun 2013 17:21:05 +0200 Message-ID: <2840303.eFDtlRzTkn@ws-stein> In-Reply-To: <8d95666b4a34dda1.51c87e03@hs-harz.de> References: <8d95666b4a34dda1.51c87e03@hs-harz.de> MIME-Version: 1.0 Subject: Re: [ptxdist] error building BSP Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Michael Wisse Hello Michael, On Monday 24 June 2013 17:12:35, Michael Wisse wrote: > I am a PTXdist beginner and try to use a preconfigured BSP, which is based on PTXdist 2011-03.1 . The BSP is for a WAGO I/O-PC with Geode-CPU. > > I installed the BSP on CentOS 5.8 and tried "ptxdist go" with no success. linux/magic.h is missing. > > Does it mean, that linux.h is missing in the BSPs sourcetree or in the host sourcetree? > > What can I do? > > thanks for support > Michael > > Here a part of the output from "ptxdist go": > > Making all in . > make[5]: Entering directory `/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platform-IO-IPC-Codesys/build-host/glib-2.28.1/glib' > CC gfileutils.lo > CC gmarkup.lo > CC gmessages.lo > CC gmem.lo > CC gnode.lo > gfileutils.c:57:25: error: linux/magic.h: No such file or directory > gfileutils.c: In function 'write_to_temp_file': > gfileutils.c:1015: warning: label 'no_fsync' defined but not used > make[5]: *** [gfileutils.lo] Error 1 > make[5]: *** Waiting for unfinished jobs.... > CC goption.lo > make[5]: Leaving directory `/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platform-IO-IPC-Codesys/build-host/glib-2.28.1/glib' > make[4]: *** [all-recursive] Error 1 > make[3]: *** [all] Error 2 > make[4]: Leaving directory `/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platform-IO-IPC-Codesys/build-host/glib-2.28.1/glib' > make[3]: Leaving directory `/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platform-IO-IPC-Codesys/build-host/glib-2.28.1/glib' > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all] Error 2 > make[2]: Leaving directory `/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platform-IO-IPC-Codesys/build-host/glib-2.28.1' > make[1]: Leaving directory `/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platform-IO-IPC-Codesys/build-host/glib-2.28.1' > make: *** [/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platform-IO-IPC-Codesys/state/host-glib.compile] Error 2 You are currently building glib for your host (see build-host/glib-2.28.1 in your paths). So I would guess, that you are missing linux-headers (or what name that package has for CentOS). HTH Alexander -- ptxdist mailing list ptxdist@pengutronix.de