On Fri, 12 Oct 2007, kaka wrote:
> Actually we are the writer of the device driver file.
> We don't have any supplier.
> Although we have all the library and .so files.
The kernel does not load .so files.
> But it is not able to find the above mentioned symbols in the kernel table.
> COuld you plz let us know how to link the kernel symbol so that the KLM
> brcmstfb.ko can find the symbols?
Do not use printf(), malloc(), and free() from a kernel module.
Make sure to enable frame buffer support (and load the module if it's
modular).
There's no symbol named brcm_dir_entry in the kernel.
> On 10/12/07, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > On Fri, 12 Oct 2007, kaka wrote:
> > > > WHile installing framebuffer driver for BCM chip in MIPS
> > platform(cross
> > > > compiled in intel 86).
> > > > I am getting the following error.
> > > >
> > >
> > > Since it is cross compiled and running on MIPS platform, the linux
> > doesn't
> > > support modinfo command to find the dependencies.
> >
> > Really? I just tried `modinfo' of an ia32 box on a cross-compiled module
> > for a ppc64 box, and it worked fine.
> >
> > > > # insmod brcmstfb.ko
> > > > brcmstfb: Unknown symbol unregister_framebuffer
> > > > brcmstfb: Unknown symbol printf
> > > > brcmstfb: Unknown symbol __make_dp
> > > > brcmstfb: Unknown symbol malloc
> > > > brcmstfb: Unknown symbol framebuffer_alloc
> > > > brcmstfb: Unknown symbol fb_find_mode
> > > > brcmstfb: Unknown symbol fb_dealloc_cmap
> > > > brcmstfb: Unknown symbol brcm_dir_entry
> > > > brcmstfb: Unknown symbol register_framebuffer
> > > > brcmstfb: Unknown symbol fb_alloc_cmap
> > > > brcmstfb: Unknown symbol framebuffer_release
> > > > brcmstfb: Unknown symbol free
> >
> > As mentioned before, please talk to the supplier of your module about
> > these
> > references to `printf', `malloc', and `free'.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
|