Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-05-2012, 11:00 AM   #1
LQ Newbie
Registered: Mar 2012
Posts: 3

Rep: Reputation: Disabled
Cross compiling LFTP fails

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.
Old 06-06-2012, 07:50 PM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Did you
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, 11:16 AM   #3
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 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.



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 03:36 AM
Cross compiling qwerty4061 Linux - Newbie 5 12-03-2011 01:30 PM
Cross-compiling v/s cross-building kushalkoolwal Programming 3 05-13-2009 05:49 AM
cross compiling cerin Linux - Software 1 02-11-2006 10:47 PM
cross-compiling? jon_k Programming 3 12-09-2004 09:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 AM.

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