vlc-android compiled for android 2.1 (armv6) SIGILL ERROR
This project can be run smoothly on Android 2.2+(CPU ARMv7).But cannot on Android 2.1(CPU ARMv6). Logcat:

    06-01 17:50:03.277: V/VLC/LibVLC(10895): Initializing LibVLC
    06-01 17:50:03.277: D/dalvikvm(10895): +++ not scanning '/system/lib/libwebcore.so' for         'nativeInit' (wrong CL)
    06-01 17:50:03.277: D/dalvikvm(10895): +++ not scanning '/system/lib/libmedia_jni.so' for 'nativeInit' (wrong CL)
    06-01 17:50:03.287: D/dalvikvm(10895): +++ not scanning '/system/lib/libexif.so' for 'nativeInit' (wrong CL)
    06-01 17:50:03.367: I/DEBUG(9458): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    06-01 17:50:03.367: I/DEBUG(9458): Build fingerprint: 'chunghwa/htc_hero/hero/hero:2.1-    update1/ERE27/183682:user/release-keys'
    06-01 17:50:03.377: I/DEBUG(9458): pid: 10895, tid: 10895  >>> org.videolan.vlc <<<
    06-01 17:50:03.377: I/DEBUG(9458): signal 4 (SIGILL), fault addr 823862ec
    06-01 17:50:03.377: I/DEBUG(9458):  r0 8236e720  r1 be9ea6cc  r2 82d4a6bc  r3 823862e8
    06-01 17:50:03.377: I/DEBUG(9458):  r4 00000000  r5 82d4a6bc  r6 0016a1a0  r7 0016c4b8
    06-01 17:50:03.377: I/DEBUG(9458):  r8 be9ea808  r9 4104ec80  10 0000000b  fp be9ea85c
    06-01 17:50:03.377: I/DEBUG(9458):  ip 00002c80  sp be9ea6a4  lr 8236f964  pc 823862ec  cpsr 60000010
    06-01 17:50:03.957: I/DEBUG(9458):          #00  pc 823862ec  /data/data/org.videolan.vlc/lib/libvlcjni.so
    06-01 17:50:03.967: I/DEBUG(9458):          #01  lr 8236f964  /data/data/org.videolan.vlc/lib/libvlcjni.so

**Some key arguments in configure.sh as follow:**

    ANDROID_API=android-9
    VLC_SOURCEDIR=..

    CFLAGS="-g -O2 -mlong-calls -fstrict-aliasing -mfloat-abi=softfp -funsafe-math-    optimizations"
    LDFLAGS="-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"

    if [ -z "$NO_NEON" ]; then
        CXX_TARGET="armeabi-v7a"
        CFLAGS="$CFLAGS -mfpu=neon -mcpu=cortex-a8 -mthumb"
        LDFLAGS="$LDFLAGS -Wl,--fix-cortex-a8"
        EXTRA_PARAMS=" --enable-neon"
    elif [ -n "$TEGRA2" ]; then
        CXX_TARGET="armeabi-v7a"
        CFLAGS="$CFLAGS -mfpu=vfpv3-d16 -mcpu=cortex-a9 -mthumb"
        EXTRA_PARAMS=" --disable-neon"
    else
        CXX_TARGET="armeabi"
        CFLAGS="$CFLAGS -mcpu=arm1136jf-s -mfpu=vfp"
        EXTRA_PARAMS=" --disable-neon"
    fi
    CPPFLAGS="-I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/include -    I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${CXX_TARGET}/include"
    LDFLAGS="$LDFLAGS -L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${CXX_TARGET}"

    SYSROOT=$ANDROID_NDK/platforms/$ANDROID_API/arch-arm
    ANDROID_BIN=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin/
    CROSS_COMPILE=${ANDROID_BIN}/arm-linux-androideabi-

**Build informations :**

        Built using  android tools :
        - android-sdk-r17
        - android-ndk-r7b
        - JDK 6
        - Eclipse :Indigo Service Release 2

**What do you say and what should we do to solve this problem so that the project can be run on Android2.1(CPU ARMv6)?
Thank u.**



vlc-android compiled for android 2.1 (armv6) SIGILL ERROR
===

This project can be run smoothly on Android 2.2+(CPU ARMv7).But cannot on Android 2.1(CPU ARMv6). Logcat:

    06-01 17:50:03.277: V/VLC/LibVLC(10895): Initializing LibVLC
    06-01 17:50:03.277: D/dalvikvm(10895): +++ not scanning '/system/lib/libwebcore.so' for         'nativeInit' (wrong CL)
    06-01 17:50:03.277: D/dalvikvm(10895): +++ not scanning '/system/lib/libmedia_jni.so' for 'nativeInit' (wrong CL)
    06-01 17:50:03.287: D/dalvikvm(10895): +++ not scanning '/system/lib/libexif.so' for 'nativeInit' (wrong CL)
    06-01 17:50:03.367: I/DEBUG(9458): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    06-01 17:50:03.367: I/DEBUG(9458): Build fingerprint: 'chunghwa/htc_hero/hero/hero:2.1-    update1/ERE27/183682:user/release-keys'
    06-01 17:50:03.377: I/DEBUG(9458): pid: 10895, tid: 10895  >>> org.videolan.vlc <<<
    06-01 17:50:03.377: I/DEBUG(9458): signal 4 (SIGILL), fault addr 823862ec
    06-01 17:50:03.377: I/DEBUG(9458):  r0 8236e720  r1 be9ea6cc  r2 82d4a6bc  r3 823862e8
    06-01 17:50:03.377: I/DEBUG(9458):  r4 00000000  r5 82d4a6bc  r6 0016a1a0  r7 0016c4b8
    06-01 17:50:03.377: I/DEBUG(9458):  r8 be9ea808  r9 4104ec80  10 0000000b  fp be9ea85c
    06-01 17:50:03.377: I/DEBUG(9458):  ip 00002c80  sp be9ea6a4  lr 8236f964  pc 823862ec  cpsr 60000010
    06-01 17:50:03.957: I/DEBUG(9458):          #00  pc 823862ec  /data/data/org.videolan.vlc/lib/libvlcjni.so
    06-01 17:50:03.967: I/DEBUG(9458):          #01  lr 8236f964  /data/data/org.videolan.vlc/lib/libvlcjni.so

**Some key arguments in configure.sh as follow:**

    ANDROID_API=android-9
    VLC_SOURCEDIR=..

    CFLAGS="-g -O2 -mlong-calls -fstrict-aliasing -mfloat-abi=softfp -funsafe-math-    optimizations"
    LDFLAGS="-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"

    if [ -z "$NO_NEON" ]; then
        CXX_TARGET="armeabi-v7a"
        CFLAGS="$CFLAGS -mfpu=neon -mcpu=cortex-a8 -mthumb"
        LDFLAGS="$LDFLAGS -Wl,--fix-cortex-a8"
        EXTRA_PARAMS=" --enable-neon"
    elif [ -n "$TEGRA2" ]; then
        CXX_TARGET="armeabi-v7a"
        CFLAGS="$CFLAGS -mfpu=vfpv3-d16 -mcpu=cortex-a9 -mthumb"
        EXTRA_PARAMS=" --disable-neon"
    else
        CXX_TARGET="armeabi"
        CFLAGS="$CFLAGS -mcpu=arm1136jf-s -mfpu=vfp"
        EXTRA_PARAMS=" --disable-neon"
    fi
    CPPFLAGS="-I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/include -    I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${CXX_TARGET}/include"
    LDFLAGS="$LDFLAGS -L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${CXX_TARGET}"

    SYSROOT=$ANDROID_NDK/platforms/$ANDROID_API/arch-arm
    ANDROID_BIN=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin/
    CROSS_COMPILE=${ANDROID_BIN}/arm-linux-androideabi-

**Build informations :**

        Built using  android tools :
        - android-sdk-r17
        - android-ndk-r7b
        - JDK 6
        - Eclipse :Indigo Service Release 2

**What do you say and what should we do to solve this problem so that the project can be run on Android2.1(CPU ARMv6)?
Thank u.**


