cwoodruf / EXTERNAL-uav-helicoptor-ece4007

Automatically exported from code.google.com/p/uav-helicoptor-ece4007
0 stars 0 forks source link

Errors while cross compiling for arm on Windows #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Download source code

What is the expected output? What do you see instead?
Compiled and builded program

What version of the product are you using? On what operating system?

Developing on eclipse CDT Indigo 32 bit, width GDB plugin for remote debugging 
installed, Operating System is Windows 7 64 bit.
Cross Compiling for Eclipse CDT was setted up like in tutorial:
http://www.acmesystems.it/foxg20_eclipse_windows_c

Please provide any additional information below.

After issuing:

**** Build of configuration Debug for project uav-helicoptor-ece4007 ****

cs-make all 
'Building file: ../software/communications/cc.c'
'Invoking: ARM Sourcery Windows GCC C Compiler'
arm-none-eabi-gcc -I"c:\CLibraries\openssl-1.0.1\" 
-I"c:\CLibraries\ncurses-5.7-arm\include\ncurses" 
-I"c:\CLibraries\ncurses-5.9\include\" -I"c:\CLibraries\openssl-1.0.1\apps" 
-I"c:\CLibraries\openssl-1.0.1\ssl\" -I"c:\CLibraries\openssl-1.0.1\include" 
-O0 -Wall -Wa,-adhlns="software/communications/cc.o.lst" -c -fmessage-length=0 
-MMD -MP -MF"software/communications/cc.d" -MT"software/communications/cc.d" 
-mcpu=arm8 -g3 -o "software/communications/cc.o" 
"../software/communications/cc.c"
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
cs-make: *** [software/communications/cc.o] Error 1

**** Build Finished ****

I am getting compillation erros:

Description Resource    Path    Location    Type
Symbol 'SSL_VERIFY_PEER' could not be 
resolved    cli.c   /uav-helicoptor-ece4007/software/communications line 
121 Semantic Error
Type 'EVP_PKEY' could not be 
resolved    cli.c   /uav-helicoptor-ece4007/software/communications line 61 Semantic 
Error
Type 'SSL_CTX' could not be 
resolved    cli.c   /uav-helicoptor-ece4007/software/communications line 57 Semantic 
Error
Type 'SSL' could not be 
resolved    cli.c   /uav-helicoptor-ece4007/software/communications line 58 Semantic 
Error
Type 'X509_STORE_CTX' could not be 
resolved    cli.c   /uav-helicoptor-ece4007/software/communications line 33 Semantic 
Error
Type 'X509' could not be 
resolved    cli.c   /uav-helicoptor-ece4007/software/communications line 60 Semantic 
Error

I installed Openssl, but it looks like shared libraries for openssl are missing.
Can you let me know how did you build shared libraries for OpenSSL for later 
use of cross compilig uav-helicoptor-ece4007 project?

Original issue reported on code.google.com by klemenzi...@gmail.com on 18 Apr 2012 at 7:16

GoogleCodeExporter commented 9 years ago
Closing Ticket
Status: WontFix 
Reason: The problem is not related to our code base and is occurring due to 
missing dependencies on the compilation machine.

Comments:
We have built it on Ubuntu, Redhat, and Angstrom with no problems.  The Linux 
libraries require not just the OpenSSL binaries, but the headers as well, which 
are in the development packages. I suspect that you have the Windows binaries 
that allow you to run SSL programs, but not ones that allow you to compile.

I would look into compiling OpenSSL projects on Windows and seeing what you are 
missing first.  I am pretty certain it is development headers.

Also, may I ask what you are wanting to do with this project?  I would like to 
note that none of the code has been tested onboard our quadcoptor yet, but we 
will be testing it soon and hopefully will have it flying.  The autonomous part 
of the project has also been taken out for the moment in favor of controlling 
the coptor with an XBOX controller, via a wireless AP on board the coptor.  
This is what the SSL stuff is for.

Let me know if you have any further questions.

Original comment by joey@jyore.com on 18 Apr 2012 at 10:06