[kaffe] Problem of porting kaffe to ecos on ARM 7 hardware target

Danny D.Mauersberger at gmx.net
Sun Jul 24 07:00:28 PDT 2005


Hello list!

 

I have the problem of porting kaffe-1.0.7 on an ARM 7 platform with the real
time operation system "eCos".

My Target platform has following features:

 

Hardware:

 

Processor ARM7 50 MHz 32 Bit RISC CPU

8 MB SDRAM, 2 MB Flash, RTC,

2 KBit EEPROM

 

 

First I have installed the eCos software Development Kit on Linux 9.2. After
that, you can build an eCos library with the “eCos Configuration Tool”. The
os “eCos” includes a Hal for my target platform (ARM 7). So I don´t need to
construct such a hal for my arm7 processor.

My aim is to build an eCos library including kaffe-1.0.7

 

I have  found an instruction at www.sinby.com, which describes the necessary
steps to install kaffe on the target platform "SH" with eCos as OS.. At
www.sinby.com you only will find instructions of porting kaffe to eCos for
the hardware platforms "MIPS" and "SH". I have modified these steps for my
ARM processor. Here are the steps a have tried to realize:

 

1. It is necessary to get following sources to build Kaffe / eCos:

 

      Kaffe-1.0.7        <http://www.kaffe.org/> http://www.kaffe.org

      eCos-current             <http://sources.redhat.com/>
http://sources.redhat.com

      Kaffe /eCos package      <http://sinby.com/> http://sinby.com

      

      Kaffe / eCos includes:

 

            - Stdio.001217.tar.gz   (additional stdio functions)

             

                  I didn´t find this file

            

- Kaffe_driver_V1_0_1.epk  (eCos package for kaffe)

 

- Kaffe106.diff (diff for kaffe-1.0.7)

 

   I have found the patch named „kaffe_ecos_KD_0_0B.diff

 

- Kaffe_ecos.tar.gz (additional sources for kaffe / eCos)             

 

 

2. Install kaffe-1.0.7 on Build Host

 

The installation of kaffe is necessary because you will find “kaffeh”, that
is needed for cross-compiling

            Kaffe is installed on /usr/local/kaffe-1.0.7 / kaffe-native

 

      IMPORTANT: - the source code of kaffe is under /usr / local /
kaffe-1.0.7

                        - I have added a kaffe-1.0.7 subdirectory /usr /
local / kaffe-1.0.7 /cross  (for cross-compiling)

      - I have installed kaffe on “/usr / local / kaffe-1.0.7 / kaffe-native


            

           I have realized this step!

 

3. It is necessary to add the functions feof(), ferror() and clearer() into
the directory “language/c/libc/stdio/current/src/common. The sources are
included in stdio_001217.tar.gz.

 

I didn´t find the stdio_001217.tar.gz, so I  skiped this step!

 

4. Add the Kaffe Package into eCos under the ecos “packages” directory as
below:

 

Tclsh ecosadmin.tcl add kaffe.driver_V1_0_1-epk.

 

            This includes systemcalls for kaffe, jar driver and machine
dependent codes.

 

            I have realized this step with the kaffe_driver_V0, because I
didn’t find a Version V_1!

 

5. Build the eCos Library included the kaffe package

 

First I have to choose a hardware- and package-template. In this case, my:

      

      - hardware template is:      AIM Arm Industrial Module 711

 

      - package template is:       net – package

 

 I added following additional packages:

 

- Compute CRCs

- FLASH DEVICE DRIVER – in this package, I have activated the option
“Instantiate in I/O block device and “Configuration from FIS”

- JFFS2 Filesystem

- Linux compatibility layer

- Zlib compress and decompress package

- Kaffe/eCos

 

      After having all packages together, I have built an eCos library with
this configuration.

 

6. Applying the patch  “kaffe107.diff” to kaffe-1.0.7. 

 

When I applied the patch, the following error occurs:

 

 

# patch < kaffe_ecos_KD_0_0B.diff

patching file config.sub

patching file configure

Hunk #1 succeeded at 10109 (offset -205 lines).

Hunk #2 FAILED at 10629.

Hunk #3 FAILED at 10921.

Hunk #4 FAILED at 10952.

Hunk #5 FAILED at 11029.

Hunk #6 FAILED at 11178.

Hunk #7 FAILED at 11209.

6 out of 7 hunks FAILED -- saving rejects to file configure.rej patching
file configure.in

can't find file to patch at input line 117

Perhaps you should have used the -p or --strip option?

The text leading up to this was:

--------------------------

|--- kaffe-1.0.7-orig/config/config-io.h        1999-07-28
09:25:37.000000000 +0900

|+++ kaffe-1.0.7/config/config-io.h     2002-07-07 01:24:00.000000000 +0900

 

 

7. Exctract all files from achive file “kaffe_ecos.tar.gz.

 

I have added a new directory named “arm” including  the “md” directory to
the archive. I have modified and adapted the header, source files and cdl
files in the md-directory to my arm-processor. Then I copied the modified
archive to kaffe-1.0.7 directory. Modifications in the “config.sub” and
“config..alias” are necessary, so that you are able to execute the
./configure in step 10 with the option –host=arm-ecos

 

8. Changing the directory to kaffe/kaffe/. Add my jar.file and make
necessary modifications to “classes.txt” and “ecos.mk” to suit to my jar
file environment. My jar file includes a simple “Hello World” .class file

 

9. Set up the environment for cross-compiling:

 

 

export KAFFEH=/usr/local/kaffe-1.0.7/kaffe-native/kaffe/kaffeh/kaffeh

export LDFLAGS="-L/usr/local/Projekt/Version1/untitled1_install/lib
-nostartfiles -Ttarget.ld -WI,--gc-sections"

export CFLAGS="-mcpu=arm7tdmi -mbig-endian -Wall -g -O2 -D__ECOS"

export CPPFLAGS="-I/usr/local/Projekt/Version1/untitled1_install/include
-nostdinc -D__ECOS" 

export CC=arm-elf-gcc 

export LD=arm-elf-ld

export NM=arm-elf-nm

export AR=arm-elf-ar

export RANLIB=arm-elf-ranlib

export CPP=arm-elf-cpp

export OBJCOPY=arm-elf-objcopy

 

 

10. Execution of Configure and Make in my subdirectory “ /usr / local /
kaffe-1.0.7 / cross

 

Configure Execution in the subdirectory “kaffe-cross” of kaffe-1.0.6:

 

./configure --host = arm-ecos --build = i686-linux

 

After the Execution you can see the following:

 

linux:/usr/local/kaffe-1.0.7/cross # /usr/local/kaffe-1.0.7/configure
--host=arm-ecos --build=i686-linux

loading cache ./config.cache

checking for a BSD compatible install... (cached) /usr/bin/install -c

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... (cached) yes

checking for working aclocal... found

checking for working autoconf... found

checking for working automake... found

checking for working autoheader... found

checking for working makeinfo... missing

checking whether to enable maintainer-specific portions of Makefiles... no

checking for gcc... (cached) arm-elf-gcc

checking whether the C compiler (arm-elf-gcc -mcpu=arm7tdmi -mbig-endian
-Wall -g -O2 -D__ECOS -L/usr/local/Projekt/Version1/untitled1_install/lib
-nostartfiles -Ttarget.ld -WI,--gc-sections) works... yes

checking whether the C compiler (arm-elf-gcc -mcpu=arm7tdmi -mbig-endian
-Wall -g -O2 -D__ECOS -L/usr/local/Projekt/Version1/untitled1_install/lib
-nostartfiles -Ttarget.ld -WI,--gc-sections) is a cross-compiler... yes

checking whether we are using GNU C... (cached)
/usr/local/kaffe-1.0.7/configure: line 1232

yes

checking whether arm-elf-gcc accepts -g... (cached) yes

checking host system type... /usr/local/kaffe-1.0.7/configure: line 1320

Host_CPU: arm

Host IST: arm-unknown-ecos

OS: ecos

      checking for Cygwin environment... (cached) no

checking for mingw32 environment... (cached) no

checking for executable suffix... (cached) no

arm

ecos

************************************************************

Using ARM/ECOS config.frag

************************************************************

checking how to run the C preprocessor... arm-elf-cpp

checking build system type... i686-pc-linux-gnu

checking for ld used by GCC... (cached) arm-elf-ld

checking if the linker (arm-elf-ld) is GNU ld... (cached) yes

checking for arm-elf-ld option to reload object files... (cached) -r

checking for BSD-compatible nm... (cached) arm-elf-nm

checking whether ln -s works... (cached) yes

checking how to recognise dependant libraries... (cached) unknown

checking for object suffix... (cached) o

checking command to parse arm-elf-nm output... (cached) ok

checking for dlfcn.h... (cached) yes

checking for arm-ecos-ranlib... (cached) arm-elf-ranlib

checking for arm-ecos-strip... (cached) strip

checking for objdir... .libs

checking for arm-elf-gcc option to produce PIC... (cached)     -fPIC

checking if arm-elf-gcc PIC flag     -fPIC works... (cached) yes

checking if arm-elf-gcc static flag -static works... (cached) yes

checking if arm-elf-gcc supports -c -o file.o... (cached) yes

checking if arm-elf-gcc supports -c -o file.lo... (cached) yes

checking if arm-elf-gcc supports -fno-rtti -fno-exceptions... yes

checking whether the linker (arm-elf-ld) supports shared libraries... yes

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking dynamic linker characteristics... no

checking if libtool supports shared libraries... no

checking whether to build shared libraries... no

checking whether to build static libraries... yes

checking for shl_load... (cached) no

checking for shl_load in -ldld... (cached) no

checking for dlopen... (cached) no

checking for dlopen in -ldl... (cached) no

checking for dlopen in -lsvld... (cached) no

checking for dld_link in -ldld... (cached) no

creating libtool

checking for _ prefix in compiled symbols... (cached) no

checking execution engine... intrp

checking gprof(4) profiling support... no

checking sun compatibility mode... yes

checking thread system... ecos-native

checking for a BSD compatible install... /usr/bin/install -c

checking whether make sets ${MAKE}... (cached) yes

checking for jikes... no

checking for zip... (cached) zip

checking size of short... (cached) 2

checking size of int... (cached) 4

checking size of long... (cached) 4

checking size of long long... (cached) 8

checking size of __int64... (cached) 0

checking size of void*... (cached) 4

checking alignment of void*... (cached) 4

checking return type of signal handlers... (cached) int

checking whether signal handlers are one-shot... (cached) cross

checking for ANSI C header files... (cached) yes

checking for size_t... (cached) yes

checking for ssize_t... (cached) yes

checking for _mwvalidcheckl in -lmw... (cached) no

checking for sin in -lm... (cached) yes

checking for gethostname... (cached) no

checking for gethostname in -lnsl... (cached) no

checking for gethostbyname... (cached) no

checking for gethostbyname in -lnsl... (cached) no

checking for connect... (cached) no

checking for connect in -lsocket... (cached) no

checking for deflate in -lz... (cached) no

checking for mpz_get_d in -lgmp... (cached) no

checking for __gmpz_get_d in -lgmp... (cached) no

checking for MD2Init... (cached) no

checking for MD4Init... (cached) no

checking for MD5Init... (cached) no

checking for MD5Init in -lmd... (cached) no

checking for X... disabled

checking for ANSI C header files... (cached) yes

checking for alloca.h... (cached) yes

checking for asm/sigcontext.h... (cached) no

checking for asm/signal.h... (cached) no

checking for bsd/libc.h... (cached) no

checking for dl.h... (cached) no

checking for dlfcn.h... (cached) yes

checking for fcntl.h... (cached) yes

checking for features.h... (cached) no

checking for gmp.h... (cached) no

checking for iconv.h... (cached) yes

checking for jpeglib.h... (cached) no

checking for kernel/OS.h... (cached) no

checking for mach-o/rld.h... (cached) no

checking for malloc.h... (cached) yes

checking for memory.h... (cached) no

checking for netdb.h... (cached) yes

checking for netinet/in.h... (cached) yes

checking for netinet/in_systm.h... (cached) yes

checking for netinet/tcp.h... (cached) yes

checking for png.h... (cached) no

checking for poll.h... (cached) no

checking for pwd.h... (cached) yes

checking for sigcontext.h... (cached) no

checking for signal.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking for sys/filio.h... (cached) no

checking for sys/ioctl.h... (cached) yes

checking for sys/param.h... (cached) yes

checking for sys/poll.h... (cached) no

checking for sys/select.h... (cached) yes

checking for sys/socket.h... (cached) yes

checking for sys/stat.h... (cached) yes

checking for sys/time.h... (cached) yes

checking for sys/types.h... (cached) yes

checking for sys/utsname.h... (cached) no

checking for sys/wait.h... (cached) yes

checking for time.h... (cached) yes

checking for unistd.h... (cached) yes

checking for utime.h... (cached) yes

checking for winbase.h... (cached) no

checking for windows.h... (cached) no

checking for winnt.h... (cached) no

checking for winsock.h... (cached) no

checking for wintypes.h... (cached) no

checking for wtypes.h... (cached) no

checking for zlib.h... (cached) no

checking for dirent.h that defines DIR... (cached) no

checking for sys/ndir.h that defines DIR... (cached) no

checking for sys/dir.h that defines DIR... (cached) no

checking for ndir.h that defines DIR... (cached) no

checking for opendir in -lx... (cached) no

checking for sys/resource.h... (cached) yes

checking for getrusage... (cached) no

checking whether to enable GCJ support...

checking whether to enable MIPS II instructions... no

checking whether time.h and sys/time.h may both be included... (cached) no

checking whether struct tm is in sys/time.h or time.h... (cached) sys/time.h

checking for tm_zone in struct tm... (cached) no

checking for tzname... (cached) no

checking whether byte ordering is bigendian... (cached) no

checking whether char is unsigned... (cached) no

checking for inline... (cached) inline

checking for struct sigcontext... (cached) no

checking for struct sigcontext_struct (without asm/sigcontext.h)... (cached)
no

checking for struct sigcontext_struct (with asm/sigcontext.h)... (cached) no

checking for strftime... (cached) no

checking for strftime in -lintl... (cached) no

checking for unistd.h... (cached) yes

checking for getpagesize... (cached) no

checking for working mmap... (cached) no

checking for select... (cached) yes

checking for socket... (cached) yes

checking for getsockname... (cached) yes

checking for getpagesize... (cached) no

checking for memcpy... (cached) yes

checking for memmove... (cached) yes

checking for mkdir... (cached) yes

checking for getcwd... (cached) yes

checking for chdir... (cached) yes

checking for getwd... (cached) no

checking for gettimeofday... (cached) no

checking for ftime... (cached) no

checking for time... (cached) yes

checking for uname... (cached) yes

checking for getuid... (cached) no

checking for localtime... (cached) yes

checking for iconv... (cached) no

checking for remainder... (cached) no

checking for remainderf... (cached) no

checking for fmod... (cached) no

checking for fmodf... (cached) no

checking for drem... (cached) no

checking for rint... (cached) yes

checking for floor... (cached) yes

checking for ceil... (cached) yes

checking for finite... (cached) yes

checking for isinf... (cached) yes

checking for isnan... (cached) yes

checking for strtod... (cached) yes

checking for mergesort... (cached) no

checking whether long division is broken... (cached) cross

checking whether long modulo is broken... (cached) cross

checking whether long long modulo is broken... (cached) cross

checking whether strtod("-0.0") is broken... (cached) cross

checking for strerror... (cached) yes

checking for hstrerror... (cached) no

checking for fcntl... (cached) no

checking for ioctl... (cached) no

checking for alarm... (cached) no

checking for setitimer... (cached) no

checking for sigprocmask... (cached) no

checking for sigsetmask... (cached) no

checking for sigemptyset... (cached) no

checking for sigaddset... (cached) no

checking for signal... (cached) no

checking for sigaction... (cached) no

checking for sbrk... (cached) no

checking for valloc... (cached) no

checking for memalign... (cached) no

checking for mallopt... (cached) no

checking for mprotect... (cached) no

checking for madvise... (cached) no

checking for waitpid... (cached) no

checking for kill... (cached) no

checking for fork... (cached) no

checking for execve... (cached) no

checking for execvp... (cached) no

checking for sync... (cached) no

checking for fsync... (cached) no

checking for atexit... (cached) no

checking for on_exit... (cached) no

checking for vsnprintf... (cached) no

checking for snprintf... (cached) no

checking for declaration of select... (cached) no

checking for declaration of swab... (cached) no

configure: warning: when cross compiling, you may want to set
ac_cv_c_char_unsigned to yes or no

checking for kaffeh... (cached)
/usr/local/kaffe-1.0.7/kaffe-native/kaffe/kaffeh/kaffeh

checking for path separator... (cached) path_separator

checking for directory separator... (cached) file_separator

updating cache ./config.cache

creating ./config.status

creating Makefile

creating config/Makefile

creating include/Makefile

creating kaffe/Makefile

creating libraries/Makefile

creating kaffe/kaffevm/Makefile

creating kaffe/kaffevm/intrp/Makefile

creating kaffe/kaffevm/jit/Makefile

creating kaffe/kaffevm/jit3/Makefile

creating kaffe/kaffevm/gcj/Makefile

creating kaffe/kaffevm/systems/Makefile

creating kaffe/kaffevm/systems/unix-jthreads/Makefile

creating kaffe/kaffevm/systems/oskit-pthreads/Makefile

creating kaffe/kaffevm/systems/beos-native/Makefile

creating kaffe/kaffevm/systems/unix-pthreads/Makefile

creating kaffe/kaffevm/systems/ecos-native/Makefile

creating kaffe/kaffe/Makefile

creating kaffe/kaffeh/Makefile

creating kaffe/xprof/Makefile

creating kaffe/man/Makefile

creating kaffe/scripts/Makefile

creating kaffe/scripts/bat/Makefile

creating kaffe/scripts/compat/Makefile

creating libraries/javalib/Makefile

creating libraries/clib/Makefile

creating libraries/clib/native/Makefile

creating libraries/clib/io/Makefile

creating libraries/clib/net/Makefile

creating libraries/clib/zip/Makefile

creating libraries/clib/math/Makefile

creating libraries/clib/management/Makefile

creating libraries/clib/security/Makefile

creating libraries/clib/awt/Makefile

creating libraries/clib/awt/X/Makefile

creating libraries/extensions/Makefile

creating libraries/extensions/comm/Makefile

creating libraries/extensions/comm/javalib/Makefile

creating libraries/extensions/pjava/Makefile

creating libraries/extensions/pjava/javalib/Makefile

creating libraries/extensions/servlet/Makefile

creating libraries/extensions/servlet/javalib/Makefile

creating libraries/extensions/tools/Makefile

creating libraries/extensions/tools/javalib/Makefile

creating libraries/extensions/microsoft/Makefile

creating libraries/extensions/microsoft/javalib/Makefile

creating libraries/extensions/microsoft/clib/Makefile

creating libraries/extensions/sinby/Makefile

creating libraries/extensions/sinby/javalib/Makefile

creating libraries/extensions/sinby/clib/Makefile

creating libraries/extensions/rmi/Makefile

creating libraries/extensions/rmi/javalib/Makefile

creating kaffe/man/kaffe.1

creating libraries/javalib/rebuildLib

creating kaffe/scripts/install-jar

creating kaffe/scripts/kaffe

creating kaffe/scripts/kaffexprof

creating kaffe/scripts/javac

creating kaffe/scripts/javakey

creating kaffe/scripts/jar

creating kaffe/scripts/javap

creating kaffe/scripts/jdb

creating kaffe/scripts/kjc

creating kaffe/scripts/kopi

creating kaffe/scripts/javadoc

creating kaffe/scripts/appletviewer

creating kaffe/scripts/rmic

creating kaffe/scripts/rmiregistry

creating kaffe/scripts/serialver

creating kaffe/scripts/native2ascii

creating kaffe/scripts/compat/java

creating kaffe/scripts/compat/javac

creating kaffe/scripts/compat/appletviewer

creating kaffe/scripts/compat/javadoc

creating test/Makefile

creating test/regression/Makefile

creating test/regression/TestScript

creating config/config.h

config/config.h is unchanged

creating include/jtypes.h

include/jtypes.h is unchanged

configuring in libltdl

running /bin/sh /usr/local/kaffe-1.0.7/libltdl/configure  --host=arm-ecos
--build=i686-linux --enable-ltdl-convenience --cache-file=.././config.cache
--srcdir=/usr/local/kaffe-1.0.7/libltdl

loading cache .././config.cache

checking for a BSD compatible install... (cached) /usr/bin/install -c

checking whether build environment is sane... yes

checking for mawk... (cached) gawk

checking whether make sets ${MAKE}... (cached) yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for gcc... (cached) arm-elf-gcc

checking whether the C compiler (arm-elf-gcc -mcpu=arm7tdmi -mbig-endian
-Wall -g -O2 -D__ECOS -Wall -Wstrict-prototypes
-L/usr/local/Projekt/Version1/untitled1_install/lib -nostartfiles
-Ttarget.ld -WI,--gc-sections) works... yes

checking whether the C compiler (arm-elf-gcc -mcpu=arm7tdmi -mbig-endian
-Wall -g -O2 -D__ECOS -Wall -Wstrict-prototypes
-L/usr/local/Projekt/Version1/untitled1_install/lib -nostartfiles
-Ttarget.ld -WI,--gc-sections) is a cross-compiler... yes

checking whether we are using GNU C... (cached) yes

checking whether arm-elf-gcc accepts -g... (cached) yes

checking for style of include used by make... GNU

checking dependency style of arm-elf-gcc... (cached) none

checking for working const... (cached) yes

checking for inline... (cached) inline

checking for Cygwin environment... (cached) no

checking for mingw32 environment... (cached) no

checking how to run the C preprocessor... arm-elf-cpp

checking host system type... arm-unknown-ecos

checking build system type... i686-pc-linux-gnu

checking for ld used by GCC... (cached) arm-elf-ld

checking if the linker (arm-elf-ld) is GNU ld... (cached) yes

checking for arm-elf-ld option to reload object files... (cached) -r

checking for BSD-compatible nm... (cached) arm-elf-nm

checking whether ln -s works... (cached) yes

checking how to recognise dependant libraries... (cached) unknown

checking for object suffix... (cached) o

checking for executable suffix... (cached) no

checking command to parse arm-elf-nm output... (cached) ok

checking for dlfcn.h... (cached) yes

checking for arm-ecos-ranlib... (cached) arm-elf-ranlib

checking for arm-ecos-strip... (cached) strip

checking for objdir... .libs

checking for arm-elf-gcc option to produce PIC... (cached)      -fPIC

checking if arm-elf-gcc PIC flag      -fPIC works... (cached) yes

checking if arm-elf-gcc static flag -static works... (cached) yes

checking if arm-elf-gcc supports -c -o file.o... (cached) yes

checking if arm-elf-gcc supports -c -o file.lo... (cached) yes

checking if arm-elf-gcc supports -fno-rtti -fno-exceptions... yes

checking whether the linker (arm-elf-ld) supports shared libraries... yes

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking dynamic linker characteristics... no

checking if libtool supports shared libraries... no

checking whether to build shared libraries... no

checking whether to build static libraries... yes

creating libtool

checking for ANSI C header files... (cached) yes

checking for dirent.h that defines DIR... (cached) no

checking for sys/ndir.h that defines DIR... (cached) no

checking for sys/dir.h that defines DIR... (cached) no

checking for ndir.h that defines DIR... (cached) no

checking for opendir in -lx... (cached) no

checking whether arm-elf-gcc supports assert without backlinking...

checking which extension is used for shared libraries... (cached)

checking which variable specifies run-time library path... (cached)

checking for the default library search path... (cached) /lib /usr/lib

checking for objdir... (cached) .libs

checking whether libtool supports -dlopen/-dlpreopen... (cached) yes

checking for shl_load... (cached) no

checking for shl_load in -ldld... (cached) no

checking for dlopen in -ldl... (cached) no

checking for dlopen in -lsvld... (cached) no

checking for dld_link in -ldld... (cached) no

checking for _ prefix in compiled symbols... (cached) no

checking whether deplibs are loaded by dlopen... (cached) unknown

checking for argz.h... (cached) yes

checking for error_t... no

checking for argz_append... (cached) no

checking for argz_create_sep... (cached) no

checking for argz_insert... (cached) no

checking for argz_next... (cached) no

checking for argz_stringify... (cached) no

checking for errno.h... (cached) yes

checking for malloc.h... (cached) yes

checking for memory.h... (cached) no

checking for stdlib.h... (cached) yes

checking for stdio.h... (cached) yes

checking for ctype.h... (cached) yes

checking for unistd.h... (cached) yes

checking for dl.h... (cached) no

checking for sys/dl.h... (cached) no

checking for dld.h... (cached) no

checking for string.h... (cached) yes

checking for strchr... (cached) no

checking for index... (cached) no

checking for strrchr... (cached) no

checking for rindex... (cached) no

checking for memcpy... (cached) yes

checking for memmove... (cached) yes

checking for strcmp... (cached) no

updating cache .././config.cache

creating ./config.status

creating Makefile

creating config.h

config.h is unchanged

linux:/usr/local/kaffe-1.0.7/cross #


 

 

11. execution of make

 

There are lot´s of errors, which you can see in the following output:

 

linux:/usr/local/kaffe-1.0.7/cross # make

Making all in .

make[1]: Entering directory `/usr/local/kaffe-1.0.7/cross'

make top_srcdir=`cd /usr/local/kaffe-1.0.7 >/dev/null; pwd` \

        top_builddir=`cd . >/dev/null; pwd` \

        "DEBUG_ENV=" BUILD_ENVIRONMENT-make

make[2]: Entering directory `/usr/local/kaffe-1.0.7/cross'

echo
CLASSPATH=\${CLASSPATH-.}\''path_separator'\'/usr/local/kaffe-1.0.7/librari

es/javalib/Klasses.jar\''path_separator'\'/usr/local/kaffe-1.0.7/libraries/j
aval

ib/kjc.jar\; export CLASSPATH | sed 's,/,file_separator,g;s,\\,\\\\,g' >
BUILD_E

NVIRONMENT.new; \

echo
KAFFELIBRARYPATH=\${KAFFELIBRARYPATH+\"\$KAFFELIBRARYPATH\"\''path_separato

r'\'}`for f in
/usr/local/kaffe-1.0.7/cross/libraries/clib/native/libnative.la /

usr/local/kaffe-1.0.7/cross/libraries/clib/net/libnet.la
/usr/local/kaffe-1.0.7/

cross/libraries/clib/io/libio.la
/usr/local/kaffe-1.0.7/cross/libraries/clib/zip

/libzip.la /usr/local/kaffe-1.0.7/cross/libraries/clib/math/libmath.la
/usr/loca

l/kaffe-1.0.7/cross/libraries/clib/management/libmanagement.la
/usr/local/kaffe-

1.0.7/cross/libraries/clib/security/libsecurity.la
/usr/local/kaffe-1.0.7/cross/

libraries/extensions/microsoft/clib/libmicrosoft.la
/usr/local/kaffe-1.0.7/cross

/libraries/extensions/sinby/clib/libsinby.la   ; do echo "$f" | sed
's%/[^/]*$%%

'; done | (tr '\012' ' '; echo) | sed -e 's/ $//' -e "s/
/\'path_separator\'/g"`

\; export KAFFELIBRARYPATH >> BUILD_ENVIRONMENT.new; \

echo JAVA=/usr/local/kaffe-1.0.7/cross/kaffe/kaffe/kaffe-bin\; export JAVA
>> BU

ILD_ENVIRONMENT.new

rm -f BUILD_ENVIRONMENT

mv BUILD_ENVIRONMENT.new BUILD_ENVIRONMENT

make[2]: Leaving directory `/usr/local/kaffe-1.0.7/cross'

make[1]: Leaving directory `/usr/local/kaffe-1.0.7/cross'

Making all in config

make[1]: Entering directory `/usr/local/kaffe-1.0.7/cross/config'

/bin/sh /usr/local/kaffe-1.0.7/config/regen-forward
/usr/local/kaffe-1.0.7/confi

g/arm/ecos/md.h md.h stamp-h02

md.h is already up-to-date

/bin/sh /usr/local/kaffe-1.0.7/config/regen-forward  xprofile-md.h stamp-h03

make[2]: Entering directory `/usr/local/kaffe-1.0.7/cross/config'

/bin/sh /usr/local/kaffe-1.0.7/config/regen-forward  xprofile-md.h stamp-h03

make[2]: Leaving directory `/usr/local/kaffe-1.0.7/cross/config'

make[1]: Leaving directory `/usr/local/kaffe-1.0.7/cross/config'

Making all in include

make[1]: Entering directory `/usr/local/kaffe-1.0.7/cross/include'

make[1]: Leaving directory `/usr/local/kaffe-1.0.7/cross/include'

Making all in libltdl

make[1]: Entering directory `/usr/local/kaffe-1.0.7/cross/libltdl'

make  all-am

make[2]: Entering directory `/usr/local/kaffe-1.0.7/cross/libltdl'

/bin/sh ./libtool --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I.
-I/usr/local/ka

ffe-1.0.7/libltdl -I.   -DKVER='""' -I/usr/local/kaffe-1.0.7/kaffe/kaffevm
-I/us

r/local/kaffe-1.0.7/kaffe/kaffevm/systems/ecos-native
-I/usr/local/kaffe-1.0.7/l

ibltdl/config -I/usr/local/kaffe-1.0.7/libltdl/include
-I/usr/local/Projekt/Vers

ion1/untitled1_install/include -nostdinc -D__ECOS -I/usr/local/include
-mcpu=ar

m7tdmi -mbig-endian -Wall -g -O2 -D__ECOS -Wall -Wstrict-prototypes -c -o
ltdl.l

o `test -f /usr/local/kaffe-1.0.7/libltdl/ltdl.c || echo
'/usr/local/kaffe-1.0.7

/libltdl/'`/usr/local/kaffe-1.0.7/libltdl/ltdl.c

arm-elf-gcc -DHAVE_CONFIG_H -I. -I/usr/local/kaffe-1.0.7/libltdl -I.
-DKVER=\"\"

 -I/usr/local/kaffe-1.0.7/kaffe/kaffevm
-I/usr/local/kaffe-1.0.7/kaffe/kaffevm/s

ystems/ecos-native -I/usr/local/kaffe-1.0.7/libltdl/config
-I/usr/local/kaffe-1.

0.7/libltdl/include -I/usr/local/Projekt/Version1/untitled1_install/include
-nos

tdinc -D__ECOS -I/usr/local/include -mcpu=arm7tdmi -mbig-endian -Wall -g -O2
-D_

_ECOS -Wall -Wstrict-prototypes -c /usr/local/kaffe-1.0.7/libltdl/ltdl.c -o
ltdl

.o

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/sys/

types.h:70,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/unis

td.h:66,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:33:

/usr/local/Projekt/Version1/untitled1_install/include/stddef.h:64:25:
stddef.h:

No such file or directory

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/sys/

types.h:101,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/unis

td.h:66,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:33:

/usr/local/Projekt/Version1/untitled1_install/include/cyg/posix/types.h:95:
erro

r: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/posix/types.h:95:
warn

ing: no semicolon at end of struct or union

/usr/local/Projekt/Version1/untitled1_install/include/cyg/posix/types.h:96:
warn

ing: type defaults to `int' in declaration of `pthread_attr_t'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/posix/types.h:96:
warn

ing: data definition has no type or storage class

In file included from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:33:

/usr/local/Projekt/Version1/untitled1_install/include/unistd.h:233: error:
parse

 error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/unistd.h:233: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/unistd.h:234: error:
parse

 error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/unistd.h:234: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/unistd.h:240: error:
parse

 error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/unistd.h:240: warning:
fun

ction declaration isn't a prototype

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/stdi

o.h:77,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:37:

/usr/local/Projekt/Version1/untitled1_install/include/stdarg.h:65:25:
stdarg.h:

No such file or directory

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/stdi

o.h:81,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:37:

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:158

: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:158

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:190

: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:190

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:193

: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:194

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:198

: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:198

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:249

: error: parse error before "fread"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:249

: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:250

: warning: type defaults to `int' in declaration of `fread'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:250

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:250

: warning: data definition has no type or storage class

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:253

: error: parse error before "fwrite"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:253

: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:254

: warning: type defaults to `int' in declaration of `fwrite'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:254

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:254

: warning: conflicting types for built-in function 'fwrite'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:254

: warning: data definition has no type or storage class

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:296

: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:298

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:301

: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:302

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:302

: warning: conflicting types for built-in function 'snprintf'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:305

: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:307

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:310

: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:312

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:315

: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:316

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:320

: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:320

: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:324

: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.h
:324

: warning: function declaration isn't a prototype

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.inl:67,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.h:330,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/stdi

o.h:81,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:37:

/usr/local/Projekt/Version1/untitled1_install/include/string.h:91: error:
parse

error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/string.h:91: warning:
func

tion declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/string.h:104: error:
parse

 error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/string.h:104: warning:
fun

ction declaration isn't a prototype

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/stri

ng.h:109,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.inl:67,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.h:330,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/stdi

o.h:81,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:37:

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:7

3: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:7

3: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:7

9: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:7

9: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:8

9: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:8

9: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:9

7: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:9

7: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

06: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

06: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

09: error: parse error before "strxfrm"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

09: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

09: warning: type defaults to `int' in declaration of `strxfrm'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

09: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

09: warning: data definition has no type or storage class

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

17: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

17: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

23: error: parse error before "strcspn"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

23: warning: type defaults to `int' in declaration of `strcspn'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

23: warning: data definition has no type or storage class

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

32: error: parse error before "strspn"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

32: warning: type defaults to `int' in declaration of `strspn'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

32: warning: data definition has no type or storage class

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

51: error: parse error before "strlen"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

51: warning: type defaults to `int' in declaration of `strlen'

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/string
.h:1

51: warning: data definition has no type or storage class

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/stri

ng.h:117,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.inl:67,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.h:330,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/stdi

o.h:81,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:37:

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:79: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:79: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:82: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:82: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:85: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:85: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:88: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:88: warning: function declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:97: error: parse error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/string/bsdstr
ing.

h:97: warning: function declaration isn't a prototype

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.inl:68,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.h:330,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/stdi

o.h:81,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:37:

/usr/local/Projekt/Version1/untitled1_install/include/limits.h:222:26:
limits.h:

 No such file or directory

In file included from
/usr/local/Projekt/Version1/untitled1_install/include/cyg/

libc/stdio/stdio.h:330,

                 from
/usr/local/Projekt/Version1/untitled1_install/include/stdi

o.h:81,

                 from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:37:

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:9

4: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:

In function `vfprintf':

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:9

5: error: number of arguments doesn't match prototype

cc1: error: prototype declaration

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:9

6: error: `stream' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:9

6: error: (Each undeclared identifier is reported only once

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:9

6: error: for each function it appears in.)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:9

6: error: `INT_MAX' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:9

6: error: `format' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:9

6: error: `arg' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:

At top level:

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

01: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:

In function `vprintf':

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

02: error: number of arguments doesn't match prototype

cc1: error: prototype declaration

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

03: error: `INT_MAX' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

03: error: `format' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

03: error: `arg' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:

At top level:

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

08: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:

In function `vsprintf':

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

09: error: number of arguments doesn't match prototype

cc1: error: prototype declaration

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

10: error: `s' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

10: error: `INT_MAX' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

10: error: `format' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

10: error: `arg' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:

At top level:

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

51: error: parse error before "va_list"

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:

In function `vscanf':

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

52: error: number of arguments doesn't match prototype

cc1: error: prototype declaration

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

53: error: `format' undeclared (first use in this function)

/usr/local/Projekt/Version1/untitled1_install/include/cyg/libc/stdio/stdio.i
nl:1

53: error: `arg' undeclared (first use in this function)

In file included from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:41:

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h: At top
level:

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:184: warning:
par

ameter names (without types) in function declaration

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:190: warning:
par

ameter names (without types) in function declaration

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:193: error:
parse

 error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:193: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:354: error:
parse

 error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:355: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:381: error:
parse

 error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:382: warning:
fun

ction declaration isn't a prototype

In file included from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:41:

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:483: error:
parse

 error before "size_t"

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:483: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:486: error:
parse

 error before '*' token

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:486: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:489: error:
parse

 error before "wchar_t"

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:489: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:492: error:
parse

 error before "mbstowcs"

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:492: error:
parse

 error before '*' token

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:492: warning:
typ

e defaults to `int' in declaration of `mbstowcs'

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:492: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:492: warning:
dat

a definition has no type or storage class

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:495: error:
parse

 error before "wcstombs"

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:495: warning:
typ

e defaults to `int' in declaration of `wchar_t'

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:495: error:
parse

 error before '*' token

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:495: warning:
typ

e defaults to `int' in declaration of `wcstombs'

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:495: warning:
fun

ction declaration isn't a prototype

/usr/local/Projekt/Version1/untitled1_install/include/stdlib.h:495: warning:
dat

a definition has no type or storage class

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:57:22: malloc.h: No such file or
directory

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:86:20: argz.h: No such file or
directory

In file included from /usr/local/kaffe-1.0.7/libltdl/ltdl.c:95:

/usr/local/kaffe-1.0.7/libltdl/ltdl.h:204: error: parse error before "size"

/usr/local/kaffe-1.0.7/libltdl/ltdl.h:204: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.h:205: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.h:205: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:158: error: parse error before "size"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:158: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:159: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:159: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:161: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:161: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:164: error: parse error before "size"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:165: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:165: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:165: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:166: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:167: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:167: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:167: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:387: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `rpl_realloc':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:388: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:426: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:426: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:431: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `rpl_argz_append':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:432: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:434: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:436: error: `size_t' undeclared (first
use

 in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:448: error: `argz_len' undeclared
(first u

se in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:448: error: invalid type argument of
`unar

y *'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:454: error: invalid type argument of
`unar

y *'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:458: error: invalid type argument of
`unar

y *'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:468: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:468: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:473: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `rpl_argz_create_sep':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:476: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:478: error: `size_t' undeclared (first
use

 in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:487: error: `argz_len' undeclared
(first u

se in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:521: error: invalid type argument of
`unar

y *'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:531: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:531: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:536: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `rpl_argz_insert':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:537: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:562: error: `size_t' undeclared (first
use

 in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:562: error: parse error before
"entry_len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:565: error: `argz_len' undeclared
(first u

se in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:572: error: `offset' undeclared (first
use

 in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:577: error: `entry_len' undeclared
(first

use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:577: error: invalid type argument of
`unar

y *'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:582: error: invalid type argument of
`unar

y *'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:593: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:593: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:598: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `rpl_argz_next':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:599: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:638: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:638: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:643: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `rpl_argz_stringify':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:644: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:879: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:879: warning: type defaults to `int'
in de

claration of `size'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:879: warning: data definition has no
type

or storage class

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:889: warning: function declaration
isn't a

 prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `lt_erealloc':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:890: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1474: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1493: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1515: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1523: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1561: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1611: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1621: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1673: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1673: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1699: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1699: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1703: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1703: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1706: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1706: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1713: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1713: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1965: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `tryall_dlopen_module':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1972: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1972: error: parse error before
"filename_

len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1984: error: `dirname_len' undeclared
(fir

st use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:1986: error: `filename_len' undeclared
(fi

rst use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `canonicalize_path':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2075: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2075: error: parse error before "dest"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2077: error: `src' undeclared (first
use i

n this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2084: error: `dest' undeclared (first
use

in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2125: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `argzize_path':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2127: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `foreach_dirinpath':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2167: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2167: error: parse error before
"lenbase"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2184: error: `argz_len' undeclared
(first

use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2191: error: parse error before
"lendir"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2193: error: `lendir' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2193: error: `lenbase' undeclared
(first u

se in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `find_file_callback':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2246: warning: initialization discards
qua

lifiers from pointer target type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `load_deplibs':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2416: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2416: error: parse error before
"name_len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2417: error: `name_len' undeclared
(first

use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `trim':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2502: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2502: error: parse error before "len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2507: error: `len' undeclared (first
use i

n this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `try_dlopen':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2593: warning: assignment discards
qualifi

ers from pointer target type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2596: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2596: error: parse error before
"dirlen"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2598: error: `dirlen' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2626: error: parse error before
"line_len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2643: error: parse error before "i"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2644: error: `i' undeclared (first use
in

this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2708: error: `line_len' undeclared
(first

use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2788: warning: assignment discards
qualifi

ers from pointer target type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `lt_dlopenext':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2955: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2955: error: parse error before "len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2965: error: `len' undeclared (first
use i

n this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:2966: warning: assignment discards
qualifi

ers from pointer target type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3037: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `lt_argz_insert':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3038: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3063: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `lt_argz_insertinorder':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3064: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3074: error: invalid type argument of
`una

ry *'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3087: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `lt_argz_insertdir':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3088: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3093: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3093: error: parse error before
"buf_len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3095: error: parse error before
"end_offse

t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3103: error: `dir_len' undeclared
(first u

se in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3104: error: dereferencing pointer to
inco

mplete type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3104: error: dereferencing pointer to
inco

mplete type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3109: error: dereferencing pointer to
inco

mplete type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3120: error: dereferencing pointer to
inco

mplete type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3129: error: `end_offset' undeclared
(firs

t use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3129: error: dereferencing pointer to
inco

mplete type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3130: error: `buf_len' undeclared
(first u

se in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3139: error: dereferencing pointer to
inco

mplete type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3153: warning: function declaration
isn't

a prototype

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `list_files_by_dir':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3155: error: parse error before
"size_t"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3157: error: `DIR' undeclared (first
use i

n this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3157: error: `dirp' undeclared (first
use

in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3165: warning: implicit declaration of
fun

ction `opendir'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3170: warning: implicit declaration of
fun

ction `readdir'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3170: warning: assignment makes
pointer fr

om integer without a cast

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3171: error: dereferencing pointer to
inco

mplete type

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3178: warning: implicit declaration of
fun

ction `closedir'

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `foreachfile_callback':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3200: error: `size_t' undeclared
(first us

e in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3200: error: parse error before
"argz_len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3202: error: `argz_len' undeclared
(firstuse in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `lt_dlsym':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3345: error: `size_t' undeclared
(first use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3345: error: parse error before
"lensym"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3363: error: `lensym' undeclared
(first use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: In function `lt_dlpath_insertdir':

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3454: error: `size_t' undeclared
(first use in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3454: error: parse error before
"argz_len"

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:3482: error: `argz_len' undeclared
(firstuse in this function)

/usr/local/kaffe-1.0.7/libltdl/ltdl.c: At top level:

/usr/local/kaffe-1.0.7/libltdl/ltdl.c:158: warning: 'lt_emalloc' declared
`static' but never defined

make[2]: *** [ltdl.lo] Error 1

make[2]: Leaving directory `/usr/local/kaffe-1.0.7/cross/libltdl'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/usr/local/kaffe-1.0.7/cross/libltdl'

make: *** [all-recursive] Error 1

 

 

      MY QUESTIONS:

 

      What´s wrong?

 

      When I execute "configure", do I have to add the option "--
with-includes", because the first error in make is:

 

      "stddef.h: No such file or directory". When I do this, there are still
so many errors.

 

Do I have to say the compiler, where to find some special header files? Does
the compiler takes the wrong header files or does the compiler takes the
system header files of my system (Linux) instead of taking the header files
both of eCos and kaffe?

 

Thank you so much for answering!

 

Daniela

 

 

  

 

 

 

       

 

    

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pogo.kaffe.org/pipermail/kaffe/attachments/20050724/f2a28187/attachment-0001.htm


More information about the kaffe mailing list