mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Bug 767] New: in ieee1394 file iso.c fails to compile
@ 2003-06-02 23:35 Martin J. Bligh
  0 siblings, 0 replies; only message in thread
From: Martin J. Bligh @ 2003-06-02 23:35 UTC (permalink / raw)
  To: linux-kernel


           Summary: in ieee1394 file iso.c fails to compile
    Kernel Version: 2.5.70
            Status: NEW
          Severity: normal
             Owner: bcollins@debian.org
         Submitter: donaldlf@i-55.com


Distribution:redhat
Hardware Environment:Alpha PC164LX
Software Environment:Rawhide

Problem Description:

file fails to compile (as module embedded untested)
drivers/ieee1394/iso.c: In function `hpsb_iso_xmit_sync':
drivers/ieee1394/iso.c:355: arithmetic on pointer to an incomplete type
drivers/ieee1394/iso.c:355: warning: implicit declaration of function
`set_current_state'
drivers/ieee1394/iso.c:355: `TASK_INTERRUPTIBLE' undeclared (first use in this
function)
drivers/ieee1394/iso.c:355: (Each undeclared identifier is reported only once
drivers/ieee1394/iso.c:355: for each function it appears in.)
drivers/ieee1394/iso.c:355: warning: implicit declaration of function
`signal_pending'
drivers/ieee1394/iso.c:355: arithmetic on pointer to an incomplete type
drivers/ieee1394/iso.c:355: warning: implicit declaration of function `schedule'
drivers/ieee1394/iso.c:355: arithmetic on pointer to an incomplete type
drivers/ieee1394/iso.c:355: dereferencing pointer to incomplete type
drivers/ieee1394/iso.c:355: `TASK_RUNNING' undeclared (first use in this function)
drivers/ieee1394/iso.c: In function `hpsb_iso_wake':
drivers/ieee1394/iso.c:431: `TASK_INTERRUPTIBLE' undeclared (first use in this
function)
make[2]: *** [drivers/ieee1394/iso.o] Error 1
make[1]: *** [drivers/ieee1394] Error 2
make: *** [drivers] Error 2

Steps to reproduce:

Select ieee1394 as an module and activate all items lower in the configuration
tree as an module

Solution

Add the line

# include <linux/sched.h>

between the following lines (line number 11)

# include <linux/slab.h>
# include "iso.h"



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-02 23:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-02 23:35 [Bug 767] New: in ieee1394 file iso.c fails to compile Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®