Ok its high time now!!!
i have PMed many devs regarding the solution but no one has answered me till now.
Code:
drivers/input/touchscreen/cy8c_ts.c:53:31: error: cypress_tma340_fw.h: No such file or directory
drivers/input/touchscreen/cy8c_ts.c: In function 'cy8c_ts_xy_worker':
drivers/input/touchscreen/cy8c_ts.c:751: error: 'TOUCH_IIC_COMMAND_NUM' undeclared (first use in this function)
drivers/input/touchscreen/cy8c_ts.c:751: error: (Each undeclared identifier is reported only once
drivers/input/touchscreen/cy8c_ts.c:751: error: for each function it appears in.)
drivers/input/touchscreen/cy8c_ts.c:756: error: 'Cypress_IIC' undeclared (first use in this function)
drivers/input/touchscreen/cy8c_ts.c:777: error: 'TOUCH_IIC_APPLICATION_VERSION' undeclared (first use in this function)
drivers/input/touchscreen/cy8c_ts.c: In function 'cy8c_ts_probe':
drivers/input/touchscreen/cy8c_ts.c:1297: error: 'TOUCH_IIC_APPLICATION_VERSION' undeclared (first use in this function)
make[3]: *** [drivers/input/touchscreen/cy8c_ts.o] Error 1
As error read by me it tell that it failed to find "cypress_tma340_fw.h" but i have checked that directory and the file is their.
I have tried many solution but still error is not being fixed, Any dev please help me out on this one!!!
I just want to why this error is coming and if you could tell me the solution please tell.
It could be that the header file is not in the include path.
I have checked it!
The header name and file name is same(same spelling)
Sent from my Xperia keyboard
Arcterus said:
It could be that the header file is not in the include path.
Click to expand...
Click to collapse
And the file is not corrupt.
EDIT I got solution and error solved.
Closing the thread.
Sent from my Xperia keyboard
icoolguy1995 said:
And the file is not corrupt.
EDIT I got solution and error solved.
Closing the thread.
Sent from my Xperia keyboard
Click to expand...
Click to collapse
Good to hear.
Hey, @icoolguy1995, could you post your solution here? If you remember it, that is.
Just change the header according to location of file.
Sent from my nicki using Tapatalk
Related
I'm trying to get some custom code compiled for android, but when I try to make the file, it requires a function called errx in libc -> err.h.
When I use the one I have on my system and try to recompile libc.so, I get the following compilation error:
Code:
In file included from bionic/libc/unistd/getopt_long.c:59:
bionic/libc/include/err.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
In file included from bionic/libc/unistd/getopt_long.c:60:
bionic/libc/include/errno.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
If I try to delete the contents or err.h, I get no errors.
Note that I'm not modifying errno.h in any way.
Is there a workaround for this?
I'd really like a workaround to this.
http://www.youtube.com/watch?v=mo3IlbpfoFk&feature=plcp
its root for logitech revue. all be it temp root...but still. i'm on a mac. ive got git. i've cloned the exploits. when i go to build it, i get this error...
Macintosh:nandpwn myname$ make
gcc -c nandpwn.c -m32
nandpwn.c:18:21: error: syscall.h: No such file or directory
nandpwn.c: In function ‘getprivs’:
nandpwn.c:109: error: ‘__NR_write’ undeclared (first use in this function)
nandpwn.c:109: error: (Each undeclared identifier is reported only once
nandpwn.c:109: error: for each function it appears in.)
nandpwn.c:110: error: ‘__NR_read’ undeclared (first use in this function)
nandpwn.c:114: error: ‘__NR_restart_syscall’ undeclared (first use in this function)
make: *** [nandpwn.o] Error 1
honestly this is the first time ive had to do anything involving git or building from. i'm pretty lost there. i'm pretty ok with adb though. i cant cd to usr/local/src as per the first line. i'm not sure what the preferrred repo even means. this is probably a very very basic mistake...but ya gotta start somewhere.
any help out be much appreciated. Also, i know. This root is above my level and i probably shouldnt be messing with it. i'm aware that i can brick my revue. at 79$ i'm not worried about a brick. plus new vizio costar for 99$.
Dear friends,
I encountered the trouble of compiling kernel failed.Ten days ago,I compiled it successfully.But today I am failed to do it again.The error is as below:
arch/arm/mm/alignment.c: In function ‘do_alignment’:
arch/arm/mm/alignment.c:298:15: error: ‘offset.un’ may be used uninitialized in this function [-Werror=uninitialized]
arch/arm/mm/alignment.c:720:21: note: ‘offset.un’ was declared here
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mm/alignment.o] Error 1
My host OS is ubuntu10.04 and the cross-compile is arm-2012.09/bin/arm-none-linux-gnueabi-.
I check it,but some's suggestion is about GCC.I have upgraded it.It is not OK.
Thank you in advance.
Mark
confused
I have no idea.
envizhang said:
Dear friends,
I encountered the trouble of compiling kernel failed.Ten days ago,I compiled it successfully.But today I am failed to do it again.The error is as below:
arch/arm/mm/alignment.c: In function ‘do_alignment’:
arch/arm/mm/alignment.c:298:15: error: ‘offset.un’ may be used uninitialized in this function [-Werror=uninitialized]
arch/arm/mm/alignment.c:720:21: note: ‘offset.un’ was declared here
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mm/alignment.o] Error 1
My host OS is ubuntu10.04 and the cross-compile is arm-2012.09/bin/arm-none-linux-gnueabi-.
I check it,but some's suggestion is about GCC.I have upgraded it.It is not OK.
Thank you in advance.
Mark
Click to expand...
Click to collapse
envizhang said:
arch/arm/mm/alignment.c: In function ‘do_alignment’:
arch/arm/mm/alignment.c:298:15: error: ‘offset.un’ may be used uninitialized in this function [-Werror=uninitialized]
arch/arm/mm/alignment.c:720:21: note: ‘offset.un’ was declared here
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mm/alignment.o] Error 1
Click to expand...
Click to collapse
Well, the point is "all warnings being treated as errors". "-Werror=uninitialized" makes an error out of what would normally be only a warning.
There seems to be a patch to remove that warning:
lkml.indiana. edu/hypermail/linux/kernel/1209.1/02186.html
(xda recommends that I "answer" some questions, but I can not include links until I have 10 posts. Nice work, xda. Really makes sense, this policy)
But as there may be more warning, I would try to disable that behaviour that warnings are treated as errors. Maybe search for "Werror" in the Makefiles and just remove the whole option?
envizhang said:
My host OS is ubuntu10.04 and the cross-compile is arm-2012.09/bin/arm-none-linux-gnueabi-.
Click to expand...
Click to collapse
On an unrelated note that's really old. It should work I guess, but Updating to something more modern may be a good idea regardless whether the build works or not.
Hi guys
I am working on mac with OS 10.7.5
i have xcode 4.6
I downloaded 4.2 version for Android
Following is the error , i would really appreciate it if somebody could just throw some light on what is actually hapenning
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cwchar:61: error: expected constructor, destructor, or type conversion before ‘extern’
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/new:45,
from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/bits/stl_construct.h:65,
from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/memory:55,
from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/string:48,
from build/libs/host/include/host/pseudolocalize.h:4,
from build/libs/host/pseudolocalize.cpp:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/exception:40: error: expected declaration before end of line
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o] Error 1
Hi, I'm currently trying to compile and insmod my own module into my rooted stock I9505, the problem is, Samsung implemented a very troublesome signature checking that prevents any modules unsigned by Samsung from being inserted and launched. I've found a thread: Link that features an exploit for bypassing the signature checking for 4.3, but I'm currently using 4.4.2 on I9505, so I would like to ask if anyone knows if it works on 4.4.2 or not. I've tried compiling the source, but it seems like there's lots of errors thrown by the arm-eabi-gcc:
Code:
make /home/jack/toolchain/arm-eabi-4.7/bin/arm-eabi-gcc -g -static -Wall -I /usr/include -o bypasslkm.o -c bypasslkm.c
bypasslkm.c: In function 'ptrace_write_value_at_address':
bypasslkm.c:65:3: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration]
bypasslkm.c:65:60: error: 'errno' undeclared (first use in this function)
bypasslkm.c:65:60: note: each undeclared identifier is reported only once for each function it appears in
bypasslkm.c: In function 'main':
bypasslkm.c:84:2: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
bypasslkm.c:84:6: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
bypasslkm.c:89:2: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]
make: *** [bypasslkm.o] Error 1
Any ideas how to fix this? I'm not familiar with C language, so this error message is hard for me to solve. I'm trying to insmod a KTGP module, which, if successful, allows me to perform kernel debugging on the stock kernel without recompiling my own kernel.
If there are Signature verification issues, then you need to have the module signed by the same Key that Samsung uses. I bet that's going to be harder to come by. You might be better off instead in using one of the Custom Kernels and then compile the module for that. You might wish to post the request over in Android Software and Hacking General [Developers Only] Forum. There you will be able to discuss with other developers and get great advice.
Perseus71 said:
If there are Signature verification issues, then you need to have the module signed by the same Key that Samsung uses. I bet that's going to be harder to come by. You might be better off instead in using one of the Custom Kernels and then compile the module for that. You might wish to post the request over in Android Software and Hacking General [Developers Only] Forum. There you will be able to discuss with other developers and get great advice.
Click to expand...
Click to collapse
I've looked into the thread itself, and saw a few post that keep telling those who posted in the thread but are not developers to not post in that thread as it's for developers themselves only. Can i really post in there?