Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: Bobi on November 21, 2012, 04:39:57 PM

Title: Build curl for Olinuxino Maxi/Micro
Post by: Bobi on November 21, 2012, 04:39:57 PM
Hello,

My kernel version(uname -r) is 2.6.35-8-ARCH
I have the kernel sources again for 2.6.35-8-ARCH

Now I downloaded curl from their official web site and I can't figure out how to make it work in Archlinux.
Have you succeeded in building curl (or curlpp) on Olinuxino Maxi/Micro?

I tried to follow the tutorial from here:
http://guerilladevelopment.wordpress.com/2010/05/28/crosscompile-libcurl-using-linux-arm-gcc/

I also tried just to get the sources on the board and build them there but with no luck.
What is the process of building C/C++ code in general? What should I change in the make file?

Thanks!!
Title: Re: Build curl for Olinuxino Maxi/Micro
Post by: Bobi on November 22, 2012, 01:58:04 PM
Here is the problem while building curl

"checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock"

It looks like this was because the system time was off and the timestamps in the source code were in the future.  To fix this all you can do is copy the files to another directory using the copy command:

#cp -r curl-7.21.4 /

Cheers,