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.
On Tue Jul 19, 2005 at 08:55:57 -0500, Jayesh Salvi wrote:
I am trying to compile the L4 packages in l4/pkg directory. When I compile pkg/crtx I get:
[jayesh@orion crtx]$ make 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'
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.
crt0.o depends on crt0_x.o which should be built implicetely from crt0_x.S. I don't know why it's not working for you.
Are you still using FC3? Which make version is running there? Does it maybe work when copying the crt0_x.S file to the crtx/lib/src directory?
If my guess is correct, some other packages are also dependent on successful compilation of crt0_x.
Yes.
Adam
Are you still using FC3? Which make version is running there? Does it maybe work when copying the crt0_x.S file to the crtx/lib/src directory?
Hey copying the .S to crtx/lib/src worked. Thanks a lot.
If you mean Fedora Core 3 by FC3 then that's what i have. My make is GNU make 3.80.
On Tue Jul 19, 2005 at 18:55:12 -0500, Jayesh Salvi wrote:
Are you still using FC3? Which make version is running there? Does it maybe work when copying the crt0_x.S file to the crtx/lib/src directory?
Hey copying the .S to crtx/lib/src worked. Thanks a lot.
Ok, good. One could now suspect that the vpath thing isn't quite working somehow. If you have some free time maybe play around with this and see if the behaviour changes in some way.
If you mean Fedora Core 3 by FC3 then that's what i have. My make is GNU make 3.80.
Same make version here and here it works...
Adam
Hey copying the .S to crtx/lib/src worked. Thanks a lot.
Ok, good. One could now suspect that the vpath thing isn't quite working somehow. If you have some free time maybe play around with this and see if the behaviour changes in some way.
I accidently saw this FAQhttp://os.inf.tu-dresden.de/l4env/doc/bid-tut/node12.htmlnow. I removed the .S file from lib/src and changed the Makefile to have SRC_S=crt0_x.S and that too worked.
On Wed Jul 20, 2005 at 20:22:44 -0500, Jayesh Salvi wrote:
Hey copying the .S to crtx/lib/src worked. Thanks a lot.
Ok, good. One could now suspect that the vpath thing isn't quite working somehow. If you have some free time maybe play around with this and see if the behaviour changes in some way.
I accidently saw this FAQhttp://os.inf.tu-dresden.de/l4env/doc/bid-tut/node12.htmlnow. I removed the .S file from lib/src and changed the Makefile to have SRC_S=crt0_x.S and that too worked.
Ok, FWIW, I added this line...
Adam
l4-hackers@os.inf.tu-dresden.de