Bug 833554 - Custom compile of 3.4.2-4 fails with implicit function declaration; patch to fix attached
Summary: Custom compile of 3.4.2-4 fails with implicit function declaration; patch to ...
Keywords:
Status: CLOSED DUPLICATE of bug 830446
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-19 18:41 UTC by stan
Modified: 2012-06-19 18:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-19 18:48:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
fixes an implicit function declaration error caused by missing include (422 bytes, patch)
2012-06-19 18:41 UTC, stan
no flags Details | Diff

Description stan 2012-06-19 18:41:29 UTC
Created attachment 593037 [details]
fixes an implicit function declaration error caused by missing include

Description of problem:
When compiling a custom kernel from the src.rpm for 3.4.2-4, the compile fails
in file arch/x86/pci/fixup.c.  There are a couple of functions in that file that need an include that isn't there.
Here are the code lines with the functions that fail:
if (vga_default_device() == NULL)
       vga_set_default_device(pdev);

Version-Release number of selected component (if applicable):
3.4.2-4

How reproducible:
Every time, for my custom compile.


Steps to Reproduce:
1.Configure a custom kernel
2.Build it with rpmbuild
3.
  
Actual results:
Compile fails with implicit function declaration error

Expected results:
Clean compile.

Additional info: This is more a heads up of a problem that would be easy for
you to fix, than any expectation of resolution.  I just include a custom patch
in the kernel.spec file, and the compilation and build of rpms succeeds.

Comment 1 Josh Boyer 2012-06-19 18:48:50 UTC

*** This bug has been marked as a duplicate of bug 830446 ***


Note You need to log in before you can comment on or make changes to this bug.