LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: robdlg@att.net
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: popt, ELDK 2.0.2
Date: Mon, 06 Oct 2003 19:10:46 +0200	[thread overview]
Message-ID: <20031006171051.926E0C59E4@atlas.denx.de> (raw)
In-Reply-To: Your message of "Mon, 06 Oct 2003 10:51:44 -0000." <200310061051.FAA10075@lists.linuxppc.org>


In message <200310061051.FAA10075@lists.linuxppc.org> you wrote:
>
> I was experimenting with the popt library in the ELDK 2.0.2, and I received
> the following errors.  The same compiler invocation is successful when used
> with gcc under Red Hat Linux 7.3.  The source code follows the error
> messages.  How do I properly compile and link this file?
>
> ppc_82xx-gcc -Wall -lpopt -o popt_test main.c

You must specify the linked objects in the correct order. This  means
(among  other  things)  that  you have to put the libraries AFTER the
object files that have references to symbols provided by these libs.

Try:

	ppc_82xx-gcc -Wall -o popt_test main.c -lpopt

And RTFM.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Vulcans believe peace should not depend on force.
	-- Amanda, "Journey to Babel", stardate 3842.3

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2003-10-06 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-06 10:51 popt, ELDK 2.0.2 robdlg
2003-10-06 17:10 ` Wolfgang Denk [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=20031006171051.926E0C59E4@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=robdlg@att.net \
    /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