2008-07-03 08:12:03     u-boot 1.1.6 compilation errors

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2008-07-03 08:12:03     u-boot 1.1.6 compilation errors

Appalayagari Sreedhar (INDIA)

Message: 58267   

 

Hi.

 

I am trying to add encryption source files in u-boot 1.1.6 version.

 

In the source files, i have the following header files included.

 

stdio.h , stdlib.h and limits.h etc in the source files. when i try to build the u-boot i am getting compilation errors.

 

compilation errors showing that these files are not found. i searched for these files in u-boot using grep but i could not find.

 

How to resolve this problem.

 

I am attching the compilation error report.

 

Best Regards,Sreedhar.

 

Error log.txt

QuoteReplyEditDelete

 

 

2008-07-03 08:31:36     Re: u-boot 1.1.6 compilation errors

Mike Frysinger (UNITED STATES)

Message: 58272   

 

u-boot does not provide a POSIX C library implementation.  you need to adjust your code accordingly.

QuoteReplyEditDelete

 

 

2008-07-03 08:48:49     Re: u-boot 1.1.6 compilation errors

Appalayagari Sreedhar (INDIA)

Message: 58273   

 

Hi Mike,

 

Thankyou.

 

I could compile succesfully in uclinux distributions and i am able to execute. But i need to integrate them into u-boot.

 

Best Regards,Sreedhar.

QuoteReplyEditDelete

 

 

2008-07-03 19:25:58     Re: u-boot 1.1.6 compilation errors

Robin Getz (UNITED STATES)

Message: 58293   

 

Appalayagari:

 

Then you need to do the work.

 

As Mike already answered - U-Boot does not compile with a POSIX C library (like uClibc provides for Linux userspace applications). You need to modify the source code of the application to fix the problem yourself.

 

-Robin

Attachments

Outcomes