<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 04/07/2011 09:13 AM, Rudi Ahlers wrote:
<blockquote
cite="mid:sig.4078f86677.BANLkTinh4h-JU3QsKrcVHqduiYeZLEO5FA@mail.gmail.com"
type="cite">
<pre wrap="">On Thu, Apr 7, 2011 at 3:10 PM, Steve Clark <a class="moz-txt-link-rfc2396E" href="mailto:sclark@netwolves.com"><sclark@netwolves.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I am trying to compile RHEL-6 kernel srpm on Fedora 14 and run into the
following problem. From what I read
-Werror flag causes warnings to be treated as errors - but I don't see that
flag on in the following. Any ideas?
gcc -Wp,-MD,arch/x86/kernel/acpi/realmode/.wakemain.o.d -nostdinc
-isystem /usr/lib/gcc/i686-redhat-linux/4.5.1/include -nostdinc -isystem
/usr/lib/gcc/i686-redhat-linux/4.5.1/include -Iinclude
-I/home/sclark/rpmbuild/BUILD/kernel-2.6.32/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -Iinclude
-I/home/sclark/rpmbuild/BUILD/kernel-2.6.32/arch/x86/include -include
include/linux/autoconf.h -g -Os -D_SETUP -D_WAKEUP -D__KERNEL__
-I/home/sclark/rpmbuild/BUILD/kernel-2.6.32/arch/x86/kernel/acpi/realmode/../../../boot
-Wall -Wstrict-prototypes -march=i386 -mregparm=3 -include
/home/sclark/rpmbuild/BUILD/kernel-2.6.32/arch/x86/kernel/acpi/realmode/../../../boot/code16gcc.h
-fno-strict-aliasing -fomit-frame-pointer -ffreestanding
-fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2
-m32 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(wakemain)"
-D"KBUILD_MODNAME=KBUILD_STR(wakemain)" -D"DEBUG_HASH=57" -D"DEBUG_HASH2=38"
-c -o arch/x86/kernel/acpi/realmode/.tmp_wakemain.o
arch/x86/kernel/acpi/realmode/wakemain.c
cc1: warnings being treated as errors
arch/x86/kernel/apic/apic.c: In function 'lapic_suspend':
arch/x86/kernel/apic/apic.c:2008:3: error: statement with no effect
arch/x86/kernel/apic/apic.c: In function 'lapic_resume':
arch/x86/kernel/apic/apic.c:2085:3: error: statement with no effect
make[5]: *** [arch/x86/kernel/apic/apic.o] Error 1
make[4]: *** [arch/x86/kernel/apic] Error 2
Have you checked on the Fedora forums, or mailing list?
</pre>
</blockquote>
</blockquote>
<font face="sans-serif">I googled for it. I thought that since
RHEL-6 is going to soon be Centos 6 that someone on this list
might know the answer. I am<br>
only using RHEL-6 til Centos 6 is released and will have to
recompile the srpm for the kernel then so I thought I would get a
head<br>
start.<br>
</font><br>
<div class="moz-signature">-- <br>
Stephen Clark<br>
<b>NetWolves</b><br>
Sr. Software Engineer III<br>
Phone: 813-579-3200<br>
Fax: 813-882-0209<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
<a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
</div>
</body>
</html>