[Top] [All Lists]

Re: Information required

To: Adeel Malik <>
Subject: Re: Information required
From: Jun Sun <>
Date: Wed, 27 Aug 2003 09:51:27 -0700
In-reply-to: <10C6C1971DA00C4BB87AC0206E3CA38262718E@1aurora.enabtech>; from on Wed, Aug 27, 2003 at 07:30:26PM +0500
Original-recipient: rfc822;
References: <10C6C1971DA00C4BB87AC0206E3CA38262718E@1aurora.enabtech>
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.


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