On Tue, Sep 12, 2000 at 12:54:05AM +0200, Martin Costabel wrote: > > Then I don't understand anymore how you manage to get > undefined reference to `elf32_getehdr' > and so on. Must be some other trick. i found the problem, the following patch fixed it: --- Rules.make~ Wed Aug 23 23:29:53 2000 +++ Rules.make Fri Sep 8 13:13:54 2000 @@ -116,7 +116,7 @@ # ifdef P_TARGET $(P_TARGET): sub_dirs $(O_OBJS) - $(CC) $(LDFLAGS) $(LDFLAGS_EXTRA) -o $@ $(O_OBJS) $(STATIC_LIBS) + $(CC) $(LDFLAGS) $(LDFLAGS_EXTRA) -o $@ $(O_OBJS) $(STATIC_LIBS) -lelf $(P_TARGET_HOOK) endif thanks to Stefan Berndtsson for the suggestion. -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgpR3ZTMjkRhi.pgp
Description: PGP signature