This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cross compiling for ARM, float32x4_t cannot be resolved

I'm trying to cross comple a bunch of C files from SMP Debian 3.2.46-1 i686 GNU/Linux to ARM Coretex-A9 platform. Linaro linaro-alip 3.0.35-02828-g5cedf96 is running on the ARM board.

Problems

  1. <arm_neon.h> is missing.
  2. NEON data types like float32x4_t, uint32x4_t, float32x4x2_t throws error Type float32x4x2_t could not be resolved.

  My attempts

  1. I manually downloaded <arm_neon.h> and placed in the same directory as my C files. Also made sure that the compiler options -mfloat-abi=softfp -mfpu=neon are present in the cross compiler toolchain. Now the header file issue is solved.

  2.   Still the second issue persist.

Cross compiler: gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux, prefix arm-linux-gnueabihf-

Some of the referred fixes: [1], [2].

Could anyone pass some light on this. Thanks in advance.