[Bug 335] New: sb_card.c compile error

Martin J. Bligh (mbligh@aracnet.com)
Tue, 11 Feb 2003 07:50:33 -0800


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

Summary: sb_card.c compile error
Kernel Version: 2.5.60
Status: NEW
Severity: low
Owner: bugme-janitors@lists.osdl.org
Submitter: corporal_pisang@counter-strike.com.my

Compile error:

make -f scripts/Makefile.build obj=sound/oss
gcc -Wp,-MD,sound/oss/.sb_card.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DMODULE
-DKBUILD_BASENAME=sb_card -DKBUILD_MODNAME=sb -c -o
sound/oss/.tmp_sb_card.o sound/oss/sb_card.c sound/oss/sb_card.c: In
function `activate_dev':
sound/oss/sb_card.c:744: structure has no member named `active'
sound/oss/sb_card.c:747: structure has no member named `activate'
sound/oss/sb_card.c:750: structure has no member named `deactivate'
sound/oss/sb_card.c: In function `sb_init':
sound/oss/sb_card.c:761: warning: implicit declaration of function
`isapnp_find_dev' sound/oss/sb_card.c:761: warning: assignment makes
pointer from integer without a cast
sound/oss/sb_card.c:764: structure has no member named `prepare'
sound/oss/sb_card.c:791: warning: assignment makes pointer from integer
without a cast
sound/oss/sb_card.c:792: structure has no member named `prepare'
sound/oss/sb_card.c:821: warning: assignment makes pointer from integer
without a cast
sound/oss/sb_card.c:823: structure has no member named `prepare'
sound/oss/sb_card.c: In function `sb_isapnp_probe':
sound/oss/sb_card.c:893: warning: implicit declaration of function
`isapnp_find_card'
sound/oss/sb_card.c:896: warning: assignment makes pointer from integer
without a cast
sound/oss/sb_card.c: In function `cleanup_sb':
sound/oss/sb_card.c:1007: structure has no member named `deactivate'
sound/oss/sb_card.c:1009: structure has no member named `deactivate'
sound/oss/sb_card.c:1011: structure has no member named `deactivate'
make[2]: *** [sound/oss/sb_card.o] Error 1
make[1]: *** [sound/oss] Error 2
make: *** [sound] 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/