* [uml-devel] Compilation error with 2.6.18 kernel
@ 2007-02-28 13:27 Lakshminarasimhan Naveenam
2007-02-28 16:42 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Lakshminarasimhan Naveenam @ 2007-02-28 13:27 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1.1: Type: text/plain, Size: 701 bytes --]
Hi,
I downloaded the 2.6.18 kernel and did the following
make defconfig ARCH=um
make menuconfig ARCH=um
make ARCH=um
I got the following error
$make ARCH=um
SYMLINK arch/um/include/kern_constants.h
SYMLINK arch/um/include/sysdep
CHK arch/um/include/uml-config.h
UPD arch/um/include/uml-config.h
CC arch/um/sys-i386/user-offsets.s
arch/um/sys-i386/user-offsets.c: In function 'foo':
arch/um/sys-i386/user-offsets.c:19: warning: implicit declaration of
function 'offsetof'
arch/um/sys-i386/user-offsets.c:19: error: expected expression before
'struct'
The offsetof macro is defined in <linux/stddef.h> but somehow it is not in
the include path.
Can anyone help?
TIA,
simhan.
[-- Attachment #1.2: Type: text/html, Size: 882 bytes --]
[-- Attachment #2: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] Compilation error with 2.6.18 kernel
2007-02-28 13:27 [uml-devel] Compilation error with 2.6.18 kernel Lakshminarasimhan Naveenam
@ 2007-02-28 16:42 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2007-02-28 16:42 UTC (permalink / raw)
To: Lakshminarasimhan Naveenam; +Cc: user-mode-linux-devel
On Wed, Feb 28, 2007 at 10:27:06PM +0900, Lakshminarasimhan Naveenam wrote:
> I downloaded the 2.6.18 kernel and did the following
>
> I got the following error
> $make ARCH=um
> SYMLINK arch/um/include/kern_constants.h
> SYMLINK arch/um/include/sysdep
> CHK arch/um/include/uml-config.h
> UPD arch/um/include/uml-config.h
> CC arch/um/sys-i386/user-offsets.s
> arch/um/sys-i386/user-offsets.c: In function 'foo':
> arch/um/sys-i386/user-offsets.c:19: warning: implicit declaration of
> function 'offsetof'
> arch/um/sys-i386/user-offsets.c:19: error: expected expression before
> 'struct'
This has been fixed for a while - can you use a more modern UML?
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-28 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 13:27 [uml-devel] Compilation error with 2.6.18 kernel Lakshminarasimhan Naveenam
2007-02-28 16:42 ` Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.