From: Wolfgang Grandegger <wg@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Build problem with xenomai-2.4 git head
Date: Wed, 30 Dec 2009 17:29:27 +0100 [thread overview]
Message-ID: <4B3B7FE7.4000504@domain.hid> (raw)
In-Reply-To: <4B3B7D11.6050400@domain.hid>
Gilles Chanteperdrix wrote:
> Wolfgang Grandegger wrote:
>> Hello,
>>
>> I get the following error when building GIT head of xenomai-2.4 for PowerPC:
>>
>> Making all in cyclic
>> make[3]: Entering directory `/work/wolf/pdm360ng/xenomai-2.4/src/testsuite/cyclic'
>> /bin/sh ../../../libtool --tag=CC --mode=link ../../../scripts/wrap-link.sh ppc-linux-gcc -Wl,@/work/wolf/pdm360ng/xenomai-2.4/src/skins/posix/posix.wrappers -o cyclictest cyclictest-cyclictest.o ../../skins/posix/libpthread_rt.la -lpthread -lrt
>> libtool: link: ../../../scripts/wrap-link.sh ppc-linux-gcc -Wl,@/work/wolf/pdm360ng/xenomai-2.4/src/skins/posix/posix.wrappers -o .libs/cyclictest cyclictest-cyclictest.o ../../skins/posix/.libs/libpthread_rt.so -lpthread -lrt -Wl,-rpath -Wl,/root/xenomai-2.4/lib
>> ../../skins/posix/.libs/libpthread_rt.so: undefined reference to `__real_shm_open'
>> ../../skins/posix/.libs/libpthread_rt.so: undefined reference to `__real_shm_unlink'
>> collect2: ld returned 1 exit status
>> make[3]: *** [cyclictest] Error 1
>> make[3]: Leaving directory `/work/wolf/pdm360ng/xenomai-2.4/src/testsuite/cyclic'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/work/wolf/pdm360ng/xenomai-2.4/src/testsuite'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/work/wolf/pdm360ng/xenomai-2.4/src'
>> make: *** [all-recursive] Error 1
>>
>> Any idea why the functions are missing?
>
> Yes, it is due to a recent patch. Though when they do not exist, they
> should not be called, could you show us the results of:
>
> grep HAVE_SHM src/include/xeno_config.h
$ export CROSS_COMPILE=ppc_6xx-
$ export ARCH=powerpc
$ ./configure --host=ppc-linux
$ grep HAVE_SHM src/include/xeno_config.h
#define HAVE_SHM_OPEN 1
#define HAVE_SHM_UNLINK 1
Wolfgang.
next prev parent reply other threads:[~2009-12-30 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 15:56 [Xenomai-core] Build problem with xenomai-2.4 git head Wolfgang Grandegger
2009-12-30 16:17 ` Gilles Chanteperdrix
2009-12-30 16:29 ` Wolfgang Grandegger [this message]
2009-12-30 16:30 ` Gilles Chanteperdrix
2009-12-30 16:35 ` Wolfgang Grandegger
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=4B3B7FE7.4000504@domain.hid \
--to=wg@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--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.