linux-mips
[Top] [All Lists]

Re: Information required

To: Adeel Malik <AdeelM@avaznet.com>
Subject: Re: Information required
From: Jun Sun <jsun@mvista.com>
Date: Wed, 27 Aug 2003 09:51:27 -0700
Cc: linux-mips@linux-mips.org, jsun@mvista.com
In-reply-to: <10C6C1971DA00C4BB87AC0206E3CA38262718E@1aurora.enabtech>; from AdeelM@avaznet.com on Wed, Aug 27, 2003 at 07:30:26PM +0500
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <10C6C1971DA00C4BB87AC0206E3CA38262718E@1aurora.enabtech>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
On Wed, Aug 27, 2003 at 07:30:26PM +0500, Adeel Malik wrote:
> Hi All,
>            I am involved in Embedded Linux Development for MIPS Processor. I
> need to write a device driver for a MIPS Target Platform. When I insmod the
> driver.o file, the linux bash script running on the target hardware gives me
> the error message like ;
> 1. unable to resolve the printk function
> 2. unable to resolve the register_chardev function
> etc.
> Can you plz give me the direction as to how to proceed to tackle this
> situation.

Make sure your kernel compiled with module option turned on.
Does it use module version (CONFIG_MODVERSIONS)?
If so, add -DMODVERSIONS -include $(KERNEL_PATH)/include/linux/modversions.h
to your CFLAGS.

Jun

<Prev in Thread] Current Thread [Next in Thread>