/bin/ld: cannot find -ll
Compiled my files, there is error "/bin/ld: cannot find -ll". What cound cause that error? I then found the libl.a and put in current directory with source code, but erro is still there.
Any help is appreciated. |
Make sure you have flex and bison installed. Did you install your distributions equivalent of 'build essentials'?
|
What are flex and bison? Where can I get them?
|
And you have a '-L $PWD' or the like, too?
|
Skipping incompatible, how do I check the compatibility?
|
Please rephrase that?
|
This is the complet error message:
arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/lib/libl.a when searching for -ll arm-none-linux-gnueabi/bin/ld: cannot find -ll collect2: ld returned 1 exit status make:***[buildcdl] Error 1 |
file /usr/lib/libl.a
to start with |
Flex is... http://www.gnu.org/software/flex/
Bison is... http://www.gnu.org/software/bison/ The particular error you were originally getting ("/bin/ld: cannot find -ll") often is caused by references to one of them that isn't available. Shrug. As far as installing them... use the package manager for your distribution. (yum install flex, apt-get install flex, emerge flex, etc) Make ~sure~ you've got your correct libraries and necessary applications for building a package installed........ |
All times are GMT -5. The time now is 04:39 PM. |