WEC2013 for iMx6 - Error in VPU building

cancel
Showing results for 
Search instead for 
Did you mean: 

WEC2013 for iMx6 - Error in VPU building

622 Views
massimomilanesi
Contributor I

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.

Tags (4)
0 Kudos
5 Replies

84 Views
massimomilanesi
Contributor I

Sorry for the delay in responding, but I have not had the opportunity to work up till now.

I created a new virtual machine with a clean install of windows 8 and WEC2103 with Visual Studio 2012 without updates.

With the BSP I find the same error in compilation when I add the component VPU.

I suppose that the problem could be in 'vpu_mx6q_fsl_v4.lib' library that doesn't contain the functions defined in vpu.def

0 Kudos

84 Views
enjin9
Contributor I

hello every one,could you help download the source BSP on IMX6D/Q,

THE BSP IS iMX6Q_SABRE_Lite_WEC2013_3.1.1.5-2014-06-13.zip or others version ;

sent a link to my email enjin,sun@flextronics.com TKS!!!

0 Kudos

84 Views
SergioSolis
NXP Employee
NXP Employee

Hello AdeneoEmbedded , are you able to help with this question?

0 Kudos

84 Views
Wlodek_D_
Senior Contributor II

Hello,

Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community ) to get it visible for active members.

For details please see general advice Where to post a Discussion?

Thank you for using Freescale Community. 

0 Kudos

84 Views
massimomilanesi
Contributor I

Done ... Thank you.

0 Kudos