LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-15-2011, 09:00 AM   #1
valdez
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
cross compiling udev for ARM


hello everyone

I try to cross compile udev-160 for arm.I use the buildroot toolchain.
I work on a PC i386 with the Debian system.
I started by running "configure" script to generate the makefile:

$./configure --host=arm-linux

but I obtain the following error :

checking for acl_init in -lacl... no
configure: error: libacl not found

I don't know how to install the libacl for ARM. I can't found the libacl when I configure the buildroot toolchain


could you help me please ?

thanks
 
Old 05-15-2011, 09:43 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,498

Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
The parts of a system you need for compiling are:
1. Kernel header files
2. compiler
3. Libc (glibc on most x86 systems, uClibc on the rest)
4. Direct dependencies of whatever you need.

Have you got all of that arm stuff? libacl is in the basic aaa_elflibs package here on slackware, which is an assortment of basic libraries.
 
Old 05-15-2011, 10:07 AM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
This sounds like one of those common and cumbersome cases where the 'configure' script is examining the configuration of the build-host, which of course rarely if ever matches the state of the target host in a cross development environment. I don't know of any general method to overcome this, as there is a potentially unlimited universe of ways that the build-host can be examined. Sometimes, it is easier to simply build the application on the target, if that is a possibility.
Since udev seems like a common tool to exist on many targets, and since you are using buildroot, I would suggest that you look at the buildroot package for a solution. It just seems like something that must have an existing solution.
--- rod.
 
Old 05-15-2011, 01:29 PM   #4
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by valdez View Post
could you help me please?
If you are using the latest Buildroot, udev is one of the packages:

http://git.buildroot.net/buildroot/tree/package/udev

You should not have to cross-build it manually.
 
1 members found this post helpful.
  


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
cross compiling apache-2.0.54 for arm jkeertir Linux - Newbie 3 09-11-2014 01:35 PM
[SOLVED] cross compiling for arm with buildroot brooko Slackware 3 01-29-2011 11:42 AM
Cross compiling for ARM Hachaso Programming 1 06-26-2009 06:07 AM
ARM Cross Compiling Issues AuzJ Linux - Newbie 4 04-16-2009 03:47 AM
Cross compiling utftpd for arm SachinTCS Linux - Desktop 1 04-13-2007 02:11 AM


All times are GMT -5. The time now is 02:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration