Thanks Bob!
'yum install readline-devel' did help me to proceed further, till I ran into
the next build error.('readline' was already installed on my system)
----------------
# echo $PATH
/root/bin:/usr/bin:/usr/local/git/bin:/usr/java/jre1.6.0_12/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
# make
build/core/product_config.mk:211: 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
build/core/copy_headers.mk:15: warning: overriding commands for target
`out/target/product/generic/obj/include/libpv/getactualaacconfig.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target
`out/target/product/generic/obj/include/libpv/getactualaacconfig.h'
target Dex: com.example.android.platform_library
trouble processing:
invalid constant pool index 0000
...while parsing attributes[1]
...while parsing Code attribute at offset 000003b1
...while parsing attributes[0]
...while parsing methods[0]
...while parsing com/example/android/platform_library/PlatformLibrary.class
...while processing
com/example/android/platform_library/PlatformLibrary.class
1 warning
no classfiles specified
make: ***
[out/target/common/obj/JAVA_LIBRARIES/com.example.android.platform_library_intermediates/classes.dex]
Error 1
# ls -l
out/target/common/obj/JAVA_LIBRARIES/com.example.android.platform_library_intermediates/
total 12
-rw-r--r-- 1 root root 1711 Feb 6 21:05 classes-full-debug.jar
-rw-r--r-- 1 root root 1711 Feb 6 21:05 classes.jar
drwxr-xr-x 3 root root 4096 Feb 6 21:05 emma_out
----------------
Not sure what Iam missing :-(
On Fri, Feb 6, 2009 at 6:42 AM, Bob Parsons <[email protected]>wrote:
>
> Hi,
>
> It appears that you may be missing libhistory which is a part of the
> readline library. Try doing a 'yum install readline' on the command
> line.
>
> Bob
>
> On Feb 5, 5:09 pm, Chitty <[email protected]> wrote:
> > Hello,
> >
> > My appologies if Iam sending this email to a wrong/inapporpriate mailing
> list.
> >
> > I tried to build the latest Android (as of 02/05/2009) on Centos5.2
> > (running as a VM on VMWare ESXi). The build fails with the following
> > message.
> >
> > -------------------
> > external/sqlite/dist/sqlite3.c:81665: warning: 'iStartBlockid' may be
> used
> > uninitialized in this function
> > host C: sqlite3 <= external/sqlite/dist/shell.c
> > external/sqlite/dist/shell.c: In function 'callback':
> > external/sqlite/dist/shell.c:540: warning: comparison between signed and
> > unsigned
> > external/sqlite/dist/shell.c:551: warning: comparison between signed and
> > unsigned
> > external/sqlite/dist/shell.c:561: warning: comparison between signed and
> > unsigned
> > external/sqlite/dist/shell.c:575: warning: comparison between signed and
> > unsigned
> > external/sqlite/dist/shell.c:580: warning: comparison between signed and
> > unsigned
> > external/sqlite/dist/shell.c: In function 'do_meta_command':
> > external/sqlite/dist/shell.c:1051: warning: comparison between signed and
> > unsigned
> > external/sqlite/dist/shell.c:1603: warning: comparison between signed and
> > unsigned
> > host Executable: sqlite3
> > (out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3)
> > /usr/bin/ld: cannot find -lhistory
> > collect2: ld returned 1 exit status
> > make: ***
> > [out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3] Error
> 1
> >
> > -------------------
> >
> > Attached file "typescript" captures the entire build log.
> >
> > Here the steps that Iam trying to document in building Android on
> CentOS5.2
> >
> > http://www.metoolabs.com/index.php?option=com_content&view=article&id...
> >
> > Any help/advice is much appreciated!
> >
> > thanks in advance,
> > Ananda K
> >
> > typescript
> > 421KViewDownload
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---