香版你好,在ST网站下的关于"Smart Card Reader ST7SCR Evaluation Board"评估板的源代码"ST7SCR-Demo_Sources"编译出错,我没有做任何修改.错误信息如下:
----------- Project reader_3 - ST7 Metrowerks V1.1 - Configuration Debug -------------
Making D:\users\St7scr\Reader_3\Config\Reader_3.mak...
C:\HIWARE\PROG\maker.exe reader_3.mak -mkall
Top: D:\users\St7scr\Reader_3\Config\reader_3.mak
INFORMATION M5027: Making target main.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst main.c
INFORMATION M5027: Making target global.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst global.c
INFORMATION M5027: Making target map_7scr.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst map_7scr.c
INFORMATION M5027: Making target initialization.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst initialization.c
INFORMATION M5027: Making target appli.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst appli.c
INFORMATION M5027: Making target int72scr.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst int72scr.c
INFORMATION M5027: Making target ccid_usb.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst ccid_usb.c
INFORMATION M5027: Making target descript.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst descript.c
INFORMATION M5027: Making target ifd_ccid.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst ifd_ccid.c
INFORMATION M5027: Making target ifd_protocol.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst ifd_protocol.c
INFORMATION M5027: Making target crd.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst crd.c
INFORMATION M5027: Making target int_crd.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst int_crd.c
INFORMATION M5027: Making target usb_lib.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst usb_lib.c
INFORMATION M5027: Making target usb_int.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst usb_int.c
INFORMATION M5027: Making target usb_ep1.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst usb_ep1.c
INFORMATION M5027: Making target usb_ep2.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst usb_ep2.c
INFORMATION M5027: Making target usb_ep3.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst usb_ep3.c
INFORMATION M5027: Making target usb_ep4.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst usb_ep4.c
INFORMATION M5027: Making target usb_ep5.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst usb_ep5.c
INFORMATION M5027: Making target usb_eps.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst usb_eps.c
INFORMATION M5027: Making target user_usb.o
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\CST7.EXE -Ml -Cc -Cni -N -Or -Lasm=%n.lst user_usb.c
INFORMATION M5027: Making target Reader_3.abs
D:\users\St7scr\Reader_3\Config\reader_3.mak: INFORMATION M5119: Exec C:\HIWARE\PROG\linker.EXE 72FSCR_16K.prm
ERROR M5108: Called application detected an error
Top: 72FSCR_16K.prm
d:\users\St7scr\Reader_3\Sources\Config\72FSCR_16K.prm: INFORMATION L4003: Linking d:\users\St7scr\Reader_3\Sources\Config\72FSCR_16K.prm as HIWARE format link parameter file
INFORMATION L2012: Reading directories of:
d:\users\St7scr\Reader_3\objects\main.o
d:\users\St7scr\Reader_3\objects\global.o
d:\users\St7scr\Reader_3\objects\map_7scr.o
d:\users\St7scr\Reader_3\objects\initialization.o
d:\users\St7scr\Reader_3\objects\appli.o
d:\users\St7scr\Reader_3\objects\int72scr.o
d:\users\St7scr\Reader_3\objects\ccid_usb.o
d:\users\St7scr\Reader_3\objects\descript.o
d:\users\St7scr\Reader_3\objects\ifd_ccid.o
d:\users\St7scr\Reader_3\objects\ifd_protocol.o
d:\users\St7scr\Reader_3\objects\crd.o
d:\users\St7scr\Reader_3\objects\int_crd.o
d:\users\St7scr\Reader_3\objects\usb_lib.o
d:\users\St7scr\Reader_3\objects\usb_int.o
d:\users\St7scr\Reader_3\objects\usb_ep1.o
d:\users\St7scr\Reader_3\objects\usb_ep2.o
d:\users\St7scr\Reader_3\objects\usb_ep3.o
d:\users\St7scr\Reader_3\objects\usb_ep4.o
d:\users\St7scr\Reader_3\objects\usb_ep5.o
d:\users\St7scr\Reader_3\objects\usb_eps.o
d:\users\St7scr\Reader_3\objects\user_usb.o
c:\HIWARE\LIB\ST7C\lib\ansi.lib
WARNING L2066: Variable "_startupData" not found, linker prepares no startup
Searching objects ...
WARNING L2300: Segment UI_TABLE not found in any objectfile
WARNING L2300: Segment CCID_USB_ROM not found in any objectfile
WARNING L2300: Segment DESCRIPT_ROM not found in any objectfile
WARNING L2300: Segment VERSION_ROM not found in any objectfile
WARNING L2300: Segment SHARED not found in any objectfile
WARNING L2300: Segment MY_RAM0 not found in any objectfile
Reading initialization information ...
Allocating objects ...
ERROR L2009: Out of allocation space in segment APPLI_CONST at address EE
d:\users\St7scr\Reader_3\objects\Reader_3.MAP: INFORMATION L2203: Listing of link process to d:\users\St7scr\Reader_3\objects\Reader_3.MAP
ERROR L2104: Linking failed.
ERROR *** 2 error(s), 7 warning(s), 3 information message(s) ***
ERROR *** Error occured while processing! ***
ERROR *** 1 error(s), 0 warning(s), 44 information message(s) ***
ERROR *** Error occured while processing! ***
The command: "C:\HIWARE\PROG\maker.exe reader_3.mak -mkall" has failed, the returned value is: 1
exit code=1.
D:\users\St7scr\Reader_3\Config\Reader_3.mak - 8 error(s), 7 warning(s)
完全麻烦帮忙解答一下,谢谢! |