Bug 28530

Summary: matroxfb_base.h has an invalid 'struct display global_disp'
Product: [Retired] Red Hat Linux Reporter: Rex Basham <rex.basham>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-21 08:33:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rex Basham 2001-02-21 02:59:48 UTC
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.

Reproducible: Always
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.

Comment 1 Arjan van de Ven 2001-02-21 08:58:21 UTC
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.