From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; 0.7) Gecko/20010316 Description of problem: when I invoke command make modules, gcc report when compiling driver/ppp_generic.c How reproducible: Always Steps to Reproduce: 1.make config and enable ppp support as a module 2.make dep 3.make bzImage 4.make modules Actual Results: gcc report error Additional info:
Created attachment 21766 [details] output of gcc and preprocessing output of ppp_generic.c
Created attachment 21767 [details] output of gcc and preprocessing output of ppp_generic.c
You should do a "make mrproper" as first command. The kernel-source RPM is set up in such a way that you can compile external modules against it for all kernels we ship; however you need to run make mrproper to start building your own config. (the same is true in the "official" 2.4 kernel if you switch from SMP to non-SMP or some other changes. The kernel dependency system has a few flaws in this area)