tests/func/fstest failes to compile Bengt Kleberg (bengt@softwell.se)
Wed, 10 Feb 1999 12:00:09 +0100

1 easily fixed error: fstest.c:170: `WORD_MAX' undeclared (first use this function) (I replaced it with UINT32_MAX)

2 more complex error: ; make

gcc  -O -I. -I/home/bengt/eros/include -DEROS -Wall -Winline -Werror -c fstest.c
gcc  -O -I. -I/home/bengt/eros/include -DEROS -Wall -Winline -Werror -c md5.c
gcc  -O -I. -I/home/bengt/eros/include -DEROS -Wall -Winline -Werror -c string.c
gcc -o maketestfile maketestfile.c
./maketestfile test.dat 65535
ld -N -Ttext 0x0 -nostdlib -static -e _start -L/home/bengt/eros/lib -L/home/bengt/eros/lib/i486 -o fstest /home/bengt/eros/lib/i486/crt0.o fstest.o md5.o string.o /home/bengt/eros/lib/i486/libdomain.a
fstest.o: In function `main':
fstest.o(.text+0x11): undefined reference to `kdprintf'
fstest.o(.text+0x20): undefined reference to `constructor_request'
fstest.o(.text+0x33): undefined reference to `kdprintf'
fstest.o(.text+0x44): undefined reference to `kdprintf'
fstest.o(.text+0x76): undefined reference to `kprintf'
fstest.o(.text+0xcd): undefined reference to `kprintf'
fstest.o(.text+0xeb): undefined reference to `file_write'
fstest.o(.text+0xff): undefined reference to `kdprintf'


and so on. Seems to be a lib missing, no?

bengt