CVS Server broken? + compiling L4 on FreeBSD

Farid Hajji farid.hajji at ob.kamp.net
Thu Sep 14 01:05:57 CEST 2000


Hi Michael,

I already asked this on l4-hackers, but I didn't get any replies (yet):

-------- begin forwarded message ----------- begin forwarded message --------
1. I'm missing some files, like e.g. in l4 module the file
   pkg/log/lib/include/l4/liblog.h (among others).
   [oskit10 is missing _a lot_ of files too, not only .html's]

2. In l4-hackers archive
   http://www.mail-archive.com/l4-hackers@os.inf.tu-dresden.de/msg00399.html
   Michael refers to an additional "log" package. This is fine, but this
   package (included in l4) doesn't include liblog.h (cvs server says:
   nothing known about pkg/log/lib/include/l4/liblog.h)
--------- end  forwarded message ------------ end  forwarded message --------

I did a complete "checkout l4" again in a fresh directory today, but
the problem remained (the same with cvs update -d). One guess may be
that the files are not present in the repository or that they have
wrong permissions. Could you please check that the cvs server is running
correctly (at least for l4 and oskit10)?

I'm trying to compile l4 on a FreeBSD machine. I was able to compile
oskit (_not_ oskit10) with gcc-2.7.2.3 and binutils-2.9.1 without
problems (gcc-2.95.2 couldn't grok some asm directives because of
forbidden use of certain x86 regs) except for the usual warnings.
Compiling l4 with gcc-2.95.2 and binutils-2.9.1 went well, up to the
point where liblog.h is required. I was not able to proceed any further
at this point (liblog.h was not present either in l4-990428.tar.gz).

BTW, I had to modify l4/Makeconf slightly, so that the native gcc(-2.95.2)
of FreeBSD be used instead of the cross-compiler i486-linux-gcc. This
is the modified part of l4/Makeconf:

ifdef CROSS
  CPPFLAGS+=    -DCROSS
  ifeq ($(SYSTEM),Linux)
    SYSTEM_TARGET=
    FLOPPY=/dev/fd0
  else
    ifeq ($(SYSTEM),FreeBSD)
      SYSTEM_TARGET=
      FLOPPY=/dev/rfd0.1440
    else
      SYSTEM_TARGET=i386-linux-
    endif
  endif
endif

I also tried to compile oskit10, but to no avail. Probably due to
the missing files problem reported earlier (I'm not sure though...),
even oskit10/configure bombed at a very early stage with the following
error message:

checking if compiler groks __attribute__((packed)) on structs... yes
checking if compiler groks __attribute__((pure))... yes
checking if compiler groks __attribute__((noreturn))... yes
checking if compiler groks __attribute__((constructor))... yes
configure: error: OSKit modules file ./modules.x86.pc was not found.

It didn't matter wether I used gcc-2.95.2 or gcc-2.7.2.3:

  env CC=gcc27 MAKE=gmake ./configure
  env CC=gcc MAKE=gmake ./configure

This is my compile environment:

  gcc -v
    Using builtin specs.
    gcc version 2.95.2 19991024 (release)
  gcc27 -v
    Reading specs from
      /usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/2.7.2.3/specs
    gcc version 2.7.2.3
  as -v
    GNU assembler version 2.9.1 (i386-unknown-freebsdelf),
    using BFD version 2.9.1
  ld -v
    GNU ld version 2.9.1 (with BFD 2.9.1)
  gmake -v
   GNU Make version 3.79, by Richard Stallman and Roland McGrath.
   Built for i386--freebsd5.0
  uname -rs
    FreeBSD 5.0-20000506-CURRENT

Please help!

Thanks,

-Farid.

-- 
Farid Hajji -- Unix Systems and Network Admin | Phone: +49-2131-67-555
Broicherdorfstr. 83, D-41564 Kaarst, Germany  | farid.hajji at ob.kamp.net
- - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - -
Murphy's Law fails only when you try to demonstrate it, and thus succeeds.




More information about the l4-hackers mailing list