[OpenAFS] libafs: Unknown symbol init_pid_ns

Marc Dionne marc.c.dionne@gmail.com
Fri, 19 Sep 2008 13:30:23 -0400


On Fri, Sep 19, 2008 at 12:57 AM, Axel Thimm <Axel.Thimm@atrpms.net> wrote:
> Hi,
>
> Angel Marin patched up ATrpms' package to support 2.6.26 with the
> STABLE14-linux-2626-support-20080608.patch. While the package builds
> fine, modprobing libafs gives an unknown symbol init_pid_ns.
>
> http://bugzilla.atrpms.net/show_bug.cgi?id=1450
>
> This does not happen in Angel's local build, which hints to different
> build environments. Any idea what the issue is and how to fix it?
>
> Thanks!
> --
> Axel.Thimm at ATrpms.net

Hi,

Is "EXPORTED_FIND_TASK_BY_PID" defined in src/config/afsconfig.h?
Sounds like a configure test that didn't come out correctly.

BTW it would be a useful improvement to the build system to fail the
build of the module when there are undefined symbols.  There are
warnings in the build log but they're not obvious to spot.  It would
be better to catch this at build time than later when trying to load
the module.

Marc