Re: unable to compile a kernel
On Fri, Jun 06, 2003 at 08:41:05AM +0200, martin f krafft wrote:
> also sprach .waffle <BFG@amigascne.org> [2003.06.05.1828 +0200]:
> > set your environment variable CC to gcc-3.2 (make sure 3.2 is
> > installed first!) Debian gcc-3.3 has compat issues with the linux
> > kernel... I find it best to alter the Makefile, but some prefer
> > just setting the variable.
>
> Even though the kernel apparently cannot be built with 3.x, I tried
> it as you suggested. It got further than before, but now it can't
> build the (debian stock) lm-sensors-source modules:
>
> kernel/busses/i2c-ali1535.c:675:6: missing terminating " character
> kernel/busses/i2c-ali1535.c:676:89: missing terminating " character
> kernel/busses/i2c-ali1535.c:691:1: unterminated argument list invoking macro "MODULE_AUTHOR"
>
> where the lines look like:
>
> 674: MODULE_AUTHOR
> 675: ("Frodo Looijaard <frodol@dds.nl>, Philip Edelbrock <phil@netroedge.com>,
> 676: Mark D. Studebaker <mdsxyz123@yahoo.com> and Dan Eaton <dan.eaton@rocketlogix.com>");
> 677: MODULE_DESCRIPTION("ALI1535 SMBus driver");
That's a multi-line string which is a C extension no longer supported by
gcc. File a bug.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: