From: Raffaele Ianniello <raffaele.ianniello@studio.unibo.it>
To: linux-kernel@vger.kernel.org
Date: Sat, 5 Mar 2005 11:11:08 +0100 [thread overview]
Message-ID: <1110017468.422985bc70540@posta.studio.unibo.it> (raw)
I have a problem compiling a module that I am porting form 2.4 to 2.6 linux kernel.
Compiling with this Makefile:
DEBUG = y
KERNELDIR = /usr/src/linix.2.6.9
SUBDIR = $(KERNELDIR)/drivers/snoop
INCLUDEDIR = $(KERNELDIR)/include
obj-m := snoop.o
modules: $(MAKE) -C $(KERNELDIR) SUBDIR=$(SUBDIR) modules
clean:
rm -f *.o
rm -f *.ko
apperars some lines like:
***Warning: "snoop_ip_forward" [drivers/snoop/snoop] is COMMON symbol
***Warning: "snoop_ip_forward_finish" [drivers/snoop/snoop] is COMMON symbol
and I have insert in ip_forward.c some lines:
extern int (* snoop_ip_forward_finish) (struct sk_buff *);
and this is in function ip_forward():
if(snoop_ip_forward && (*snoop_ip_forward)(skb) == -6)
goto drop;
then when I try to install the module it repyes with:
insmod: error inserting 'snoop.ko': -1 Invalid module format
and in /var/log/message appears some lines line:
kernel: snoop: Unknown symbol __floatsidf
kernel: snoop: Unknown symbol __fixunsdfsi
kernel: snoop: Unknown symbol __adddf3
kernel: snoop: Unknown symbol __muldf3
I will be very pleased if you can help me in some way.
thank you for your time
regards,
Raffaele
next reply other threads:[~2005-03-05 10:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-05 10:11 Raffaele Ianniello [this message]
2005-03-05 18:14 ` Randy.Dunlap
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=1110017468.422985bc70540@posta.studio.unibo.it \
--to=raffaele.ianniello@studio.unibo.it \
--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 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.