Re: KERNEL COMPILATION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






Error is like that

linux:/usr/src/linux-2.4.26 # make -o /home/vickywave/suman/kernel/build/ bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.26/include/linux/sched.h:23,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/linux/smp.h:29: error: conflicting types for `smp_send_reschedule'
/usr/src/linux-2.4.26/include/asm/smp.h:42: error: previous declaration of `smp_send_reschedule'
make: *** [init/main.o] Error 1


Parag N(पराग़) wrote:
Hi,
On 2/25/06, SUMAN <suman@xxxxxxxxxxxxxx> wrote:
  
Hi All,
I am trying to compile 2.4.26 kernel for setup openMosix.
My GCC version is 3.5
But When i start make bzImage , It's showing error.
    
   what are those errors?
  
I read the README file in this kernel. It tells that U need GCC 2.95.3
version.
But i downloaded the GCC 2.95.3 ,and also tried to compile it. But it is
also not compiling.
    
    did you get same  errors again after installing GCC 2.95.3?
  
Is it realy needed GCC 2.95.3 version to compile 2.4.26 kernel?
If anybody has done please help me to give proper procedure to compile
2.4.26 with required software.
Thanks
Suman


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


    

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



  


-- 
 Thanks & Regards 
 Suman Adak
 Technology Solution Analyst
 Naturesoft Pvt. Limited,Chennai
 Mob: 09884159667

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux