Hello All,
I can't compile after the last pull. I know that it is an error with toolchain detection but I have tried almost everything.
------------------------------- As you can see the $PATH variable has the address to gnu-arm-elf binary :
arslan@arslan-Lenovo-B575:~/osmocom-bb/src$ echo $PATH /home/arslan/arm-elf/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games ------------------------------- and when I list the items in that directory I can clearly see that the binary is there :
arslan@arslan-Lenovo-B575:~/arm-elf/bin$ ls arm-elf-addr2line arm-elf-cpp arm-elf-ld arm-elf-size arm-elf-ar arm-elf-g++ arm-elf-nm arm-elf-strings arm-elf-as arm-elf-gcc arm-elf-objcopy arm-elf-strip arm-elf-c++ arm-elf-gcc-4.0.4 arm-elf-objdump arm-elf-cc arm-elf-gccbug arm-elf-ranlib arm-elf-c++filt arm-elf-gcov arm-elf-readelf
-------------------------------
But I still get the following error: /home/arslan/osmocom-bb/src/target/firmware/include/asm/swab.h: Assembler messages: /home/arslan/osmocom-bb/src/target/firmware/include/asm/swab.h:32: Error: no such instruction: `eor %edx,%ecx,%ecx,ror' make[4]: *** [gsmtap_util.lo] Error 1 make[4]: Leaving directory `/home/arslan/osmocom-bb/src/shared/libosmocore/build-target/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/arslan/osmocom-bb/src/shared/libosmocore/build-target/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/arslan/osmocom-bb/src/shared/libosmocore/build-target' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/arslan/osmocom-bb/src/shared/libosmocore/build-target' make: *** [shared/libosmocore/build-target/src/.libs/libosmocore.a] Error 2
Regards,
Arslan Anjum Research Assitant Lahore University of Management Sciences, Pakistan
How do I fix that?
Arslan
On Wed, Feb 27, 2013 at 7:02 AM, Peter Stuge peter@stuge.se wrote:
Arslan Anjum wrote:
I can't compile after the last pull.
Your build is using a host library for the target binary build, which of course can't work.
//Peter
A: Because it is backwards, confusing and doesn't make sense. Q: Why should I never top-post?
Arslan Anjum wrote:
I can't compile after the last pull.
Your build is using a host library for the target binary build, which of course can't work.
How do I fix that?
By giving the build commands parameters that are appropriate for how you have arranged the many different components on your system.
If you have no clue about how the build commands work then probably you have to start with studying that for a while. Key words are autoconf, automake and libtool, sometimes collectively called autotools.
//Peter
The error was actually sillier than I expected. I copied the arm-elf-toolchain from a friend and I didn't change the access level before using it. A simple "chmod 777 ___" command did the trick.
Arslan
On Wed, Feb 27, 2013 at 8:04 PM, Peter Stuge peter@stuge.se wrote:
A: Because it is backwards, confusing and doesn't make sense. Q: Why should I never top-post?
Arslan Anjum wrote:
I can't compile after the last pull.
Your build is using a host library for the target binary build, which of course can't work.
How do I fix that?
By giving the build commands parameters that are appropriate for how you have arranged the many different components on your system.
If you have no clue about how the build commands work then probably you have to start with studying that for a while. Key words are autoconf, automake and libtool, sometimes collectively called autotools.
//Peter
baseband-devel@lists.osmocom.org