Hello KyaKAN

Maybe it's cause you are using 64bit libraries. As I know the prebuild
toolchain does only work with 32bit libraries. (Correct me if I'm
wrong).

Regards,

Thomas Roth

On Jan 15, 11:52 pm, KyaKAN <[email protected]> wrote:
> I have tried to compile Android on my host machine:
>
>         Manufacturer: Hewlett-Packard
>         Product Name: HP Pavilion dv6500 Notebook PC
>         Version: Rev 1
>         OS: Linux\Slamd64
>         SMP Sun May 4 16:51:34 BST 2008 x86_64 x86_64 x86_64 GNU/Linux
>
> # repo sync
>  [   ....   ]
> # make
> build/core/product_config.mk:207: WARNING: adding test OTA key
> ============================================
> TARGET_PRODUCT=generic
> TARGET_BUILD_VARIANT=eng
> TARGET_SIMULATOR=
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=arm
> HOST_ARCH=x86
> HOST_OS=linux
> HOST_BUILD_TYPE=release
> BUILD_ID=
> ============================================
> build/core/main.mk:180: implicitly installing apns-conf_sdk.xml
> [ ... ]
> host Executable: adb (out/host/linux-x86/obj/EXECUTABLES/
> adb_intermediates/adb)
> /usr/lib64/gcc/x86_64-slamd64-linux/4.2.3/../../../../x86_64-slamd64-
> linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slamd64-
> linux/4.2.3/../../../libncurses.so when searching for -lncurses
> /usr/lib64/gcc/x86_64-slamd64-linux/4.2.3/../../../../x86_64-slamd64-
> linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slamd64-
> linux/4.2.3/../../../libncurses.a when searching for -lncurses
> /usr/lib64/gcc/x86_64-slamd64-linux/4.2.3/../../../../x86_64-slamd64-
> linux/bin/ld: cannot find -lncurses
> collect2: ld returned 1 exit status
> make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb]
> Error 1
>
> I have tried to download source of ncurses-5.7.tar.gz and copile it
> over 6 times, with various configure parameter:
>
>         ./configure                                     \
>                 --prefix=/usr                           \
>                 --sysconfdir=/etc                       \
>                 --localstatedir=/var                    \
>                 --libdir=/usr/lib64                     \
>                 --build=x86_64-linux-linux-gnu          \
>
>         ./configure                                     \
>                 --prefix=/usr                           \
>                 --sysconfdir=/etc                       \
>                 --localstatedir=/var                    \
>                 --libdir=/usr/lib64                     \
>                 --build=x86_64-linux-linux-gnu          \
>                 --enable-broken_linker                  \
>                 --without-ada                           \
>
>         ./configure                                     \
>                 --prefix=/usr                           \
>                 --sysconfdir=/etc                       \
>                 --localstatedir=/var                    \
>                 --libdir=/usr/lib64                     \
>                 --build=x86_64-linux-linux-gnu          \
>                 --enable-broken_linker                  \
>                 --without-ada                           \
>                 --without-normal                        \
>                 --without-debug                         \
>                 --with-shared                           \
>
>         ./configure                                     \
>                 --prefix=/usr                           \
>                 --sysconfdir=/etc                       \
>                 --localstatedir=/var                    \
>                 --libdir=/usr/lib64                     \
>                 --build=x86_64-linux-linux-gnu          \
>                 --enable-broken_linker                  \
>                 --without-ada                           \
>                 --without-normal                        \
>                 --without-debug                         \
>                 --with-shared                           \
>                 --with-libtool                          \
>                 --with-build-cc                         \
>                 --with-build-libs                       \
>
> [ ... ]
>
> Anyone have this problem? Any solution for..? I try since 5 day...
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to