Re: 2.5.55+: soundcore: Unknown symbol errno

From: Raja R Harinath (harinath@cs.umn.edu)
Date: Sat Jan 11 2003 - 15:43:22 EST


Hi,

rct@gherkin.frus.com (Bob_Tracy(0000)) writes:

> I'm getting the subject error message with ALSA for both 2.5.55 and
> 2.5.56. The culprit appears to be the very last patch in the 2.5.55
> patch set, which deletes "static int errno;" from
> linux/sound/sound_firmware.c. The undefined reference to errno is
> from the include of <linux/unistd.h>.

Try compiling soundcore in-kernel (everything else can be modular).

The "problem" appears to be that 'errno' in lib/errno.c is not
EXPORT_SYMBOLed. The "static int errno;" in sound_firmware.c was most
definitely a bug, especially since it conflicts with the "extern int
errno;" in linux/unistd.h.

- Hari

-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:38 EST