abferm Posted May 29, 2011 Share Posted May 29, 2011 (edited) Hey guys I'm trying to learn to cross compile some code to ARM uClinux so I can run it on my Nintendo DS using DSlinux(a port of uClinux). I haven't taken the time to learn C yet and it is killing me. I probably should have started with something mare simple than aircrack, but now I really want to get it working. I was able to reduce the number of errors by adding a line to include sha-mmx.S that was mentioned in the makefile. I don't know if this fixed the errors or if it just covered them up with new ones. Compile command: /home/alex/CodeSourcery/Sourcery_G++_Lite/bin/arm-uclinuxeabi-gcc aircrack-ng.c crypto.c sha1-mmx.S common.c aircrack-ptw-lib.c -o aircrack This is the error message I am getting now: In file included from aircrack-ng.c:52:0: sha1-mmx.S:361:1: error: expected identifier or '(' before '.' token aircrack-ng.c: In function 'read_thread': aircrack-ng.c:543:26: error: 'ZERO' undeclared (first use in this function) aircrack-ng.c:543:26: note: each undeclared identifier is reported only once for each function it appears in aircrack-ng.c: In function 'main': aircrack-ng.c:3721:30: error: 'ZERO' undeclared (first use in this function) Here are lines 360-362 of sha-mmx.S: #ifdef __ELF__ .section .note.GNU-stack,"",%progbits #endif I have only modified aircrack-ng.c. The other files are in their original form as found in the 0.9.3 release of the aircrack suite. I am using the arm-uclinux-gcc compiler found at codesorcery.com. Edited May 29, 2011 by abferm Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.