Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42481 - "Make" fails parport drivers
Summary: "Make" fails parport drivers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 08:27 UTC by Gary Mercer
Modified: 2004-03-13 11:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Adding the missing #ifdef to list_del_init(&priv->list); (parport.diff.linux-2.6.3-mm2.patch,473 bytes, patch)
2004-02-22 10:39 UTC, Nick Demchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Mercer 2004-02-22 08:27:24 UTC
When compiling (Make) Kernel 2.6.3-mm2 it fails trying to make parport drivers

Reproducible: Always
Steps to Reproduce:
1. Make Menuconfig
2. Choose same options as in Kernel 2.6.3-rc3-mm1 (These worked without problems)
3. Make

Actual Results:  
  CC      drivers/parport/procfs.o
  LD      drivers/parport/parport.o
  CC      drivers/parport/parport_pc.o
drivers/parport/parport_pc.c: In function `parport_pc_unregister_port':
drivers/parport/parport_pc.c:2337: error: `priv' undeclared (first use in this
function)
drivers/parport/parport_pc.c:2337: error: (Each undeclared identifier is
reported only once
drivers/parport/parport_pc.c:2337: error: for each function it appears in.)
make[2]: *** [drivers/parport/parport_pc.o] Error 1
make[1]: *** [drivers/parport] Error 2
make: *** [drivers] Error 2


Expected Results:  
Successful compile of Kernel
Comment 1 Nick Demchenko 2004-02-22 10:39:19 UTC
Created attachment 26118 [details, diff]
Adding the missing #ifdef to list_del_init(&priv->list);

Seems to me there's missing a definition check. The variable priv will not be
defined without FIFO support, therefore it cannot be recalled to (its address
stack is not there when list_del_init(&priv->list); is called).
Compiled clean.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-03-13 11:59:06 UTC
The issue should be solved in 2.6.4-mm1. Thanks.