All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: roderik.wildenburg@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Some problems with shared memory
Date: Wed, 17 Jun 2009 16:19:35 +0200	[thread overview]
Message-ID: <1245248375.9280.3.camel@domain.hid> (raw)
In-Reply-To: <5D63919D95F87E4D9D34FF7748CE2C2A01A87CD6@domain.hid>

On Wed, 2009-06-17 at 13:40 +0200, roderik.wildenburg@domain.hid
wrote:
> Hello, 
> 
> > On Tue, 2009-06-16 at 15:20 +0200, roderik.wildenburg@domain.hid
> > wrote:
> > > Hi,
> > > 
> > > I applied your ipipe-patch to our 2.4.25 ppc kernel, but 
> > unfortunatelly I now can´t compile the kernel any more.
> > > I get following error messages :
> > > 
> > > ipipe.c:393: error: `__switch_to' undeclared here (not in a 
> > function)
> > > ipipe.c:393: error: initializer element is not constant
> > > ipipe.c:393: error: (near initialization for 
> > `__ksymtab___switch_to.value')
> > > ipipe.c:394: error: `show_stack' undeclared here (not in a function)
> > > ipipe.c:394: error: initializer element is not constant
> > > ipipe.c:394: error: (near initialization for 
> > `__ksymtab_show_stack.value')
> > > ipipe.c:393: error: __ksymtab___switch_to causes a section 
> > type conflict
> > > ipipe.c:394: error: __ksymtab_show_stack causes a section 
> > type conflict
> > > make[1]: *** [ipipe.o] Fehler 1
> > > 
> > > 
> > > 
> > > Our hardware is based on a freescale 5200B, so, as far as I 
> > understand your question about PICs, your patch should work 
> > for our hardware (I hope).
> > 
> > This patch is based on the current HEAD of
> > git://www.denx.de/git/linuxppc_2_4_devel.git
> > (commit 5bab6d641ff5ba139f9f41869502cb7c96d785bc)
> > 
> > The patched kernel builds and runs fine using lite5200b_defconfig.
> > 
> 
> Our kernel isn´t HEAD but is close to (2 or 3 commits before HEAD).
> Nevetheless I checked out HEAD and used the lite5200b_defconfig.
> Indeed the kernel compiles fine with this configuration. 
> After comparing the lite5200b configuration with our one (uc101) and playing around quite a while with the options I figured out that "CONFIG_MODULES=y" does the trick. Activating this option leads to the errors I described in my ealier mails. Please find attached the .config I used to produce the compile errors.
> Do you have an idea what I have to change in the 2.0-Ipipe-patch to make it work with CONFIG_MODULES enabled.
> 

The EXPORT directives were wrong, actually copied&pasted as is from 2.6.
Try this patch instead:

http://download.gna.org/adeos/patches/v2.4/ppc/adeos-ipipe-2.4.25-ppc-DENX-2.0-01.patch


> Thank you for your help and best regards 
> Roderik
> 
> --------------------------------------------------------
> manroland AG
> Vorsitzender des Aufsichtsrates: Hanno C. Fiedler
> Vorstand: Gerd Finkbeiner (Vorsitzender), Dr. Ingo Koch, Dr. Markus Rall, Paul Steidle   
> Sitz der Gesellschaft: Offenbach am Main, Registergericht: Amtsgericht Offenbach HRB-Nr. 42592
> USt-Ident-Nr. DE 250200933
-- 
Philippe.




  reply	other threads:[~2009-06-17 14:19 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-30  9:31 [Xenomai-help] Some problems with shared memory roderik.wildenburg
2009-03-30 12:14 ` Gilles Chanteperdrix
2009-03-31 11:52   ` roderik.wildenburg
2009-04-06  8:47     ` roderik.wildenburg
2009-05-03 20:21 ` Gilles Chanteperdrix
2009-05-04  7:23   ` Wolfgang Denk
2009-05-04  8:49     ` Gilles Chanteperdrix
2009-05-04 15:24     ` Thomas Lockhart
2009-05-04 18:01       ` Wolfgang Denk
2009-05-04 18:33         ` Gilles Chanteperdrix
2009-05-05 12:16           ` roderik.wildenburg
2009-05-29 18:42             ` Gilles Chanteperdrix
2009-06-08  8:25               ` roderik.wildenburg
2009-06-08 20:36                 ` Gilles Chanteperdrix
2009-06-09  6:30                   ` roderik.wildenburg
2009-06-09 13:28                 ` Philippe Gerum
2009-06-09 13:38                   ` Philippe Gerum
2009-06-10 11:47                   ` roderik.wildenburg
2009-06-12 14:06                     ` Philippe Gerum
2009-06-16 13:20                       ` roderik.wildenburg
2009-06-16 13:45                         ` Philippe Gerum
2009-06-17 11:40                           ` roderik.wildenburg
2009-06-17 14:19                             ` Philippe Gerum [this message]
2009-06-18  8:37                               ` roderik.wildenburg
2009-06-18  8:51                                 ` Philippe Gerum
2009-05-05 16:36         ` Thomas Lockhart
2009-05-05 19:03           ` Wolfgang Denk

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=1245248375.9280.3.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=roderik.wildenburg@domain.hid \
    --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.