Red Hat Bugzilla – Bug 65133
Unresolved symbols from drivers/video in some configurations
Last modified: 2007-04-18 12:42:39 EDT
Description of Problem:
There is a compilation issue in 'drivers/video'. Namely 'fbgen.o' is
used by some other objects ('pm2fb.o', 'pm3fb.o', 'clgenfb.o',
'tridentfb.o', 'tgafb.o', 'stifb.o'). Now if at least one of these
"users" is configured as built-in, implying that fbgen.o will be compiled
as an integral part of a kernel, and some other(s) as modules then you
will see from 'depmod' complaints about unresolved symbols for functions
provided by fbgen. This actually hits, for example, when one tries to
use a default configuration on Alpha with 'tgafb' built-in.
A fix is obvious. Add missing EXPORT_SYMBOL(...) to 'fbgen.c' and
'fbgen.o' to a list of export-objs in drivers/video/Makefile.
Attached is a patch for 2.4.18-4 sources.
Created attachment 57804 [details]
a patch to prevent unresolved fbgen_ symbols for vide drivers regardless of configuration