Hi,

I am trying to compile the L4 packages in l4/pkg directory. When I compile pkg/crtx I get:

[jayesh@orion crtx]$ make
test -f include/broken -o -f include/obsolete ||                \
    if [ -f include/Makefile ] ; then PWD=/home/jayesh/src/l4/pkg/crtx/include make -C include  ; fi
make[1]: Entering directory `/home/jayesh/src/l4/pkg/crtx/include'
make[1]: Leaving directory `/home/jayesh/src/l4/pkg/crtx/include'
test -f lib/broken -o -f lib/obsolete ||                \
    if [ -f lib/Makefile ] ; then PWD=/home/jayesh/src/l4/pkg/crtx/lib make -C lib  ; fi
make[1]: Entering directory `/home/jayesh/src/l4/pkg/crtx/lib'
test -f src/broken -o -f src/obsolete ||                \
    if [ -f src/Makefile ] ; then PWD=/home/jayesh/src/l4/pkg/crtx/lib/src make -C src  ; fi
make[2]: Entering directory `/home/jayesh/src/l4/pkg/crtx/lib/src'
PWD=/home/jayesh/src/l4/pkg/crtx/lib/src/OBJ-x86_586 make -C OBJ-x86_586 -f Makefile
make[3]: Entering directory `/home/jayesh/src/l4/pkg/crtx/lib/src/OBJ-x86_586'
make[3]: *** No rule to make target `crt0_x.o', needed by `crt0.o'.  Stop.
make[3]: Leaving directory `/home/jayesh/src/l4/pkg/crtx/lib/src/OBJ-x86_586'
make[2]: *** [OBJ-x86_586] Error 2
make[2]: Leaving directory `/home/jayesh/src/l4/pkg/crtx/lib/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/jayesh/src/l4/pkg/crtx/lib'
make: *** [lib] Error 2


I checked the Makefile. It really does not have any rule for crt0_x. There is crt0_x.S, but no rule to create object file from it.

If my guess is correct, some other packages are also dependent on successful compilation of crt0_x.

Any idea, what might be wrong?

Thanks.

--
Jayesh