I've just spent some time trying to build Fiasco from the CVS source.
(1) It would be nice if the build instructions and FAQ could be put
with the source in CVS for the benefit of people who have to dial up.
(2) The build instructions don't tell you to build oskit10 first.
(3) I found I needed gcc-2.7.2.3 to build oskit10, and I had to make
the following changes to make it compile:
- remove HAVE_CODE16 from oskit/config.h
- remove have_code16 from Makeconf
- remove in2000 from oskit/dev/linux_scsi.h
Which assember are other people using to build this? I'm using:
GNU assembler version 2.9.5 (i386-linux) using BFD version 2.9.5.0.37
(4) I used egcs-1.1.1 to build l4, and had a series of makefile
problems which might be very easy for someone else to fix. A complete
log of the errors I got and how I worked around them is given below.
(5) The build instructions then tell you to cd to kernel/fiasco/src
and make again, but this was already done by make in l4/.
(I'll tell you about my run-time problems when I try it ...)
Edmund
make[4]: *** No rule to make target `../../../../include/l4/log/l4log.h', needed by `.p6.c.d'. Stop.
make[4]: Leaving directory `/home/ege/aferoj/l4-cvs/l4/pkg/l4util/examples/perf'
$ mkdir include/l4/log ; cp -i pkg/log/include/l4/log/l4log.h include/l4/log
ld -N -Ttext 0x430000 -o perf_p6 p6.o crt0.o -L../../../../lib -L../../../../../oskit/lib -L/home/drops/lib -llog -ll4util -lpci -lmc -lnames -loskit_support -lkern -lmc -lrmgr -llmm
ld: cannot find -llog
make[4]: *** [perf_p6] Error 1
make[4]: Leaving directory `/home/ege/aferoj/l4-cvs/l4/pkg/l4util/examples/perf'
$ ( cd lib ; ln -s ../pkg/log/lib/src/liblogserver.a ../pkg/log/lib/src/liblog.a .)
ld -N -Ttext 0x430000 -o perf_p6 p6.o crt0.o -L../../../../lib -L../../../../../oskit/lib -L/home/drops/lib -llog -ll4util -lpci -lmc -lnames -loskit_support -lkern -lmc -lrmgr -llmm
ld: cannot find -lpci
make[4]: *** [perf_p6] Error 1
make[4]: Leaving directory `/home/ege/aferoj/l4-cvs/l4/pkg/l4util/examples/perf'
$ touch pkg/l4util/examples/perf/perf_p6
# It finishes building now, but we don't have perf_p6, so:
$ rm pkg/l4util/examples/perf/perf_p6
ld -N -Ttext 0x430000 -o perf_p6 p6.o crt0.o -L../../../../lib -L../../../../../oskit/lib -L/home/drops/lib -llog -ll4util -lpci -lmc -lnames -loskit_support -lkern -lmc -lrmgr -llmm
ld: cannot find -lpci
make[4]: *** [perf_p6] Error 1
make[4]: Leaving directory `/home/ege/aferoj/l4-cvs/l4/pkg/l4util/examples/perf'
# cd to that directory and do the link without -lpci
# now everything is built, I think