[Bug 767] New: in ieee1394 file iso.c fails to compile

From: Martin J. Bligh (mbligh@aracnet.com)
Date: Mon Jun 02 2003 - 18:35:40 EST


           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"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:18 EST