public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Leon KUKOVEC <leon.kukovec@ultra.si>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Question about GNU linker usage
Date: Thu, 15 Jul 2004 08:01:55 +0200	[thread overview]
Message-ID: <40F61DD3.4080109@ultra.si> (raw)
In-Reply-To: <20040715100157.40f5d78500066b810053c837.189@empal.com>

Hi SYLee,

SYLee wrote:

[-snip-]
> u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
>             UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) | sed  -n -e
>               's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
>             $(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 &quot-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
u-boot target.

L8rZ.

-- 
Best Regards,
	Leon.

      reply	other threads:[~2004-07-15  6:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15  1:01 [U-Boot-Users] Question about GNU linker usage "SYLee"
2004-07-15  6:01 ` Leon KUKOVEC [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40F61DD3.4080109@ultra.si \
    --to=leon.kukovec@ultra.si \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox