[Bug 561] New: Build failure in drivers/net/fc/iph5526.c

Martin J. Bligh (mbligh@aracnet.com)
Wed, 09 Apr 2003 07:43:51 -0700


http://bugme.osdl.org/show_bug.cgi?id=561

Summary: Build failure in drivers/net/fc/iph5526.c
Kernel Version: 2.5.67
Status: NEW
Severity: normal
Owner: jgarzik@pobox.com
Submitter: tobias@fresco.org

Distribution: source from ftp.kernel.org
Hardware Environment: mobile PIII
Software Environment: Debian
Problem Description: Build failure

Steps to reproduce:
Configure/build so that the relevant file gets build. Here's the bug I get when
compiling:

/usr/bin/make -f scripts/Makefile.build obj=drivers/net/fc
gcc -Wp,-MD,drivers/net/fc/.iph5526.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default
-fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE
-DKBUILD_BASENAME=iph5526 -DKBUILD_MODNAME=iph5526 -c -o
drivers/net/fc/.tmp_iph5526.o drivers/net/fc/iph5526.c
In file included from drivers/net/fc/iph5526.c:66:
drivers/net/fc/iph5526_scsi.h:28: syntax error before '*' token
drivers/net/fc/iph5526_scsi.h:28: warning: function declaration isn't a prototype
drivers/net/fc/iph5526.c: In function `iph5526_open':
drivers/net/fc/iph5526.c:2921: warning: `MOD_INC_USE_COUNT' is deprecated
(declared at include/linux/module.h:427)
drivers/net/fc/iph5526.c: In function `iph5526_close':
drivers/net/fc/iph5526.c:2928: warning: `MOD_DEC_USE_COUNT' is deprecated
(declared at include/linux/module.h:439)
drivers/net/fc/iph5526.c: In function `iph5526_detect':
drivers/net/fc/iph5526.c:3843: warning: comparison of distinct pointer types
lacks a cast
drivers/net/fc/iph5526.c: In function `add_to_sest':
drivers/net/fc/iph5526.c:4255: structure has no member named `address'
drivers/net/fc/iph5526.c:4355: structure has no member named `address'
drivers/net/fc/iph5526.c:4364: structure has no member named `address'
drivers/net/fc/iph5526.c:4370: structure has no member named `address'
make[4]: *** [drivers/net/fc/iph5526.o] Error 1
make[3]: *** [drivers/net/fc] Error 2
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.67'
make: *** [stamp-build] Error 2

-
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/