All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Damir Anicic <Damir.Anicic@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Novice - help needed
Date: Mon, 12 Dec 2011 09:53:53 +0100	[thread overview]
Message-ID: <4EE5C121.70104@domain.hid> (raw)
In-Reply-To: <4EE5BE9F.4060706@domain.hid>

On 12/12/2011 09:43 AM, Damir Anicic wrote:
> Thanx, that worked, except it is  -fno-omit-frame-pointer   (without s 
> at the end)
> 
> I have another problem now - trying examples/posix :
> 
>  >>> make ARCH=x86 all
> make -C /lib/modules/2.6.38.8-xenomai/build ARCH=x86 CROSS_COMPILE= 
> SUBDIRS=/home/anicic/ttt/posix modules
> make[1]: Entering directory `/home/anicic/Xenomai/linux-2.6.38.8'
>   CC [M]  /home/anicic/ttt/posix/satch.o
> /home/anicic/ttt/posix/satch.c: In function ‘__xeno_user_init’:
> /home/anicic/ttt/posix/satch.c:296:5: warning: ‘pthread_create’ is 
> deprecated (declared at 
> /lib/modules/2.6.38.8-xenomai/build/include/xenomai/posix/pthread.h:270) 
> [-Wdeprecated-declarations]
>   Building modules, stage 2.
>   MODPOST 1 modules
> WARNING: "pse51_shm_close" [/home/anicic/ttt/posix/satch.ko] undefined!
> WARNING: "mmap" [/home/anicic/ttt/posix/satch.ko] undefined!
> WARNING: "ftruncate" [/home/anicic/ttt/posix/satch.ko] undefined!
> WARNING: "shm_open" [/home/anicic/ttt/posix/satch.ko] undefined!
> WARNING: "shm_unlink" [/home/anicic/ttt/posix/satch.ko] undefined!
> WARNING: "munmap" [/home/anicic/ttt/posix/satch.ko] undefined!
>   CC      /home/anicic/ttt/posix/satch.mod.o
>   LD [M]  /home/anicic/ttt/posix/satch.ko
> make[1]: Leaving directory `/home/anicic/Xenomai/linux-2.6.38.8'
> rm -f *.o
> 
>  >>> sudo insmod satch.ko
> insmod: error inserting 'satch.ko': -1 Unknown symbol in module
> 
>  >>> dmesg
> [ 3988.840669] satch: Unknown symbol munmap (err 0)
> [ 3988.840739] satch: Unknown symbol shm_open (err 0)
> [ 3988.840990] satch: Unknown symbol pse51_shm_close (err 0)
> [ 3988.841138] satch: Unknown symbol ftruncate (err 0)
> [ 3988.841204] satch: Unknown symbol mmap (err 0)
> [ 3988.841527] satch: Unknown symbol shm_unlink (err 0)

These are posix shared memory services. They are probably not enabled in
your kernel configuration.

Please no private mails.

-- 
                                                                Gilles.



      parent reply	other threads:[~2011-12-12  8:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09  8:39 [Xenomai-help] Novice - help needed Damir Anicic
2011-12-09 21:05 ` Gilles Chanteperdrix
     [not found]   ` <4EE5BE9F.4060706@domain.hid>
2011-12-12  8:53     ` Gilles Chanteperdrix [this message]

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=4EE5C121.70104@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Damir.Anicic@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.