linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Re: fadsrom.tgz
@ 1999-12-08 13:01 Ruedi Hofer
  0 siblings, 0 replies; 3+ messages in thread
From: Ruedi Hofer @ 1999-12-08 13:01 UTC (permalink / raw)
  To: kd; +Cc: linuxppc-embedded



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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: fadsrom.tgz
@ 1999-12-08 13:19 kd
  0 siblings, 0 replies; 3+ messages in thread
From: kd @ 1999-12-08 13:19 UTC (permalink / raw)
  To: Ruedi Hofer; +Cc: linuxppc-embedded



Maybe add -I../linux/include/linux to the compile line.

At least I have done that..
I have the include directories in the order

-I../linux/include -I../linux/include/linux -I../linux/arch/ppc/8xx_io

K.D.



                                                                                                                                 
                    Ruedi Hofer                                                                                                  
                    <ruedi.hofer@        To:     kd@flaga.is                                                                     
                    ascom.ch>            cc:     linuxppc-embedded@lists.linuxppc.org                                            
                                         Subject:     Re: Re: fadsrom.tgz                                                        
                    12/08/99                                                                                                     
                    01:01 PM                                                                                                     
                                                                                                                                 
                                                                                                                                 





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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: fadsrom.tgz
@ 1999-12-09  7:46 Ruedi.Hofer
  0 siblings, 0 replies; 3+ messages in thread
From: Ruedi.Hofer @ 1999-12-09  7:46 UTC (permalink / raw)
  To: dony.he; +Cc: linuxppc-embedded

[-- Attachment #1: Type: TEXT/PLAIN, Size: 723 bytes --]

ftp://linuxppc.cs.nmt.edu/pub/linuxppc/embedded/

Please tell me if you found out how it works!

Cheers, Ruedi





dony.he@huawei.com.cn on 09.12.99 04:37:54
An: ruedi.hofer@ascom.ch @ MailGate
Kopie: linuxppc-embedded@lists.linuxppc.org @ MailGate 
Thema: Re: fadsrom.tgz

Where can I download the "fadsrom.tgz"? Thank you very much.
dony

Ruedi Hofer wrote:

> Hi there
>
> I would like to see the embedded linux running on a 860 FADS board.
> I downloaded therefore the fadsrom.tgz but didn't succeed in compiling
> it on an Intel Linux Box. It seems as if it's not prepared for being
> cross compiled...
>
> ... and what to do next, if the fadsrom is running?
>
> Please help!
>
> --
> Best regards
>
> Ruedi Hofer




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-12-09  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-08 13:01 Re: fadsrom.tgz Ruedi Hofer
  -- strict thread matches above, loose matches on Subject: below --
1999-12-08 13:19 kd
1999-12-09  7:46 Ruedi.Hofer

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).