l4 compile problem

sbrobson at fastmail.fm sbrobson at fastmail.fm
Fri Dec 17 10:18:30 CET 2004


Hi all.

I downloaded the latest cvs version (wednesday Dec 15), but when I run
make in the l4 directory I get the following error:

make[5]: Entering directory
`/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/OBJ-x86_586-l4v2'
  ... Compiling mmap_normal.o
LD_PRELOAD=/root/DROPS/l4/tool/gendep/libgendep.so
GENDEP_TARGET=mmap_normal.o GENDEP_BINARY=cc1  gcc -c     -DRAM_BASE=0x0
   -DSYSTEM_x86_586_l4v2 -DARCH_x86 -DCPUTYPE_586 -DL4API_l4v2 
-I../../../../idl/OBJ-x86-l4v2 -I../../../../../../include/x86/l4v2
-I/root/DROPS/drops/include/x86/l4v2 -I../../../../../../include/l4v2
-I/root/DROPS/drops/include/l4v2 -I../../../../../../include/x86
-I/root/DROPS/drops/include/x86 -I../../../../../../include
-I/root/DROPS/drops/include -nostdinc
-I../../../../../../include/dietlibc
-I/root/DROPS/drops/include/dietlibc
-I/usr/lib/gcc-lib/i486-linux/3.3.4/include -ffunction-sections -gstabs+
    -g -O2 -fno-strict-aliasing -march=i586 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations 
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c -o
mmap_normal.o
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:24:40:
l4/libc_backends/mmap_util.h: No such file or directory
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:37: warning:
`struct ds2server' declared inside parameter list
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:37: warning:
its scope is only this definition or declaration, which is probably not
what you want
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c: In function
`mmap_normal':
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:160:
warning: implicit declaration of function `add_ds2server'
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c: In function
`msync':
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:189:
warning: implicit declaration of function `get_ds2server'
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:189:
warning: assignment makes pointer from integer without a cast
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:198: error:
dereferencing pointer to incomplete type
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c: At top
level:
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:209:
warning: `struct ds2server' declared inside parameter list
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:210: error:
conflicting types for `munmap_normal'
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:37: error:
previous declaration of `munmap_normal'
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c: In function
`munmap_normal':
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:235: error:
dereferencing pointer to incomplete type
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:239:
warning: implicit declaration of function `del_ds2server'
/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/mmap_normal.c:239: error:
dereferencing pointer to incomplete type
make[5]: *** [mmap_normal.o] Error 1
make[5]: Leaving directory
`/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io/OBJ-x86_586-l4v2'
make[4]: *** [OBJ-x86_586-l4v2] Error 2
make[4]: Leaving directory
`/root/DROPS/l4/pkg/l4vfs/lib/libc_backends/io'
make[3]: *** [io] Error 2
make[3]: Leaving directory `/root/DROPS/l4/pkg/l4vfs/lib/libc_backends'
make[2]: *** [libc_backends] Error 2
make[2]: Leaving directory `/root/DROPS/l4/pkg/l4vfs/lib'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/root/DROPS/l4/pkg/l4vfs'
make: *** [l4vfs.lib] Error 2

It complains that it can't find mmap_util.h, which does't seem to exist
anywhere.
Any suggestions?

Thanx Steve.

-- 
  
  sbrobson at fastmail.fm





More information about the l4-hackers mailing list