blob编译问题
我下载了一个blob for 44b0,使用下列命令:CC=arm-elf-gcc OBJCOPY=arm-elf-objcopy\
RANLIB=arm-elf-ranlib AR=arm-elf-ar NM=arm-elf-nm\
LDFLAGS=-elf2flt ./configure --with-linux-prefix=/cygdrive/d/uClinux-dist/linux-2.4.x\
--with-board=mba-44b0 --host=arm-elf
配置成功。
然后编译,出现下列错误:
arm-elf-gcc-Os -I/home/uClinux/uClinux-dist/linux-2.4.x/include -Wall -march=armv4 -mtune=strongarm1100 -fomit-frame-pointer -fno-builtin -mapcs-32 -nostdinc -elf2flt -static -nostdlib -o blob-start-elf32 -Wl,-T,./start-ld-script start.o ledasm.o memsetup-s3c44b0.o -lgcc
blob-start-elf32.elf2flt: In function `BLOB_START':
blob-start-elf32.elf2flt(.text+0x20): undefined reference to `BLOB_ABS_BASE_ADDR'
blob-start-elf32.elf2flt: In function `wait0':
blob-start-elf32.elf2flt(.text+0x240): undefined reference to `WTCON'
blob-start-elf32.elf2flt(.text+0x244): undefined reference to `SYSCFG'
blob-start-elf32.elf2flt(.text+0x248): undefined reference to `NCACHBE0'
blob-start-elf32.elf2flt(.text+0x250): undefined reference to `PCONA'
blob-start-elf32.elf2flt(.text+0x258): undefined reference to `PCONB'
blob-start-elf32.elf2flt(.text+0x260): undefined reference to `PDATB'
blob-start-elf32.elf2flt(.text+0x264): undefined reference to `PCONC'
blob-start-elf32.elf2flt(.text+0x26c): undefined reference to `PDATC'
blob-start-elf32.elf2flt(.text+0x270): undefined reference to `PUPC'
blob-start-elf32.elf2flt(.text+0x278): undefined reference to `PCOND'
blob-start-elf32.elf2flt(.text+0x280): undefined reference to `PUPD'
blob-start-elf32.elf2flt(.text+0x284): undefined reference to `PCONE'
blob-start-elf32.elf2flt(.text+0x28c): undefined reference to `PDATE'
blob-start-elf32.elf2flt(.text+0x290): undefined reference to `PUPE'
blob-start-elf32.elf2flt(.text+0x294): undefined reference to `PCONF'
blob-start-elf32.elf2flt(.text+0x29c): undefined reference to `PDATF'
blob-start-elf32.elf2flt(.text+0x2a0): undefined reference to `PUPF'
blob-start-elf32.elf2flt(.text+0x2a8): undefined reference to `PCONG'
blob-start-elf32.elf2flt(.text+0x2b0): undefined reference to `PUPG'
blob-start-elf32.elf2flt(.text+0x2b4): undefined reference to `SPUCR'
blob-start-elf32.elf2flt(.text+0x2b8): undefined reference to `EXTINT'
blob-start-elf32.elf2flt(.text+0x2c0): undefined reference to `INTMSK'
blob-start-elf32.elf2flt(.text+0x2c8): undefined reference to `INTCON'
blob-start-elf32.elf2flt(.text+0x2cc): undefined reference to `LOCKTIME'
blob-start-elf32.elf2flt(.text+0x2d0): undefined reference to `PLLCON'
blob-start-elf32.elf2flt(.text+0x2d8): undefined reference to `CLKCON'
blob-start-elf32.elf2flt(.text+0x2e4): undefined reference to `I_ISPC'
blob-start-elf32.elf2flt: In function `blink0':
blob-start-elf32.elf2flt(.text+0x348): undefined reference to `PDATB'
blob-start-elf32.elf2flt(.text+0x34c): undefined reference to `PDATB'
collect2: ld returned 1 exit status
可是我查看了一下,上述定义都有啊。请问这是为什么 已解决 我也遇到了这个问题,请问你是怎么解决的
页:
[1]