Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-15-2011, 10:00 AM   #1
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 ?

Old 05-15-2011, 10:43 AM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,551

Rep: Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862
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, 11:07 AM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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, 02:29 PM   #4
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
Originally Posted by valdez View Post
could you help me please?
If you are using the latest Buildroot, udev is one of the packages:

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


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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration