[U-Boot-Users] Question about GNU linker usage
leon.kukovec at ultra.si
Thu Jul 15 08:01:55 CEST 2004
> u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
> UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) | sed -n -e
> $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
> --start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
> -Map u-boot.map -o u-boot
> The value of $(LDFLAGS) variable ends "-n" and UNDEF_SYM is undefined symbol
> name list. Can the undefined symbol names be the non-option argument of gnu ld?
> According to manual page or info, I haven't found any mention of it.
My understanding is that you very likely do not have OBJDUMP in the PATH
or set correctly which is causing UNDEF_SYM not to get defined.
UNDEF_SYMBS actualy expands to -u<symbol_name> which is legal for LDFLAGS.
Try to provide a log that shows how commands are being executed for the
More information about the U-Boot