linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ruedi Hofer <ruedi.hofer@ascom.ch>
To: kd@flaga.is
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Re: fadsrom.tgz
Date: Wed, 08 Dec 1999 14:01:37 +0100	[thread overview]
Message-ID: <384E56B1.2FA934D5@ascom.ch> (raw)



Thanx for the reply!

Further troubles were while compiling:

powerpc-linux-gcc -D__KERNEL__ -I -O2 -mcpu=860 -I../linux/include
-I../linux/arch/ppc/8xx_io -D__powerpc__ -DMHZ_50 -DFADS_860
-D__KERNEL__ -DDATA_MEM_ADDR=0x00010000 -DCONFIG_8xx -fsigned-char
-msoft-float  -pipe -fno-builtin -ffixed-r2 -Wno-uninitialized
-mmultiple -mstring   -c super.c -o super.o
super.c: In function `read_sb':
super.c:136: structure has no member named `s_rename_lock'
super.c:137: structure has no member named `s_rename_wait'
make: *** [super.o] Error 1


I commented lines 136, 137 out. Compiling now works fine, but linking
????

powerpc-linux-ld -T ppcrom.lds -Ttext 0xfe000000 -Tdata 0x00010000
-Bstatic start.o main.o serial.o traps.o vsprintf.o ctype.o string.o
memstuff.o cflash.o partition.o super.o inode.o d
ir.o ppcstring.o extable.o -o fadsrom
super.o: In function `read_sb':
super.o(.text+0xb4): undefined reference to `__fswab16'
super.o(.text+0xd4): undefined reference to `__fswab16'
super.o(.text+0x124): undefined reference to `__fswab32'
super.o(.text+0x13c): undefined reference to `__fswab32'
super.o(.text+0x170): undefined reference to `__fswab32'
super.o(.text+0x1d4): undefined reference to `__fswab32'
super.o(.text+0x210): undefined reference to `__fswab16'
super.o(.text+0x228): undefined reference to `__fswab32'
super.o(.text+0x26c): undefined reference to `__fswab32'
super.o(.text+0x284): undefined reference to `__fswab32'
super.o(.text+0x29c): undefined reference to `__fswab32'
super.o(.text+0x2b4): undefined reference to `__fswab32'
super.o(.text+0x310): more undefined references to `__fswab32' follow
super.o: In function `read_sb':
super.o(.text+0x3ac): undefined reference to `__fswab16'
super.o(.text+0x3d0): undefined reference to `__fswab16'
super.o(.text+0x3f4): undefined reference to `__fswab16'
super.o(.text+0x41c): undefined reference to `ffz'
super.o(.text+0x43c): undefined reference to `ffz'
super.o(.text+0x570): undefined reference to `__fswab32'
super.o(.text+0x580): undefined reference to `__fswab32'
make: *** [fadsrom] Error 1


Do you have any idea? Am I using the wrong kernel code? (currently
2.2.13)

Thanx in advance.

--
Best regards

Ruedi Hofer


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

             reply	other threads:[~1999-12-08 13:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-08 13:01 Ruedi Hofer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-12-08 13:19 Re: fadsrom.tgz kd
1999-12-09  7:46 Ruedi.Hofer

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=384E56B1.2FA934D5@ascom.ch \
    --to=ruedi.hofer@ascom.ch \
    --cc=kd@flaga.is \
    --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).