building crush package from source
I've a crush unstable local repository.
There are source and binary arm packages there.
Host system is i386. I try to cross compile a package from source to arm
architecture.
For instance, packages is at.
There are following files:
at_3.1.10.2em1_arm.build at_3.1.10.2em1.dsc at_3.1.10.2em1.tar.gz
I extract source:
# dpkg-source -x ./at_3.1.10.2em1.dsc
dpkg-source: warning: extracting unsigned source package
(./at_3.1.10.2em1.dsc)
dpkg-source: extracting at in at-3.1.10.2em1
dpkg-source: info: unpacking at_3.1.10.2em1.tar.gz
Then I cd to it and try to compile and build a package:
# emdebuild
and I've got following error:
....
/usr/lib/gcc/arm-linux-gnu/4.3.3/../../../../arm-linux-gnu/bin/ld:
cannot find -lfl
collect2: ld returned 1 exit status
make[1]: *** [at] Error 1
make[1]: Leaving directory `/tmp/at/at-3.1.10.2em1'
make: *** [build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Recording that the package failed to build.
How to fix it? What does '-lfl' mean? is it a library called 'fl'?
Reply to: