mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Cc: Michael Wisse <mwisse@hs-harz.de>
Subject: Re: [ptxdist] error building BSP
Date: Mon, 24 Jun 2013 17:21:05 +0200	[thread overview]
Message-ID: <2840303.eFDtlRzTkn@ws-stein> (raw)
In-Reply-To: <8d95666b4a34dda1.51c87e03@hs-harz.de>

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

  reply	other threads:[~2013-06-24 15:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3907.1372082837.2019.ptxdist@pengutronix.de>
2013-06-24 15:12 ` Michael Wisse
2013-06-24 15:21   ` Alexander Stein [this message]
2013-06-25 10:41     ` Michael Wisse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2840303.eFDtlRzTkn@ws-stein \
    --to=alexander.stein@systec-electronic.com \
    --cc=mwisse@hs-harz.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox