linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Toni Van Remortel <t.vanremortel@ha.be>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Cross compiling : problem linking
Date: Thu, 02 Oct 2003 15:26:36 +0200	[thread overview]
Message-ID: <1065101196.10206.7.camel@toni> (raw)
In-Reply-To: <1065099415.10206.5.camel@toni>


Reduced the error to:

toni rt_mod # make
ppc_4xx-gcc -g -O -Werror   -c -o rt_mod.o rt_mod.c
ppc_4xx-gcc -nostartfiles -fno-exceptions -fno-builtin  -o rt_mod
rt_mod.o
/opt/eldk/usr/ppc-linux/bin/ld: warning: cannot find entry symbol
_start; defaulting to 10000184
rt_mod.o: In function `block_wave':
/ppc/rt_mod/rt_mod.c:14: undefined reference to `outb'
/ppc/rt_mod/rt_mod.c:14: relocation truncated to fit: R_PPC_REL24 outb
rt_mod.o: In function `main':
/ppc/rt_mod/rt_mod.c:21: undefined reference to `iopl'
/ppc/rt_mod/rt_mod.c:21: relocation truncated to fit: R_PPC_REL24 iopl
collect2: ld returned 1 exit status
make: *** [rt_mod] Fout 1

Somebody?
--
                           Toni Van Remortel
              Wetenschappelijk Medewerker - D-science lab
  Real time Linux for embedded systems: http://linemb.d-sciencelab.com
              Tel: +32 3 205 61 72 - Fax: +32 3 205 61 95
                      E-mail: t.vanremortel@ha.be


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

  reply	other threads:[~2003-10-02 13:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-02 12:56 Cross compiling : problem linking Toni Van Remortel
2003-10-02 13:26 ` Toni Van Remortel [this message]
2003-10-02 13:37   ` Wolfgang Denk
2003-10-02 13:35 ` Wolfgang Denk
     [not found] <1065104646.13376.8.camel@toni>
2003-10-02 15:01 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-10-02 16:34 Fillod Stephane
2003-10-02 21:26 ` Wolfgang Denk
2003-10-03  8:26 ` Toni Van Remortel
2003-10-06 13:09 Fillod Stephane

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=1065101196.10206.7.camel@toni \
    --to=t.vanremortel@ha.be \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).