RE: pistachio compile error

"Jan Stoess" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Hi  Jowkju,

Without having looked at the details, I'd suggest you to use the CVS version
of pistachio (http://l4ka.org/projects/pistachio/download.php#devel ).
Version 0.4 is more than outdated. 


Regards,
-Jan
--
Jan Stoess
Lehrstuhl Systemarchitektur
Universitaet Karlsruhe


From: [email protected]
[mailto:[email protected]] On Behalf Of jowkju
Sent: Friday, July 27, 2007 8:56 AM
To: [email protected]
Subject: pistachio compile error

Hi, Everyone~

I tried to compile pistachio kernel on both a RHEL4-2.6.9 and a
Ubuntu-2.6.17.
I succeed to compile the pistachio kernel on RHEL4-2.6.9 and but, failed on
a Ubuntu-2.6.17, both for ia32 env.
I used a gcc-3.4.6, gawk-3.1.3(awk), IDL4 on both. I want to know why failed
on Ubuntu.

I found that “ia32-kernel-build/include/asmsyms.h” had not been made
completely when compiling on Ubuntu.
Due to the incomplete file, the other files failed to be compiled later.

“ia32-kernel-build/include/asmsyms.h” made during compiling on RHEL4 was
-----------------------------------------------------------
/* machine-generated file - do NOT edit */
#ifndef __ASMSYMS_H__
#define __ASMSYMS_H__
 
#define OFS_KIP_PROCDESC          ((0x0bc))
#define OFS_PROCDESC_INTFREQ      ((0x04))
#define TSTATE_POLLING            ((0x0b))
#define TSTATE_RUNNING            ((0x02))
#define TSTATE_WAITING_FOREVER    ((0x0ffffffff))
 
#endif /* __ASMSYMS_H__ */l
-----------------------------------------------------------

But, the file made during comiling on Ubuntu was
------------------------------------------------------------
/* machine-generated file - do NOT edit */
#ifndef __ASMSYMS_H__
#define __ASMSYMS_H__
------------------------------------------------------------

Would someone let me know what makes the difference??

The following the message from Ubuntu.
==============================================================
make[1]: Entering directory
`/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.
4/ia32-kernel-build'
In file included from
/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/kernel/src/glue/v4-ia32/user.cc:33:
/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/ia32-kernel-build/include/asmsyms.h:2:1: error: unterminated #ifndef
In file included from
/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/kernel/src/glue/v4-ia32/trap.S:34:
/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/ia32-kernel-build/include/asmsyms.h:2:1: error: unterminated #ifndef
===> src/generic/lib.cc
  ……………………………. Omitted …….

/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/kernel/src/glue/v4-ia32/user.cc: In function `void user_system_clock()':
/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/kernel/src/glue/v4-ia32/user.cc:225: error: `OFS_KIP_PROCDESC' was not
declared in this scope
/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/kernel/src/glue/v4-ia32/user.cc:225: error: `OFS_PROCDESC_INTFREQ' was not
declared in this scope
/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/kernel/src/glue/v4-ia32/user.cc:225: warning: unused variable
'OFS_KIP_PROCDESC'
/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.4
/kernel/src/glue/v4-ia32/user.cc:225: warning: unused variable
'OFS_PROCDESC_INTFREQ'
make[1]: *** [src/glue/v4-ia32/user.o] Error 1
make[1]: Leaving directory
`/home/jowkju/project/Virtualization/L4VM_l4ka/pistachio-kernel/pistachio-0.
4/ia32-kernel-build'
make: *** [all] Error 2
==============================================================

Thank you
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.