--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
>
>
> 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-
Xh+NVF5n0LI...@public.gmane.org> 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-
/JYPxA39Uh5...@public.gmane.org
> 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
I have experienced problems with port linux-package to android. I tried port "vim" linux-package to run on android-linux layer.I got compile with codesourcery g++-lite, than couple libc to executable using a "-static" flag on gcc compile command, being no longer necessary the bionic.However the executable not run, had the same problem you described.If you could, i am eagerly waiting for your reply.I think it would be possible to build a cross-compile environment able to easily port any linux package to android-linux, specifically for ARM platforms.see ya.
Hi All,
I would like to port CUPS on my android device RK3399. If you have any info on how to get this done, please share. I am also willing to work with you and share new knowledge. Thanks.
--
--
unsubscribe: android-porting+unsubscribe@googlegroups.com
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.