AnsweredAssumed Answered

WEC2013 for iMx6 - Error in VPU building

Question asked by Massimo Milanesi on Apr 24, 2014
Latest reply on Aug 7, 2014 by sun enjin

Hi,

working with WEC2013 BSP v2.4 for iMx6 from Adeneo, I've found an error build OS during VPU.DLL build:

 

BUILD: [00:0000001903:PROGC ] Analyzing project dependency information for pass EXPLIB.

BUILD: [00:0000002059:PROGC ] Building EXPLIB Pass in C:\wince800\platform\iMX6Q_SABRE_Lite\src\drivers\vpu\ directory.

BUILD: [01:0000002106:PROGC ] Linking C:\WINCE800\osdesigns\iMX6Q_SABRE_Lite\Wince800\iMX6Q_SABRE_Lite_ARMV7_Retail\cesysgen\platform\iMX6Q_SABRE_Lite\lib\ARMV7\retail\vpu.lib

BUILD: [01:0000002122:PROGC ] Error(s) in directory "C:\wince800\platform\iMX6Q_SABRE_Lite\src\drivers\vpu\".

BUILD: [01:0000002122:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_Close {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(42)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_Deinit {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(43)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_IOControl {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(44)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_Init {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(45)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_Open {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(46)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_PowerDown {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(47)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_PowerUp {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(48)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_Read {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(49)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_Seek {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(50)"}

BUILD: [01:0000002137:ERRORE] vpu.def : error LNK2001: unresolved external symbol VPU_Write {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(51)"}

BUILD: [01:0000002137:ERRORE] C:\WINCE800\osdesigns\iMX6Q_SABRE_Lite\Wince800\iMX6Q_SABRE_Lite_ARMV7_Retail\cesysgen\platform\iMX6Q_SABRE_Lite\lib\ARMV7\retail\vpu.lib : fatal error LNK1120: 10 unresolved externals {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(52)"}

BUILD: [01:0000002168:ERRORE] NMAKE : fatal error U1077: 'C:\WINCE800\sdk\bin\i386\ARM\link.exe' : return code '0x460' {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(53)"}

BUILD: [01:0000002168:ERRORE] TargetExpLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=C:\WINCE800\platform\iMX6Q_SABRE_Lite CLEANBUILD=1 LINKONLY=1 NOPASS0=1 failed - rc = 2 {log="C:\WINCE800\platform\iMX6Q_SABRE_Lite\SRC\DRIVERS\VPU\bldsys.log(54)"}

 

I've verified that, differently from WEC7 BSP, 'vpu_mx6q_fsl_v4.lib' present on ..\platform\common\src\soc\MX6Q_FSL_V4\VPU\LIB\ARMV7\RETAIL\800 folder and that will be linked in 'vpu.dll', doesn't contain function definitons the generate "unresolved external symbol" errors.

'vpu_mx6q_fsl_v4.lib' is released as binary without source code (so it seems).

How can I link VPU.DLL library?


Thanks in advance.

Outcomes