Re: unresolved symbols: Compiler/modutils bug?

From: Tom Leete (tleete@mountain.net)
Date: Fri Feb 25 2000 - 20:48:19 EST


Serguei Miridonov wrote:
>
> Hello,
[...]
> 7. insmod buz.o -> unresolved symbol(s): bigphysarea_xxxxxxxxx
[...]
>
> EXPORT_SYMBOL(find_vma);
> EXPORT_SYMBOL(get_unmapped_area);
>
> #ifdef CONFIG_BIGPHYS_AREA
                       ^
This used to be CONFIG_BIGPHYSAREA

> EXPORT_SYMBOL(bigphysarea_alloc);
> EXPORT_SYMBOL(bigphysarea_free);
> EXPORT_SYMBOL(bigphysarea_alloc_pages);
> EXPORT_SYMBOL(bigphysarea_free_pages);
> EXPORT_SYMBOL(bigphysarea);
> #endif
>
> /* filesystem internal functions */
> EXPORT_SYMBOL(in_group_p);
> EXPORT_SYMBOL(update_atime);
>
> Well, I've thought, let's try stupid thing: remove (comment out)
> these conditional cpp statements:
>
> /* #ifdef CONFIG_BIGPHYS_AREA */
> EXPORT_SYMBOL(bigphysarea_alloc);
> EXPORT_SYMBOL(bigphysarea_free);
> EXPORT_SYMBOL(bigphysarea_alloc_pages);
> EXPORT_SYMBOL(bigphysarea_free_pages);
> EXPORT_SYMBOL(bigphysarea);
> /* #endif */
>
> /* filesystem internal functions */
> EXPORT_SYMBOL(in_group_p);
> EXPORT_SYMBOL(update_atime);
>
> Then. again compiling the kernel, modules and reboot... And now it
> works!
>
> So, what went wrong? Any ideas?
>
> --
> Serguei Miridonov CICESE, Research Center,

It looks like the marked typo in ksyms.c is the culprit.

Tom

-
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.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:14 EST