Charlie Hamilton <charleeh1112@...> writes: > > > I have an update on this. I have cupsd running after building it using bionic and the ndk tools. > Currently I have some do-nothing stubs for libs used by cups that aren't in bionic (POSIX, > the crypt library, and a few others). > It's a pain in the neck because the ndk tools and autoconf don't work together very well. > I'm going to clean it up and post the instructions here when it's done. > Charlie > On Thu, Nov 25, 2010 at 8:43 PM, Chih-Wei <cwhuang- [email protected]> wrote: > Not related to your question but you may be interesting. > You can take a look at OESF's EM2. > They have added Printer Manager to Android.http://developer.oesf.biz/em/developer/ > > > > -- > unsubscribe: android-porting+unsubscribe- /[email protected] > website: http://groups.google.com/group/android-porting >
Hi charlie, I built the cups via shared library and when i try to run cupsd i am hitting segmentation fault i think i am missing some library, can you please help me in finding the missing library. I think you have successfully ported. I followed the below steps export LD_LIBRARY_PATH=/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_la test/out/target/product/generic/obj/lib ./configure --prefix=/system/cups_shared -host=arm-eabi AR=arm-eabi-ar LD=arm- eabi-ld STRIP=arm-eabi-strip CXX=arm-eabi-g++ CC=arm-eabi-gcc CPPFLAGS="- I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/system/cor e/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/hardware/l ibhardware/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/hardware/r il/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/dalvik/lib nativehelper/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/frameworks /base/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/external/s kia/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/platforms/ android-8/arch-arm/usr/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib c/arch-arm/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib c/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib stdc++/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib c/kernel/common - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib c/kernel/arch-arm - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib m/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib m/include/arch/arm - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib thread_db/include - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib m/arm - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/bionic/lib m - I/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/out/target /product/generic/obj/SHARED_LIBRARIES/libm_intermediates" CFLAGS="- D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ - DANDROID -DSK_RELEASE -DNDEBUG -UDEBUG -march=armv5te -mtune=xscale -msoft- float -mthumb-interwork -fpic -fno-exceptions -ffunction-sections -funwind- tables -fstack-protector -fmessage-length=0" LDFLAGS="-nostdlib -Wl,- T,/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/prebuilt/ linux-x86/toolchain/arm-eabi-4.4.0/arm-eabi/lib/ldscripts/armelf.x -Wl,- T,/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/prebuilt/ linux-x86/toolchain/arm-eabi-4.4.0/arm-eabi/lib/ldscripts/armelf.xsc -Wl,- dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-shared,-Bsymbolic - Wl,-rpath- link=/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/out/ta rget/product/generic/obj/lib - L/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/out/target /product/generic/obj/lib -Wl,--no-whole-archive -lc -lstdc++ -lm -Wl,--no- undefined /home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/p rebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm- eabi/4.4.0/interwork/libgcc.a -Wl,-f-whole-archive" --enable-shared CUPSDLIBS=- L/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/out/target /product/generic/obj/lib -ldbus " DBUS_NOTIFIERLIBS="- L/home/lfs/Froyo_No_Changes/IMPORT/GALab/GoogleOrg/OPEN/froyo_latest/out/target /product/generic/obj/lib -ldbus" --disable-gssapi -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
