Re: unresolved symbol main_table and local_table

From: Nicholas Dearham (
Date: Mon Nov 18 2002 - 00:29:29 EST

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 :=\

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
More majordomo info at

This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:00 EST