Hello Jack,
I didn't make any changes as part of make menuconfig. I thought all the
FCoE related code would be enabled.

Following is the error I got when I executed make.

[r...@rhel linux-2.6.29]# make
scripts/kconfig/conf -s arch/x86/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CC      kernel/bounds.s
In file included from include/linux/compiler-gcc.h:86,
                 from include/linux/compiler.h:40,
                 from include/linux/stddef.h:4,
                 from include/linux/posix_types.h:4,
                 from include/linux/types.h:11,
                 from include/linux/page-flags.h:8,
                 from kernel/bounds.c:9:
include/linux/compiler-gcc4.h:7:3: error: #error Your version of gcc
miscompiles the __weak directive
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

Cheers,
-Praveen 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Morgan, Jack EX
> Sent: Thursday, May 28, 2009 9:01 PM
> To: Morab, Praveen; [email protected]
> Subject: Re: [Open-FCoE] GCC version for 2.6.29
> 
> Praveen,
> 
> gcc version 4.1.1 should work. Most of the time when I'm not 
> able to get a kernel to compile, it's due a .config conflict. 
> Meaning, I didn't enabled or disabled something in the 
> kernel. If this isn't the case for you, please post the error 
> messages you are seeing. 
> 
> 
> Have a wonderful day,
> Jack Morgan 
> 
> >-----Original Message-----
> >From: [email protected] 
> [mailto:[email protected]] On
> >Behalf Of [email protected]
> >Sent: Thursday, May 28, 2009 2:16 AM
> >To: [email protected]
> >Subject: [Open-FCoE] GCC version for 2.6.29
> >
> >Hello Everyone,
> >I downloaded linux kernel 2.6.29, since the open-fcoe code is part of
> >linux kernel.
> >
> >I am not able to compile with gcc I have, i.e gcc version 
> 4.1.1 20070105
> >(Red Hat 4.1.1-52)
> >
> >I am trying to build it on Linux RHEL 2.6.18-8.el5 #1 SMP...
> >
> >So, whats the required gcc version to compile 2.6.29 kernel ?
> >
> >Please let me know.
> >
> >Cheers,
> >-Praveen
> >_______________________________________________
> >devel mailing list
> >[email protected]
> >http://www.open-fcoe.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> [email protected]
> http://www.open-fcoe.org/mailman/listinfo/devel
> 
> 
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to