我目前正在使用arm env在Intel xp32平台上工作。我发现有错误:
我的编译选项
REM ----- SET COMPILER OPTIONS
SET GCOPTIONS=-DLOGSYS_FLAG -D_SOFTPAY -D__arm --thumb --diag_suppress 1,611,815,550,962,1300
错误
Error: L6242E: Cannot link object synctask.o as its attributes are incompatible with the image attri
butes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte
datatypes.
Error: L6242E: Cannot link object syncdial.o as its attributes are incompatible with the image attri
butes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte
datatypes.
任何人都可以告诉我如何解决它。
我尝试更改编译器
REM -----设置编译器选项设置GCOPTIONS = --thumb -g + --apcs --adsabi --diag_suppress 1,611,815,550,962
新Erorr
C:\ARM2\RVCT\PROGRAMS\2.0.1\359\WIN_32-PENTIUM\armlink" -o sp2000.axf -entry _vrxgo -scatter _vrxcc.sct -keep *(.0_vrx_pgmhdr) -keep *(.1_vrx_libtbl) -keep *(.2_vrx_libend) -via _vrxcc.via
Error: L6242E: Cannot link object V_misc.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object new.opi as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object delete.opi as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object Glue.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object V_card.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object V_gds.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object EMVCWrappers.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object MVT.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object EST.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object emvutils.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object emvfuncs.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object SYS.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object EMVSelection.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object EMVAIDList.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object EMVCmdSet.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object EMVRiskMgmtData.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object EMVTxnStatus.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Fatal error: L6045U: Invalid relocation #8 in EMVTxnStatus.o(.text). Type 102 is reserved for the GNU tool chain.
Finished: 17 information, 0 warning, 17 error and 1 fatal error messages.
任何人都可以帮我解决这个问题:(