try compiling your user code with -fno-short-enums to see if it solves the
problems.

On Tue, Jan 6, 2009 at 4:04 PM, getandroid <[email protected]> wrote:

>
> I've a driver for audio accelerator on my hardware. when the test app
> on top of this driver does some ioctl calls to driver and it says:
> "unknown ioctl no: xxxx"
>
> the ioctl number passed from application is an enum defined in one
> header file which is included in test app and also the driver. So the
> driver & test app should see the same enum value which is not
> happening. The 'cmd' parameter (which is an enum from *.h) which is
> passed from application and the value of the enum in driver included
> from the same *.h is different.
>
> Has anybody faced the same issue? This problem is not faced when the
> test app is built with -static option.
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to