public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* problem with cross compiling
@ 2001-11-06 15:54 Yunus Yucel Altunbicak
  2001-11-06 16:31 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Yunus Yucel Altunbicak @ 2001-11-06 15:54 UTC (permalink / raw)
  To: MTD

Hi all,
i couldn't compile the util directory neither m68k-elf-gcc nor 
m68k-pic-coff-gcc.
if i try this
m68k-elf-gcc -I../include -O2 -m68000 -Wl,-elf2flt nftl_format.c -o 
nftl_format -lc

get below error message

/************************************/
nftl_format.elf2flt: In function `check_block_2':
nftl_format.elf2flt(.text+0xf6): undefined reference to `pread'
nftl_format.elf2flt(.text+0x14a): undefined reference to `pwrite'
nftl_format.elf2flt(.text+0x1ec): undefined reference to `pwrite'
nftl_format.elf2flt(.text+0x204): undefined reference to `pread'
nftl_format.elf2flt(.text+0x28c): undefined reference to `pwrite'
nftl_format.elf2flt(.text+0x2a4): undefined reference to `pread'
nftl_format.elf2flt: In function `main':
nftl_format.elf2flt(.text+0x6b0): undefined reference to `pwrite'
collect2: ld returned 1 exit status
/*****************************************/

does anybody encounter same error and solve it ?

Sincerely,
yunus

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

end of thread, other threads:[~2001-11-06 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-06 15:54 problem with cross compiling Yunus Yucel Altunbicak
2001-11-06 16:31 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox