What gcc version are you using?
Using 3.2.3 I built modules with your config and no problems - make
mrproper ; cp config .config ; make oldconfig ; make dep && make clean
&& make modules worked fine...
gcc 3.3 has issues with kernel building, afaik.
On Tue, 2003-06-10 at 16:06, Torsten Foertsch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On Monday 09 June 2003 23:48, Disconnect wrote:
> > Bug reports welcome, and nvidia users, I'm still looking to hear from
> > more of you. (Those of you who have responded already should have
> > replies by now; if not, let me know..)
> > The patch is against 2.4.21-rc6 and is available at
> > http://www.gotontheinter.net/kernel/ (including an untested update to
> > rc7)
> I tried it but make modules stopped with
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-rc6-dis3/include -Wall
> - -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> - -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
> - -DMODVERSIONS -include
> /usr/src/linux-2.4.21-rc6-dis3/include/linux/modversions.h -nostdinc
> - -iwithprefix include -DKBUILD_BASENAME=sound -DEXPORT_SYMTAB -c sound.c
> sound.c:29:27: sound/version.h: No such file or directory
> sound.c:322:100: warning: pasting "(" and "KERN_ERR" does not give a valid
> preprocessing token
> sound.c:394:95: warning: pasting "(" and "KERN_ERR" does not give a valid
> preprocessing token
> make: *** [sound.o] Error 1
> make: Leaving directory `/usr/src/linux-2.4.21-rc6-dis3/sound/core'
> make: *** [_modsubdir_core] Error 2
> make: Leaving directory `/usr/src/linux-2.4.21-rc6-dis3/sound'
> make: *** [_mod_sound] Error 2
> Then I grep'ed linux-2.4.20.tar.bz2, patch-2.4.21-rc6.bz2 and your patchset
> (2.4.21-rc6-dis3-final.diff.bz2) for a sound/version.h but found none.
> What did I wrong?
> Please find my .config attached.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> -----END PGP SIGNATURE-----
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
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 : Sun Jun 15 2003 - 22:00:28 EST