linux-mips
[Top] [All Lists]

Re: Updated:Error opening framebuffer device/Unknown symbol

To: kaka <share.kt@gmail.com>
Subject: Re: Updated:Error opening framebuffer device/Unknown symbol
From: Manuel Lauss <mano@roarinelk.homelinux.net>
Date: Thu, 25 Oct 2007 11:09:11 +0200
Cc: directfb-users@directfb.org, directfb-dev@directfb.org, linux-mips@linux-mips.org, uclinux-dev@uclinux.org, linux-fbdev-users@lists.sourceforge.net
In-reply-to: <eea8a9c90710250155h7534fdfajf7193921575e96fe@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <eea8a9c90710250155h7534fdfajf7193921575e96fe@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.16 (2007-06-09)
On Thu, Oct 25, 2007 at 02:25:40PM +0530, kaka wrote:
> Hi All,
> 
> Thanks for the overhelming responses.
> I was able to remove the problem of Unknown symbols by linking the proper
> libraries. Now the problem got reduced to the following messages.
> 
> # insmod brcmstfb.ko
> brcmstfb: Unknown symbol printf
> brcmstfb: Unknown symbol malloc
> brcmstfb: Unknown symbol free
> insmod: cannot insert `brcmstfb.ko': Unknown symbol in module (2): No such
> file or directory

kernel does not have the above mentioned functions, but you could
go over your code and replace all occurrences of the unknown symbols
with these:
printf -> printk
malloc -> kmalloc
free -> kfree

Pay attention to the different parameters used by some of those.

-- 
 ml.

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