Re: compile error in 2.3.18ac3 and some misc babblings

CaT (cat@zip.com.au)
Tue, 14 Sep 1999 20:08:50 +1000


Ok. I got off my arse:

On Tue, Sep 14, 1999 at 07:52:08PM +1000, CaT wrote:
> make[3]: Entering directory `/usr/src/linux.2318/drivers/sound'
> /usr/src/linux/Rules.make:263: target `opl3.o' given more than once in the same rule.
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -E -D__GENKSYMS__ sb_card.c
> | /sbin/genksyms -k 2.3.18 > /usr/src/linux/include/linux/modules/sb_card.ver.tmp
> /usr/src/linux/include/linux/modules/sb_card.ver is unchanged
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DCONFIG_SOUND_SBDSP -DCONFIG_SOUND_UART401 -DEXPORT_SYMTAB -c opl3.c
> opl3.c: In function `modparmio_setup':
> opl3.c:1225: `io' undeclared (first use in this function)
> opl3.c:1225: (Each undeclared identifier is reported only once
> opl3.c:1225: for each function it appears in.)
> make[3]: *** [opl3.o] Error 1
> make[3]: Leaving directory `/usr/src/linux.2318/drivers/sound'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux.2318/drivers/sound'
> make[1]: *** [_subdir_sound] Error 2
> make[1]: Leaving directory `/usr/src/linux.2318/drivers'
> make: *** [_dir_drivers] Error 2

--- drivers/sound/opl3.c.old Tue Sep 14 20:07:21 1999
+++ drivers/sound/opl3.c Tue Sep 14 20:07:25 1999
@@ -1218,10 +1218,11 @@
SOUND_LOCK_END;
}

+MODULE_PARM(io, "i");
+
#endif

EXPORT_SYMBOL(opl3_init);
EXPORT_SYMBOL(opl3_detect);
-MODULE_PARM(io, "i");

#endif

-- 
CaT (cat@zip.com.au)                       URL: http://www.zip.com.au/dev/null

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