get errors when I compile pistachio-0.4

"Zheng Da" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Hello.
Can pistachio-0.4 be compiled in Debian Linux.
I use gcc v4.x to compile it.
The step of my compiling as follow:
1. Run make BUILDDIR=<absolute path of nonexisting directory>
2. Chdir to the build directory!
3. Verify the settings in Makeconf.local!
4. Run make menuconfig or make xconfig!
5. Run make again!
But I think there are some errors in its Makefile, at least compiled in
Linux.
First, in kernel/src/platform/pc99/Makeconf, startup.S should be startup.s.
There is only startup.s in kernel/src/platform/pc99/.
Second, in kernel/Mk/Makeconf, it should be $(ECHO_MSG) $(subst
$(SRCDIR)/,,$<), but @$(ECHO_MSG) $(subst $(SRCDIR)/,,$<).
I have fixed the above two errors, but met another one.
This time, there is no message showing me. The output is as follow:
zhengda@debian:/storage/soft/l4/pistachio-0.4/build$ make
make[1]: Entering directory `/storage/soft/l4/pistachio-0.4/build'
echo ===\> src/generic/lib.cc
===> src/generic/lib.cc
cd src/generic/ &&  gcc -nostdinc
-I/storage/soft/l4/pistachio-0.4/build/include
-I/storage/soft/l4/pistachio-0.4/kernel/include
-I/usr/lib/gcc/i486-linux-gnu/4.1.2/include -Uia32 -Up4 -Upc99 -Uv4
-D__ARCH__=ia32 -D__CPU__=p4 -D__PLATFORM__=pc99 -D__API__=v4 -imacros
/storage/soft/l4/pistachio-0.4/build/config/config.h -imacros
/storage/soft/l4/pistachio-0.4/kernel/include/macros.h -include
/storage/soft/l4/pistachio-0.4/kernel/include/config.h  -include
/storage/soft/l4/pistachio-0.4/kernel/include/types.h -fno-builtin
-fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2
-mpreferred-stack-boundary=2 -march=pentium4    -c
/storage/soft/l4/pistachio-0.4/kernel/src/generic/lib.cc
echo ===\> src/generic/kmemory.cc
===> src/generic/kmemory.cc
cd src/generic/ &&  gcc -nostdinc
-I/storage/soft/l4/pistachio-0.4/build/include
-I/storage/soft/l4/pistachio-0.4/kernel/include
-I/usr/lib/gcc/i486-linux-gnu/4.1.2/include -Uia32 -Up4 -Upc99 -Uv4
-D__ARCH__=ia32 -D__CPU__=p4 -D__PLATFORM__=pc99 -D__API__=v4 -imacros
/storage/soft/l4/pistachio-0.4/build/config/config.h -imacros
/storage/soft/l4/pistachio-0.4/kernel/include/macros.h -include
/storage/soft/l4/pistachio-0.4/kernel/include/config.h  -include
/storage/soft/l4/pistachio-0.4/kernel/include/types.h -fno-builtin
-fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2
-mpreferred-stack-boundary=2 -march=pentium4    -c
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc: In member
function 'void kmem_t::free(void*, word_t)':
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc:125: warning:
minimum/maximum operators are deprecated
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc:134: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc: In member
function 'void* kmem_t::alloc(word_t)':
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc:170: warning:
minimum/maximum operators are deprecated
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc:173: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc: In member
function 'void* kmem_t::alloc_aligned(word_t, word_t, word_t)':
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc:265: warning:
minimum/maximum operators are deprecated
/storage/soft/l4/pistachio-0.4/kernel/src/generic/kmemory.cc:268: warning:
dereferencing type-punned pointer will break strict-aliasing rules
rm lds.tmp
make[1]: Leaving directory `/storage/soft/l4/pistachio-0.4/build'
make: *** [all] Error 2
So what should I do now?
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.