From: LGW <large@lilymarleen.de>
To: linux-kernel@vger.kernel.org
Subject: porting-problem, module snd_echoaudio: Unknown relocation: 0
Date: Wed, 27 Aug 2003 08:45:19 +0200 [thread overview]
Message-ID: <3F4C537F.9020408@lilymarleen.de> (raw)
Hi there,
I'm new to this list, and I'm new to kernel coding. But I read the
introductions about the kernel structures, Makefiles and Modules, so I
think I know at least a little bit.
I'm trying to port a device driver (snd-echoaudio, which is an
additional driver for alsa) from 2.4.x kernel (alsa) to 2.6.x.
I *think* it should work the way I've done it, but it's a little bit
messy as the kernel modules needs some C++ files for the hardware
access. Additionally, those files need some system libraries (they
depend on <endian.h>, <time.h> and stuff).
This was no problem with the 2.4-kernel, but I think they way they are
linked might be the problem here.
Everything compiles and links fine, but when I try to load the module
(yes, I read the build instructions for 2.5/2.6 modules...) I get this:
Error inserting 'sound/pci/echoaudio/snd-echoaudio.ko': -1 Invalid
module format
while /var/log/kern.log says:
kernel: module snd_echoaudio: Unknown relocation: 0
I really don't know what to look for anymore, so I decided to ask for
your help. When I strip the driver from everything except init and exit,
I can load it, so the general build incantation should be alright...
regards,
Lars
BTW: the 2.6-kernel improvements are great. Thanks to everyone!!
reply other threads:[~2003-08-27 6:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3F4C537F.9020408@lilymarleen.de \
--to=large@lilymarleen.de \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox