On 2006-08-16, Stephen H.S. Lee <[EMAIL PROTECTED]> wrote:
> I have an application coded with SonySDK functions.  It was mainly catering
> for the compatibility issue that came with the Sony Clie's Virtual Silk
> Screen.  The application could be made under Code Warrior successfully.
>
> However, after porting the application to PODS environment, errors happened
> during the linking stage.  It is quite likely that those Sony specific
> functions could not be found in libraries.  Following references are
> undefined despite I did not call them directly.
>
> silkLibTrapResizeDispWin
> silkLibTrapDisableResize
> silkLibTrapEnableResize
> VskTrapGetAPIVersion
> VskTrapSetState
>
> Any way out?  Is there any missing library that I should include to resolve
> the issue?
>
> OR, I have to remove all codes that use SonySDK.  Of course, the new
> compiled application will no longer support Sony's Virtual Silk Screen
> feature.
>
> Thanks for any comments or advices in advance very much.
>
> Best regards,
> Stephen H.S. Lee

If you are using an original version of the Sony SDK header files then 
prc-tools (which PODS uses) will have problems.
Sony used enums instead of #defines for their trap definitions and 
the gcc compiler cannot handle these definitions.
There have been various perl scripts floating around which can convert the 
Sony header files for you.
For example look at sdk_enum_to_defines.pl, which can be found here:
http://astroinfo.cvs.sourceforge.net/astroinfo/astroinfo/source/sdk_enum_to_defines.pl
HTH

Ton van Overbeek

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to