Hi Devaraj, Thanks for your response.
Please see below build logs for 'system_server' and 'init' binaries. 'system_server' binary is built but something is wrong with it ('ldd' gives an error). Between 'init' and 'system_server' one difference I see from build logs is the target compiler (C vs. C++). (a) system_server build $ touch frameworks/base/cmds/system_server/* $ make system_server ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=2.3.1 TARGET_PRODUCT=eeepc TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR=false TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=x86 TARGET_ARCH_VARIANT=x86 HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID=GINGERBREAD ============================================ find: `ethernet/java': No such file or directory find: `ethernet/java': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory target C++: system_server <= frameworks/base/cmds/system_server/ system_main.cpp target Executable: system_server (out/target/product/eeepc/obj/ EXECUTABLES/system_server_intermediates/LINKED/system_server) target Non-prelinked: system_server (out/target/product/eeepc/symbols/ system/bin/system_server) target Strip: system_server (out/target/product/eeepc/obj/EXECUTABLES/ system_server_intermediates/system_server) Notice file: frameworks/base/cmds/system_server/NOTICE -- out/target/ product/eeepc/obj/NOTICE_FILES/src//system/bin/system_server.txt Install: out/target/product/eeepc/system/bin/system_server $ ldd out/target/product/eeepc/system/bin/system_server /usr/bin/ldd: line 117: out/target/product/eeepc/system/bin/ system_server: No such file or directory (b) init build $ touch system/core/init/* $ make init ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=2.3.1 TARGET_PRODUCT=eeepc TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR=false TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=x86 TARGET_ARCH_VARIANT=x86 HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID=GINGERBREAD ============================================ find: `ethernet/java': No such file or directory find: `ethernet/java': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory find: `frameworks/base/frameworks/base/docs/html': No such file or directory find: `out/target/common/docs/gen': No such file or directory target C: init <= system/core/init/builtins.c system/core/init/builtins.c: In function '__ifupdown': system/core/init/builtins.c:123:5: warning: implicit declaration of function 'strlcpy' system/core/init/builtins.c: In function 'do_sysclktz': system/core/init/builtins.c:512:5: warning: null argument where non- null required (argument 1) target C: init <= system/core/init/init.c system/core/init/init.c: In function 'publish_socket': system/core/init/init.c:138:5: warning: implicit declaration of function 'strlcpy' system/core/init/init.c: In function 'service_start': system/core/init/init.c:251:13: warning: implicit declaration of function 'setgroups' target C: init <= system/core/init/devices.c target C: init <= system/core/init/property_service.c target C: init <= system/core/init/util.c system/core/init/util.c: In function 'log_init': system/core/init/util.c:55:9: warning: implicit declaration of function 'unlink' system/core/init/util.c: In function 'log_write': system/core/init/util.c:73:5: warning: implicit declaration of function 'write' system/core/init/util.c: In function 'android_name_to_id': system/core/init/util.c:82:36: warning: initialization discards qualifiers from pointer target type system/core/init/util.c: In function 'create_socket': system/core/init/util.c:148:5: warning: implicit declaration of function 'chown' system/core/init/util.c:159:5: warning: implicit declaration of function 'close' system/core/init/util.c: In function 'read_file': system/core/init/util.c:174:5: warning: implicit declaration of function 'lseek' system/core/init/util.c:182:5: warning: implicit declaration of function 'read' system/core/init/util.c: In function 'make_link': system/core/init/util.c:366:5: warning: implicit declaration of function 'symlink' system/core/init/util.c: In function 'remove_link': system/core/init/util.c:375:5: warning: implicit declaration of function 'readlink' system/core/init/util.c: In function 'wait_for_file': system/core/init/util.c:390:9: warning: implicit declaration of function 'usleep' system/core/init/util.c: In function 'open_devnull_stdio': system/core/init/util.c:403:13: warning: implicit declaration of function 'dup2' target C: init <= system/core/init/parser.c target C: init <= system/core/init/logo.c system/core/init/logo.c: In function 'fb_open': system/core/init/logo.c:60:5: warning: implicit declaration of function 'ioctl' target C: init <= system/core/init/keychords.c system/core/init/keychords.c: In function 'keychord_init': system/core/init/keychords.c:80:5: warning: implicit declaration of function 'write' system/core/init/keychords.c:83:9: warning: implicit declaration of function 'close' system/core/init/keychords.c: In function 'handle_keychord': system/core/init/keychords.c:106:5: warning: implicit declaration of function 'strcmp' system/core/init/keychords.c:108:9: warning: implicit declaration of function 'read' target C: init <= system/core/init/signal_handler.c target C: init <= system/core/init/init_parser.c target C: init <= system/core/init/ueventd.c system/core/init/ueventd.c: In function 'set_device_permission': system/core/init/ueventd.c:112:13: warning: implicit declaration of function 'asprintf' target C: init <= system/core/init/ueventd_parser.c target StaticExecutable: init (out/target/product/eeepc/obj/ EXECUTABLES/init_intermediates/LINKED/init) target Non-prelinked: init (out/target/product/eeepc/symbols/init) target Strip: init (out/target/product/eeepc/obj/EXECUTABLES/ init_intermediates/init) Notice file: system/core/init/NOTICE -- out/target/product/eeepc/obj/ NOTICE_FILES/src//root/init.txt Install: out/target/product/eeepc/root/init $ ldd out/target/product/eeepc/root/init linux-gate.so.1 => (0xb773e000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7713000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb770a000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb75a6000) /lib/ld-linux.so.2 (0xb773f000) Do you have a suggestion for me? Kind regards, Vinaya On Nov 13, 8:48 pm, Devaraj Rangasamy <r.deva...@gmail.com> wrote: > as both init and system server. are native component both should be using > same tool chain, tools might be ok in ur setup. > also, latest gingerbread have support for 32-bit machine builds. it > shouldn't be an issue > > since bianreis are checkd in build out folder, probably build failed and > binaries are not generated., > can u confirm by below commands and share build logs for "make > system_server"?? > > > $ ls out/target/product/eeepc/system/bin/system_server > On Saturday, November 12, 2011, Vinaya <vinaya2008...@gmail.com> wrote: > > Dear friends, > > > I have built gingerbread on 32-bit ubuntu for 'eeepc' product. I have > > done changes mentioned in post > > http://groups.google.com/group/android-porting/browse_thread/thread/2... > > > > > to perform the build. > > > The problem I am facing is that some of the binaries are not baked > > properly. > > > e.g. 'ldd' gives an error for 'system_server' and cannot be run on the > > target > > $ ldd out/target/product/eeepc/system/bin/system_server > > /usr/bin/ldd: line 117: out/target/product/eeepc/system/bin/ > > system_server: No such file or directory > > > However, 'init' is built properly and the target can run it but with > > errors due to above mentioned issue. > > > $ ldd out/target/product/eeepc/root/init > > linux-gate.so.1 => (0xb7749000) > > libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb771e000) > > librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7715000) > > libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb75b1000) > > /lib/ld-linux.so.2 (0xb774a000) > > > Please advise. > > > Kind regards, > > Vinaya > > > -- > > unsubscribe: android-porting+unsubscr...@googlegroups.com > > website:http://groups.google.com/group/android-porting > > -- > Sent from Samsung Galaxy :) -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting