From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from steinadler.hs-harz.de ([194.95.195.77]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UrQhB-0003Do-5f for ptxdist@pengutronix.de; Tue, 25 Jun 2013 12:41:58 +0200 Received: from kampfadler.hs-harz.de ([194.95.195.79]) by steinadler.hs-harz.de (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0MOY001N731WFJ30@steinadler.hs-harz.de> for ptxdist@pengutronix.de; Tue, 25 Jun 2013 12:41:56 +0200 (CEST) Received: from kampfadler.hs-harz.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id CB5882A2E72 for ; Tue, 25 Jun 2013 12:41:55 +0200 (CEST) Received: from sendmail.hs-harz.de (fischadler.hs-harz.de [194.95.16.236]) by kampfadler.hs-harz.de (Postfix) with ESMTP id C60A02A2E71 for ; Tue, 25 Jun 2013 12:41:55 +0200 (CEST) Received: from steinadler.hs-harz.de ([194.95.195.77]:43437 helo=hs-harz.de) by sendmail.hs-harz.de with esmtp (Exim 4.71) (envelope-from ) id 1UrQhA-0007dX-Dh for ptxdist@pengutronix.de; Tue, 25 Jun 2013 12:41:56 +0200 Date: Tue, 25 Jun 2013 12:41:56 +0200 From: Michael Wisse In-reply-to: <2840303.eFDtlRzTkn@ws-stein> Message-id: MIME-version: 1.0 Content-language: de Content-disposition: inline References: <8d95666b4a34dda1.51c87e03@hs-harz.de> <2840303.eFDtlRzTkn@ws-stein> 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Yes, it helped. I had to install the package file-devel on CentOS6 (the pac= kage is not available for CentOS5). thanks and regards Michael ----- Urspr=FCngliche Nachricht ----- Von: Alexander Stein Datum: Montag, Juni 24, 2013 5:21 pm Betreff: Re: [ptxdist] error building BSP An: 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/plat= form-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/platf= orm-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/platf= orm-IO-IPC-Codesys/build-host/glib-2.28.1/glib' > > make[3]: Leaving directory `/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platf= orm-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/platf= orm-IO-IPC-Codesys/build-host/glib-2.28.1' > > make[1]: Leaving directory `/home/local/IPC-BSP-r0.3/ipc/ipc-dist/platf= orm-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 -- = ptxdist mailing list ptxdist@pengutronix.de