Red Hat Bugzilla – Bug 28530
matroxfb_base.h has an invalid 'struct display global_disp'
Last modified: 2007-04-18 12:31:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.0-0.99.11 i686)
Genning a kernel with fisher. It fails in the make modules with a multiply
defined global_disp in matroxfb_accel.o, matroxfb_base.o,
matroxfb_DAC1064.o, and matroxfb_misc.o. Problem is caused by the 'struct
display global_disp' in the matroxfb_base.h header file. If you remove the
line from the header file and add it to the matroxfb_base.c file,
everything compiles and runs fine.
Steps to Reproduce:
1. make config and select frame buffer support for Matrox acceleration
(yeah, I know it's experimental)
2. Select G100/G200/G400/G450 support
3. No for multihead support
4. make dep ; make clean ; make modules ; make modules_install ; make
bzImage ; make install
Actual Results: It will fail in the make modules step. With the indicated
header file and c source changes, it works and you get a bootable kernel.
It seems to be running just fine.
Expected Results: The compile should have completed without the errors for
multiply defined symbols.
This is fixed in the next kernel build. If a kernel version of 2.4.1-0.1.9 or
later doesn't fix it for you, please reopen this bug.