LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2012, 12:00 PM   #1
rahulps
LQ Newbie
 
Registered: Mar 2012
Posts: 3

Rep: Reputation: Disabled
Cross compiling LFTP fails


Hi,
I am trying to cross compile lftp-4.3.5 for my arm based board. Its failing at some point. Below are few lines from log:

....
checking for util.h... no
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking for library containing openpty... -lutil
checking for _getpty... configure: error: in `/home/xxxx/yyyy/lftp-4.3.5':
checking whether posix_fallocate() works... no
configure: error: cannot run test program while cross compiling
See `config.log' for more details


I tried to run the config file as:
./configure --host=arm-montavista-linux CC=/home/mvdev/montavista/tools/arm-gnueabi/bin/arm-montavista-linux-gnueabi-gcc

Can anybody help me pointing out what is the issue here.
Thanks
 
Old 06-06-2012, 08:50 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Did you
Quote:
Originally Posted by lftp-4.3.5 configure script
See `config.log' for more details
as was suggested by the configure script?
 
Old 06-07-2012, 12:16 PM   #3
rahulps
LQ Newbie
 
Registered: Mar 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I checked the config.log, but could not figure out what is the issue here. I tried to fix this issue and then getting another problem now. This config system is not able to find readline package though I have given both the include and lib path as mentioned in http://www.friendlyarm.net/forum/topic/3424 but of no help (this thread not telling the final solution).

My ubuntu machine has this readline package, even I downloaded the package and cross-compiled it, and provided the same path to config system but of no use.

Any help pls.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cross compilation fails on Ubuntu 12.04 fgcl2k Ubuntu 7 06-14-2012 04:36 AM
Cross compiling qwerty4061 Linux - Newbie 5 12-03-2011 02:30 PM
Cross-compiling v/s cross-building kushalkoolwal Programming 3 05-13-2009 06:49 AM
cross compiling cerin Linux - Software 1 02-11-2006 11:47 PM
cross-compiling? jon_k Programming 3 12-09-2004 10:36 AM


All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration