Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I tried building the c_samplethread_balls project. It builds and runs fine on simulator using 1.0.2 platform, but it won't build on 1.0.3.956 and 1.0.4.418 platform.

 

 The compilation errors are:

 

11:30:55 AM Start: Pre-Build Actions for Project c_samplethread_balls

Project Brew MP Version: 1.0.3.956 PRO

Makefile successfully generated.

11:30:56 AM End: Pre-Build Actions for Project c_samplethread_balls

1>------ Build started: Project: c_samplethread_balls, Configuration: Debug Win32 ------

1>Compiling...

1>AEECallbackUtil.c

1>.\AEECallbackUtil.c(106) : error C2037: left of 'pvt' specifies undefined struct/union 'IShell'

1>.\AEECallbackUtil.c(106) : error C2198: 'AEECallback_Setup' : too few arguments for call

1>Build log was saved at "file://c:\p4\depot\users\chunmeis\c_samplethread_balls\Debug\BuildLog.htm"

1>c_samplethread_balls - 2 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

The line that is having problem looks like below.

AEECallback_Setup(pcb, AEECallback_CancelNotify, piShell,

(PFNSCHEDNOTIFY)piShell->pvt->CancelTimer);

Can you pls share source code?

Can you pls share source code?

Re-opening thread to report a simalar issue .I compiled the sample application "Monkey Test" on 1.0.4.601 platform recieved the same error.
c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(758): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(762): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(762): warning C4022: 'VirtualProtectEx' : pointer mismatch for actual parameter 21>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): warning C4047: 'function' : 'uint32' differs in levels of indirection from 'uint32 *'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): warning C4024: 'VirtualProtectEx' : different types for formal and actual parameter 41>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): error C2198: 'VirtualProtectEx' : too few arguments for call1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(764): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(804): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(804): warning C4022: 'VirtualProtectEx' : pointer mismatch for actual parameter 21>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): warning C4047: 'function' : 'uint32' differs in levels of indirection from 'uint32 *'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): warning C4024: 'VirtualProtectEx' : different types for formal and actual parameter 41>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): error C2198: 'VirtualProtectEx' : too few arguments for call1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(806): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'
 
The same code got compiled wihout any errors on 1.0.2.679 . Please let me know if there any dependency issues that needs to be resolved.

Re-opening thread to report a simalar issue .I compiled the sample application "Monkey Test" on 1.0.4.601 platform recieved the same error.
c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(758): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(762): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(762): warning C4022: 'VirtualProtectEx' : pointer mismatch for actual parameter 21>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): warning C4047: 'function' : 'uint32' differs in levels of indirection from 'uint32 *'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): warning C4024: 'VirtualProtectEx' : different types for formal and actual parameter 41>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): error C2198: 'VirtualProtectEx' : too few arguments for call1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(764): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(804): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(804): warning C4022: 'VirtualProtectEx' : pointer mismatch for actual parameter 21>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): warning C4047: 'function' : 'uint32' differs in levels of indirection from 'uint32 *'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): warning C4024: 'VirtualProtectEx' : different types for formal and actual parameter 41>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): error C2198: 'VirtualProtectEx' : too few arguments for call1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(806): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'
 
The same code got compiled wihout any errors on 1.0.2.679 . Please let me know if there any dependency issues that needs to be resolved.

Re-opening thread to report a simalar issue .I compiled the sample application "Monkey Test" on 1.0.4.601 platform recieved the same error.
c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(758): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(762): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(762): warning C4022: 'VirtualProtectEx' : pointer mismatch for actual parameter 21>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): warning C4047: 'function' : 'uint32' differs in levels of indirection from 'uint32 *'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): warning C4024: 'VirtualProtectEx' : different types for formal and actual parameter 41>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): error C2198: 'VirtualProtectEx' : too few arguments for call1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(764): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(804): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(804): warning C4022: 'VirtualProtectEx' : pointer mismatch for actual parameter 21>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): warning C4047: 'function' : 'uint32' differs in levels of indirection from 'uint32 *'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): warning C4024: 'VirtualProtectEx' : different types for formal and actual parameter 41>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): error C2198: 'VirtualProtectEx' : too few arguments for call1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(806): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'
 
The same code got compiled wihout any errors on 1.0.2.679 . Please let me know if there any dependency issues that needs to be resolved.

Re-opening thread to report a simalar issue .I compiled the sample application "Monkey Test" on 1.0.4.601 platform recieved the same error.
c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(758): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(762): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(762): warning C4022: 'VirtualProtectEx' : pointer mismatch for actual parameter 21>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): warning C4047: 'function' : 'uint32' differs in levels of indirection from 'uint32 *'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): warning C4024: 'VirtualProtectEx' : different types for formal and actual parameter 41>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(763): error C2198: 'VirtualProtectEx' : too few arguments for call1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(764): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(804): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(804): warning C4022: 'VirtualProtectEx' : pointer mismatch for actual parameter 21>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): warning C4047: 'function' : 'uint32' differs in levels of indirection from 'uint32 *'1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): warning C4024: 'VirtualProtectEx' : different types for formal and actual parameter 41>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(805): error C2198: 'VirtualProtectEx' : too few arguments for call1>c:\users\public\public documents\\my documents\\samplecode3\utilities\monkeytest\src\monkeytest.c(806): error C2037: left of 'pvt' specifies undefined struct/union 'IShell'
 
The same code got compiled wihout any errors on 1.0.2.679 . Please let me know if there any dependency issues that needs to be resolved.