Re: 2.5.55+: soundcore: Unknown symbol errno

Raja R Harinath (harinath@cs.umn.edu)
Sat, 11 Jan 2003 14:43:22 -0600


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/