Re: unresolve fb_display II

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Wed, 5 Aug 1998 10:09:39 +0200 (CEST)


On Wed, 5 Aug 1998, Jan Kneschke wrote:
> On Sun, 2 Aug 1998, Jan Kneschke wrote:
> > weigon:/linux2/home/weigon/degas/kgicon/kgi # insmod kgicon.o ;
> > ../util/con2fbmap 0 1
> > kgicon.o: unresolved symbol fb_display
> i have installed a new linux-2.1.114 and selected the following fb-options:
> CONFIG_FB=y
> CONFIG_DUMMY_CONSOLE=y
> CONFIG_FB_VGA=m
> CONFIG_FB_VESA=y
^
> CONFIG_VIDEO_SELECT=y
> CONFIG_FB_MDA=m
> CONFIG_FB_VIRTUAL=m
> CONFIG_FBCON_ADVANCED=y
> CONFIG_FBCON_MFB=m
> CONFIG_FBCON_CFB2=m
> CONFIG_FBCON_CFB4=m
> CONFIG_FBCON_CFB8=m
^
> CONFIG_FBCON_CFB16=m
^
> CONFIG_FBCON_CFB24=m
^
> CONFIG_FBCON_CFB32=m
^
> CONFIG_FBCON_VGA=m
> CONFIG_FBCON_FONTS=y
> CONFIG_FONT_8x8=y
> CONFIG_FONT_8x16=y

Hmm, you won't see much on vesafb if the CFB* drivers aren't compiled in. They
are not loadable by kmod, so you have to compile them in if vesafb is in!
Please use CONFIG_FBCON_ADVANCED=n, unless you know what you're doing.

Anyone who wants to add init_module() etc. calls to vesafb.c?

> the whole kernel is compile by egcs
> egcs-2.90.29 980515 (egcs-1.0.3 release)
> libc-5.4.44
> ld.so.1.9.9
> binutils-2.9.1.0.7
>
> and here is the output if i try to insert the fb-modules:
> weigon:/lib/modules/2.1.114/video # insmod fbcon-vga.o
> weigon:/lib/modules/2.1.114/video # insmod vgafb.o
> vgafb.o: unresolved symbol fb_display

The fb_display symbol is exported on my system (grep fb_display /proc/ksyms).
I'm using the vger tree (current) on a CHRP/PPC box.

> fb_display is in the kernel.
>
> weigon@weigon:/linux2/home/weigon > nm linux/vmlinux | grep fb_display
> c0236eac B fb_display
>
> but the 'B' tells me
>
> 'B'
> The symbol is in the uninitialized data section (known as
> BSS).
>
> is this correct ?? please check at your linux-box.

That's correct.

> is someone else using egcs ??

Yes.

| callisto$ gcc -v
| Reading specs from /opt/egcs/lib/gcc-lib/powerpc-unknown-linux-gnulibc1/egcs-2.90.25/specs
| gcc version egcs-2.90.25 980302 (egcs-1.0.2 prerelease)
| callisto$

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html