Thanks for the correction, but you didn't make it clear what the rule for tmp_klar.o is. So, I just added the following line to the Makefile:
tmp_klar.o: klar.c
$(CC) $(CFLAGS) -c -o $@ $<
making the change as mentioned in the email:
klar-objs :=\
tmp_klar.o
and calling:
klar.o: $(klar-objs)
$(LD) -r $^ -o $@
but got the following make error message:
ld -r tmp_klar.o -o klar.o
ld: tmp_klar.o: Relocations in generic ELF (EM: 40)
tmp_klar.o: could not read symbols: File in wrong format
make: *** [klar.o] Error 1
Any suggestions as to what this means and how to overcome it?
Thanks again,
Nic D.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:00 EST