Re: Small bug in 1.3.76

Bjorn Ekwall (bj0rn@blox.se)
Thu, 21 Mar 1996 17:09:30 +0100 (MET)


Andrew C. Esh <andrew_esh@cnt.com> wrote:
> I have a bug too. While compiling module support for the FAT
> file system, I got some errors pertaining to the "_basic_version"
> macro while I was compiling "fs/fat/fatfs_syms.c". It seems that
> the "X(a)" macro call (defined in "include/linux/symtab_begin.h")
> has been changed to call basic_version, which takes two arguments.

Are you _sure_ you did "make dep" on your kernel before compiling it?

If you look in "linux/include/linux/modversions.h", it should include
"<linux/modules/fatfs_syms.ver>". In "linux/include/linux/modules",
you should then have a file called "fatfs_syms.ver".
This file contains the "working material" for handling versioned symbols
for the fat module, and is generated by "genksyms" during "make dep".

The symbols that you see complaints about should be included in
fatfs_syms.ver, and the lines should look something like:

#define fat_code2uni _set_ver(fat_code2uni, 6832fb5c)
#define fat_uni2code _set_ver(fat_uni2code, 2cc9f9e1)
#define fat_readdirx _set_ver(fat_readdirx, b43bfe26)

If they _do_ look like this (or almost like this) and you still
have problems, mail me!

Cheers,

Bjorn <bj0rn@blox.se> <http://www.pi.se/blox/>

> --
> Andrew C. Esh mailto:andrew_esh@cnt.com
> IRC: DrChandra
> Computer Network Technology andrewes@mtn.org (finger for PGP key)
> 6500 Wedgwood Road 612.550.8000 (main)
> Maple Grove MN 55311 612.550.8229 (direct)
> http://www.cnt.com - CNT Inc. Home Page
> http://www.mtn.org/~andrewes - ACE Home Page