mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] error building BSP
       [not found] <mailman.3907.1372082837.2019.ptxdist@pengutronix.de>
@ 2013-06-24 15:12 ` Michael Wisse
  2013-06-24 15:21   ` Alexander Stein
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Wisse @ 2013-06-24 15:12 UTC (permalink / raw)
  To: ptxdist

Hello,

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

 

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] error building BSP
  2013-06-24 15:12 ` [ptxdist] error building BSP Michael Wisse
@ 2013-06-24 15:21   ` Alexander Stein
  2013-06-25 10:41     ` Michael Wisse
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2013-06-24 15:21 UTC (permalink / raw)
  To: ptxdist; +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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] error building BSP
  2013-06-24 15:21   ` Alexander Stein
@ 2013-06-25 10:41     ` Michael Wisse
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Wisse @ 2013-06-25 10:41 UTC (permalink / raw)
  To: ptxdist

Yes, it helped. I had to install the package file-devel on CentOS6 (the package is not available for CentOS5).

thanks and regards
Michael



----- Ursprüngliche Nachricht -----
Von: Alexander Stein <alexander.stein@systec-electronic.com>
Datum: Montag, Juni 24, 2013 5:21 pm
Betreff: Re: [ptxdist] error building BSP
An: ptxdist@pengutronix.de
Cc: Michael Wisse <mwisse@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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-25 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3907.1372082837.2019.ptxdist@pengutronix.de>
2013-06-24 15:12 ` [ptxdist] error building BSP Michael Wisse
2013-06-24 15:21   ` Alexander Stein
2013-06-25 10:41     ` Michael Wisse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox