Hi all,
I am just starting to look into the Fiasco microkernel for some research I am doing. This looks like a very neat project and you guys have done some great work! I have followed the build instructions located at: http://os.inf.tu-dresden.de/fiasco/use.html as a starting point and wanted to share the two problems I ran into.
First, I could not get the "make config" to work on my gentoo system (gcc 3.3.4, make 3.80). This is what happened: $ make config make -C ./tool/config make: *** C-Compiler needs target arch. Maybe you mean HOST_CC. Stop. $ Not sure what the problem is. I noticed the message appears to be the contents of the ${CC_} variable in l4/mk/Makeconf. My work around was to compile on a redhat 8.0 box.
Second, I had this problem when I booted the system: --init--------------------------------------EIP: f0010a0f jdb:
Here is the grub configuration I used on the floppy (from http://os.inf.tu-dresden.de/fiasco/use.html): # this is /floppy/boot/grub/menu.lst title hello world kernel (fd0)/rmgr -sigma0 module (fd0)/main -nokdb module (fd0)/sigma0 module (fd0)/hello
After digging around, I decided to change the thid line from "module (fd0)/main -nokdb" to "module (fd0)/main -nokdb -nowait". Is this correct? It seems to be working.
Thanks!
-Julian
Hi,
On Fri Oct 22, 2004 at 13:41:35 -0400, Julian Grizzard wrote:
First, I could not get the "make config" to work on my gentoo system (gcc 3.3.4, make 3.80). This is what happened: $ make config make -C ./tool/config make: *** C-Compiler needs target arch. Maybe you mean HOST_CC. Stop. $ Not sure what the problem is. I noticed the message appears to be the contents of the ${CC_} variable in l4/mk/Makeconf. My work around was to compile on a redhat 8.0 box.
By any chance, is the SYSTEM environment variable set on the gentoo system?
Second, I had this problem when I booted the system: --init--------------------------------------EIP: f0010a0f jdb:
Here is the grub configuration I used on the floppy (from http://os.inf.tu-dresden.de/fiasco/use.html): # this is /floppy/boot/grub/menu.lst title hello world kernel (fd0)/rmgr -sigma0 module (fd0)/main -nokdb module (fd0)/sigma0 module (fd0)/hello
After digging around, I decided to change the thid line from "module (fd0)/main -nokdb" to "module (fd0)/main -nokdb -nowait". Is this correct? It seems to be working.
Yes, if you enter the jdb-prompt, use "g" for go to go on. It's nothing wrong if you enter it on startup, and -nowait is the right thing if you don't want that.
Adam
Adam,
$ make config make -C ./tool/config make: *** C-Compiler needs target arch. Maybe you mean HOST_CC. Stop. $ Not sure what the problem is. I noticed the message appears to be the contents of the ${CC_} variable in l4/mk/Makeconf. My work around was to compile on a redhat 8.0 box.
By any chance, is the SYSTEM environment variable set on the gentoo system?
Nope. There might be something else wierd with gentoo's setup that I don't know about. Here's my environment (with some anonymizing):
$ env INFODIR=/usr/share/info MANPATH=/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/m an:/usr/qt/3/doc/man KDE_MULTIHEAD=true DM_CONTROL=/var/run/xdmctl HOSTNAME=YYYY TERM=xterm SHELL=/bin/bash XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,method=classic GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/XXXX/.gtkrc-2.0:/home/XXXX/.kde3.3/share/config/gtkrc GTK_RC_FILES=/etc/gtk/gtkrc:/home/XXXX/.gtkrc:/home/XXXX/.kde3.3/share/config/gtkrc CVSROOT=XXXX@...:... GS_LIB=/home/XXXX/.fonts WINDOWID=62914567 QTDIR=/usr/qt/3 OLDPWD=/home/XXXX/scratchpad/l4/pkg/hello/examples KDE_FULL_SESSION=true MOZILLA_FIVE_HOME=/usr/lib/mozilla USER=XXXX XCURSOR_SIZE= LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=0 1;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35 :*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;3 5:*.gl=01;35:*.dl=01;35: GDK_USE_XFT=1 KDEDIR=/usr/kde/3.3 SESSION_MANAGER=local/YYYY:/tmp/.ICE-unix/1079 CONFIG_PROTECT_MASK=/etc/gconf PAGER=/usr/bin/less XINITRC=/etc/X11/xinit/xinitrc KONSOLE_DCOP=DCOPRef(konsole-16367,konsole) PATH=/usr/kde/3.3/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/opt/Acrobat5:/usr/X11R6/bin:/opt/bl ackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/bin:/usr/kde/3.2/bin:/usr/kde/3.1/bin:/usr/games/ bin:/sbin:/usr/sbin DESKTOP_SESSION=kde-3.3.0 KONSOLE_DCOP_SESSION=DCOPRef(konsole-16367,session-1) PWD=/home/XXXX/scratchpad/l4/pkg/hello INPUTRC=/etc/inputrc JAVA_HOME=/opt/blackdown-jdk-1.4.1 JAVAC=/opt/blackdown-jdk-1.4.1/bin/javac EDITOR=/usr/bin/vi KDEDIRS=/usr QMAKESPEC=linux-g++ CXX=g++ HOME=/home/XXXX SHLVL=3 JDK_HOME=/opt/blackdown-jdk-1.4.1 XCURSOR_THEME=HighContrast LOGNAME=XXXX LESS=-R CVS_RSH=/usr/bin/ssh CLASSPATH=/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:.:. LESSOPEN=|lesspipe.sh %s INFOPATH=/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info DISPLAY=:0.2 CC=gcc CONFIG_PROTECT=/var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.3/share/config /usr/kde/3.3/env /usr/kde/3.3/shutdown /usr/kde/3.2/share /config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/c onfig/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/ /usr/share/config G_BROKEN_FILENAMES=1 COLORTERM= _=/bin/env
After digging around, I decided to change the thid line from "module (fd0)/main -nokdb" to "module (fd0)/main -nokdb -nowait". Is this correct? It seems to be working.
Yes, if you enter the jdb-prompt, use "g" for go to go on. It's nothing wrong if you enter it on startup, and -nowait is the right thing if you don't want that.
Ah yes, that makes sense. Thanks!
-Julian
On Fri Oct 22, 2004 at 14:06:53 -0400, Julian Grizzard wrote:
Nope. There might be something else wierd with gentoo's setup that I don't know about. Here's my environment (with some anonymizing):
$ env CXX=g++ CC=gcc
I tracked it down to these two. Unsetting them will make it work.
Adam
Adam Lackorzynski wrote:
On Fri Oct 22, 2004 at 14:06:53 -0400, Julian Grizzard wrote:
Nope. There might be something else wierd with gentoo's setup that I don't know about. Here's my environment (with some anonymizing):
$ env CXX=g++ CC=gcc
I tracked it down to these two. Unsetting them will make it work.
Yes, our build system doesn't like these two set.
I'm using gentoo too and the two last lines in my ".bashrc" are like this:
export -n CC export -n CXX
If you want to fix this system wide, remove the settings from "/etc/profile.env" (on your gentoo box)
Greets, Martin
l4-hackers@os.inf.tu-dresden.de