problem with cross compiling

Yunus Yucel Altunbicak yunus.altunbicak at eliar.com.tr
Tue Nov 6 10:54:10 EST 2001


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




More information about the linux-mtd mailing list