From: "Wayne Call" <wcall@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Section Mismatch
Date: Fri, 10 Apr 2009 14:22:02 -0600 [thread overview]
Message-ID: <000001c9ba1a$02e1ac70$08a50550$@com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]
I get the following "Section mismatch" warnings when attempting to build the
lm73_rtdm.c and lpl_twi_uart_rtdm.c drivers. What causes a mismatch?
WARNING: arch/blackfin/mach-bf537/boards/lm73_rtdm.o - Section mismatch:
reference to .init.data:_device_tmpl from .text between
'_rt_lm73_sensor_device_create' (at offset 0x108) and
'_rt_lm73_sensor_ioctl'
WARNING: arch/blackfin/mach-bf537/boards/lm73_rtdm.o - Section mismatch:
reference to .init.data:_device_tmpl from .text between
'_rt_lm73_sensor_device_create' (at offset 0x114) and
'_rt_lm73_sensor_ioctl'
WARNING: arch/blackfin/mach-bf537/boards/lpl_twi_uart_rtdm.o - Section
mismatch: reference to .init.data:_device_tmpl from .text after
'_rt_lpl_twi_uart_device_create' (at offset 0x298)
WARNING: arch/blackfin/mach-bf537/boards/lpl_twi_uart_rtdm.o - Section
mismatch: reference to .init.data:_device_tmpl from .text after
'_rt_lpl_twi_uart_device_create' (at offset 0x2a4)
The "Section mismatch" might be related to the following code?
static const struct rtdm_device __initdata device_tmpl = {
struct_version: RTDM_DEVICE_STRUCT_VER,
device_flags: RTDM_NAMED_DEVICE | RTDM_EXCLUSIVE,
device_name: "",
open_rt: rt_lm73_sensor_open,
ops: {
close_rt: rt_lm73_sensor_close,
ioctl_rt: rt_lm73_sensor_ioctl,
},
device_class: RTDM_CLASS_LM73,
driver_name: "lm73_sensor_rtd",
driver_version: RTDM_DRIVER_VER(1, 0, 0),
peripheral_name: "i2c_lm73",
provider_name: "LonePeakLabs.Inc",
};
Wayne
[-- Attachment #2: Type: text/html, Size: 8169 bytes --]
next reply other threads:[~2009-04-10 20:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-10 20:22 Wayne Call [this message]
2009-04-11 20:18 ` [Xenomai-help] Section Mismatch Gilles Chanteperdrix
2009-04-13 21:24 ` Wayne Call
2009-04-13 22:09 ` Jan Kiszka
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='000001c9ba1a$02e1ac70$08a50550$@com' \
--to=wcall@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.