![]() |
gcc 4.2 on diablo
Greetings.
I'm currently trying to install a debian package (libfprint) on scratchbox (diablo) and I can't proceed the "make" step. These are the current errors: Code:
cc1: error: unrecognized command line option "-Wno-pointer-sign" Thanks for your time. |
Re: gcc 4.2 on diablo
Just a warning. I installed many packages from the diablo sdk repository without problem until a few days ago I tried to install autoconf, which I think is part of core-utils. That was a huge mistake ! apt-get removed a ton of stuff including busy-box, the connection manager and a lot of other stuff.
So my advice to you, clone a backup before trying. |
Re: gcc 4.2 on diablo
First thing to try is removing those flags from the makefile and try the build again.
|
Re: gcc 4.2 on diablo
Thanks for the replies. I've followed your advice maacruz and it worked! At least I could finish the 'make install' step with only a bit more struggle.
Finally, I'm trying to use libfprint on diablo and this is what I get when I try one of the example codes: Quote:
Quote:
I recognize I've changed the subject of this thread, so I'm wondering if I should have created another one, or if it's ok if I keep discussion on this one. Is there any of you here who had similar problems with ioctl like that or already tried to use libfprint on diablo? Any comments will be greatly appreciated. |
Re: gcc 4.2 on diablo
IOCTLs are provided by the kernel, so I think this is a kernel issue; the device driver should provide those, but it doesn't.
You could try recompiling the device driver kernel module in diablo. |
Re: gcc 4.2 on diablo
Thanks, maacruz. I've also sent this question to libfprint mailing list and I've got this:
Quote:
PS: I have found a link which could be useful, but I'll give a further read later: http://talk.maemo.org/showthread.php?t=34901 |
Re: gcc 4.2 on diablo
That is a really good thread on the subject.
If the problem is in the usb stack and not in your device's driver, then it could require backporting the usb stack from a recent kernel, and that can be really difficult. For gaining experience with kernel recompilng, it is better if you start with your PC's distro; it is relatively easy to brick the N8x0 by making a mistake (fortunately solvable by reflashing). As an alternative, you could first start by trying a Meego kernel already built for the device, may be you are lucky and everything you need works. |
Re: gcc 4.2 on diablo
Today I was hanging around on #maemo (irc.freenode.org) and apparently got the answer that can solve my issue:
Quote:
|
Re: gcc 4.2 on diablo
It has been a little while, and I've managed to test it on the real device, but when I ran it on my tablet, it displays the following error:
Quote:
Quote:
|
Re: gcc 4.2 on diablo
If you are sure you are root (sudo bash is my favourite) then it can't be a permission problem. Try dmesg to see if the kernel has anything to say.
|
All times are GMT. The time now is 14:12. |
vBulletin® Version 3.8.8