All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: vibnwis <vibnwis@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Installing xenomai libraries ARM OMAP4460
Date: Tue, 22 Sep 2015 04:21:13 +0200	[thread overview]
Message-ID: <20150922022113.GD28220@hermes.click-hack.org> (raw)
In-Reply-To: <CAFkYNwYS1NLVK9Kx7ZiVWaM37mLRyfLMFHMV9=on1yjhTux6Fw@mail.gmail.com>

On Tue, Sep 22, 2015 at 02:13:55PM +1200, vibnwis wrote:
> On 22 September 2015 at 02:46, Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org> wrote:
> 
> > On Mon, Sep 21, 2015 at 10:16:53PM +1200, vibnwis wrote:
> > > Hi Gilles,
> > >
> > > I managed to get autoreconf -if to work, and advanced to compiling the
> > > xenomai. However, yet not to the end. I got the following error. Then I
> > > switch xenomai-gch. The same error as well. Hence, I changed the CC to
> > > Ubuntu arm-linux-gnueabihf package. The same error too. The errors are as
> > > follow.
> > >
> > > checking for ARM machine... configure: error: Selecting a machine with
> > > --enable-arm-mach is mandatory
> > >
> > > and the command is  ./configure CFLAGS="-march=armv7-a -mfpu=vfp3"
> > > LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp
> > > --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf
> > >
> > > if I added --enable-arm-mach, I get error messages "checking for ARM
> > > machine... configure: error: Invalid machine selected: "yes"".
> > >
> > > Googles don't seem to get any positive resolution. Appreciate any
> > > comments.
> >
> > You are trying to compile an outdated version of Xenomai, Xenomai
> > version 2.5 or earlier. You can have access to the installation
> > instructions for that particular version in the sources (the file is
> > named README.INSTALL at the top of the sources tree), or on the
> > website, using the URL:
> >
> > http://xenomai.org/documentation/xenomai-2.5/README.INSTALL
> >
> > for instance, if installing the version 2.5. Replace 2.5 with the
> > version you are actually installing.
> >
> 
> I use Xenomai-3 of which I use patches namely
> kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch patched the
> kernel 3.18.12. And under Xenomai-3, I autoreconf -fi to create a configure
> file and finally make it xenomai libs and test apps. Under the installed is
> has two directory, dev and usr. Under the usr/ it has xenomai/bin, etc.

So, you got passed the error "Selecting a machine with --enable-arm-mach
is mandatory" finally? It is a bit hard to follow your progress.

> 
> Have I missed out anything? in terms getting it the test apps as well as
> the related device files to work.

To see if xenomai is installed correctly, see:
http://xenomai.org/installing-xenomai-3-x/#Testing_the_installation

For the device files, see Lennart answer here:
http://xenomai.org/pipermail/xenomai/2015-September/035111.html

-- 
					    Gilles.
https://click-hack.org


  reply	other threads:[~2015-09-22  2:21 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-19 14:58 [Xenomai] Installing xenomai libraries ARM OMAP4460 vibnwis
2015-09-19 15:11 ` Gilles Chanteperdrix
2015-09-19 15:14   ` Gilles Chanteperdrix
2015-09-20  0:09     ` vibnwis
2015-09-20  8:04       ` vibnwis
2015-09-20  8:11         ` Gilles Chanteperdrix
2015-09-20 12:02           ` vibnwis
2015-09-20  8:17         ` Gilles Chanteperdrix
2015-09-20  9:39           ` vibnwis
2015-09-20 14:14             ` Gilles Chanteperdrix
2015-09-20 17:03             ` Gilles Chanteperdrix
2015-09-21 10:16               ` vibnwis
2015-09-21 14:46                 ` Gilles Chanteperdrix
2015-09-22  2:13                   ` vibnwis
2015-09-22  2:21                     ` Gilles Chanteperdrix [this message]
2015-09-22  2:31                       ` vibnwis
2015-09-22  3:51                         ` Gilles Chanteperdrix
2015-09-22  6:18                           ` vibnwis
2015-09-22  2:28                     ` vibnwis
2015-09-22  3:52                       ` Gilles Chanteperdrix
2015-09-22  5:55                         ` vibnwis
2015-09-20  8:07       ` Gilles Chanteperdrix
2015-09-21 12:59         ` vibnwis
2015-09-21 13:33           ` vibnwis
2015-09-21 13:41             ` vibnwis

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=20150922022113.GD28220@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=vibnwis@gmail.com \
    --cc=xenomai@xenomai.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.