Il Tue, Dec 14, 2004 at 11:27:14AM +0100, Nicolai Haehnle ha scritto: > > --- a/drm/linux-core/Makefile 2004-10-23 14:43:44.000000000 +0200 > > +++ b/drm/linux-core/Makefile 2004-12-13 18:20:16.000000000 +0100 > > @@ -172,7 +172,7 @@ > > all: modules > > > > modules: includes > > - make -C $(LINUXDIR) $(GETCONFIG) SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules > > + make -C $(LINUXDIR) $(GETCONFIG) CC=$(CC) SUBDIRS=`pwd` DRMSRCDIR=`pwd` > modules > > > > ifeq ($(HEADERFROMBOOT),1) > > > > > > In this way calling: > > CC=gcc-3.4 make > > does the Right Thing > > The base DRM Makefile doesn't pass the CC on either, and this may or may not > be with good reason. AFAIK kernel code can be rather dependant on the exact > compiler version used, so it's probably a good idea to always use the same > compiler for both the kernel itself and all modules.
The point is that my kernel is compiled with gcc-3.4 and (without patch) modules are compiled with default gcc (which on my system is gcc-3.3): modules will NOT load (with CONFIG_MODVERSIONS). Luca -- Home: http://kronoz.cjb.net Ligabue canta: "Tutti vogliono viaggiare in primaaaa..." Io ci ho provato e dopo un chilometro ho fuso il motore e bruciato la frizione... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel