From: Philippe Gerum <rpm@xenomai.org>
To: Philippe Gerum <rpm@xenomai.org>
Cc: Xenomai-help@domain.hid
Subject: Re: [Xenomai-help] mutex_init() error when build
Date: Mon, 15 May 2006 13:43:09 +0200 [thread overview]
Message-ID: <4468694D.7080808@domain.hid> (raw)
In-Reply-To: <4468652B.1050704@domain.hid>
Philippe Gerum wrote:
> Li Yi (Adam) wrote:
>
>> Hi,
>>
>> I am using Xenomai-2.1.0 on Blackfin uClinux. When enabling "POSIX"
>> interface and build the kernel, I got error message:
>>
>
> It's a known issue involving a naming conflict between 2.6.16 and Xeno
> 2.1.x. This has been fixed in 2.2, but we will likely have to backport
> this fix.
This has already been fixed in 2.1.1. Please upgrade.
>
>> "make
>> make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -C linux-2.6.x || exit 1
>> make[1]: Entering directory
>> `/home/adam/workspace/kernel/adeos/uClinux-dist_0425/linux-2.6.x'
>> CHK include/linux/version.h
>> CHK include/linux/compile.h
>> CHK usr/initramfs_list
>> CC kernel/xenomai/skins/posix/syscall.o
>> kernel/xenomai/skins/posix/syscall.c:810: error: conflicting types for
>> '__mutex_init'
>> include/linux/mutex.h:94: error: previous declaration of
>> '__mutex_init' was here
>> kernel/xenomai/skins/posix/syscall.c:810: error: conflicting types for
>> '__mutex_init'
>> include/linux/mutex.h:94: error: previous declaration of
>> '__mutex_init' was here
>> make[5]: *** [kernel/xenomai/skins/posix/syscall.o] Error 1
>> make[4]: *** [kernel/xenomai/skins/posix] Error 2
>> make[3]: *** [kernel/xenomai/skins] Error 2
>> make[2]: *** [kernel/xenomai] Error 2
>> make[1]: *** [kernel] Error 2
>> "
>>
>> include/linux/mutex.h:
>>
>> extern void fastcall __mutex_init(struct mutex *lock, const char *name);
>>
>> The function definition is different. I tried to add "static" in
>> syscall.c: __mutex_init(), still cannot work. Could you please help?
>>
>> Thanks,
>> -Yi
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Xenomai-help mailing list
>> Xenomai-help@domain.hid
>> https://mail.gna.org/listinfo/xenomai-help
>
>
>
--
Philippe.
next prev parent reply other threads:[~2006-05-15 11:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-15 9:50 [Xenomai-help] mutex_init() error when build Li Yi (Adam)
2006-05-15 11:25 ` Philippe Gerum
2006-05-15 11:43 ` Philippe Gerum [this message]
2006-05-15 11:49 ` Gilles Chanteperdrix
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=4468694D.7080808@domain.hid \
--to=rpm@xenomai.org \
--cc=Xenomai-help@domain.hid \
/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.