Linux: Detect undefined symbols in kernel modules
authorMarc Dionne <marc.c.dionne@gmail.com>
Mon, 28 Jan 2013 01:52:39 +0000 (20:52 -0500)
committerDerrick Brashear <shadow@your-file-system.com>
Thu, 7 Feb 2013 23:27:11 +0000 (15:27 -0800)
commitdbdee60a83d72d38a04a0eeb2a5324cf497e57e3
treec905304df54ce47240c4d644e69db9e4c985915e
parent748e07d24367e80e353446bdb97f61ce420d303d
Linux: Detect undefined symbols in kernel modules

Undefined symbols in the kernel modules are not currently detected
at build time.  As a result, buildbot may indicate success while
the resulting kernel modules are unusable.

In the kernel build process, modpost warns about missing symbols
but does not return an error in the case of external modules.
Detect these warnings and cause the libafs build to fail.

Change-Id: I2c428a5ce7e3a0d10178679f789b3d787719c397
Reviewed-on: http://gerrit.openafs.org/8981
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/libafs/.gitignore
src/libafs/MakefileProto.LINUX.in