[kaffe] Kaffe for eCos

abdeslam BENZEGHIOUA abbe at teamlog.com
Fri Aug 9 10:32:24 PDT 2002


I Want to port kaffe (JVM) 1.0.7 into eCos 2.x,
I have download :  kaffe-1.0.7.tar.gz
I configure it like this :

CC=arm-elf-gcc ./configure  --host=arm-elf --target=arm-elf

The configure : successed

But I have problem in make :

...
...
...
arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o
ltdl.c:1706: warning: `struct direct' declared inside parameter list
ltdl.c:1706: warning: its scope is only this definition or declaration, 
which is probably not what you want.
ltdl.c: In function `lt_argz_insertdir':
ltdl.c:3091: argument `dp' doesn't match prototype
ltdl.c:1709: prototype declaration
ltdl.c:3104: dereferencing pointer to incomplete type
ltdl.c:3104: dereferencing pointer to incomplete type
ltdl.c:3109: dereferencing pointer to incomplete type
ltdl.c:3120: dereferencing pointer to incomplete type
ltdl.c:3129: dereferencing pointer to incomplete type
ltdl.c:3139: dereferencing pointer to incomplete type
ltdl.c: In function `list_files_by_dir':
ltdl.c:3157: `DIR' undeclared (first use in this function)
ltdl.c:3157: (Each undeclared identifier is reported only once
ltdl.c:3157: for each function it appears in.)
ltdl.c:3157: `dirp' undeclared (first use in this function)
ltdl.c:3157: invalid lvalue in assignment
ltdl.c:3170: warning: assignment makes pointer from integer without a cast
ltdl.c:3171: dereferencing pointer to incomplete type
ltdl.c:3172: warning: passing arg 4 of `lt_argz_insertdir' from 
incompatible pointer type
make[2]: *** [ltdl.lo] Erreur 1
make[2]: Leaving directory `/home/abbe/kaffe/kaffe-1.0.7/libltdl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/abbe/kaffe/kaffe-1.0.7/libltdl'
make: *** [all-recursive] Error 1

Please can you help me

P.S: I have SuSE linux 8.0 ,  I have installed :
    - binutils 2.12.91
    - gcc 3.0.2
    - newlib 1.10.0
    - insight 5.2.1
    - eCos 2.x for arm-elf

Regards

Abdeslam





More information about the kaffe mailing list