Hello, I think problem is: >3. Copied the ncurses inside htop sources folder
Try move it to platform/external directory. Also: CyanogenMod already contains htop, you can lookup smth useful in their repo. On 11 окт, 07:50, Kurt Glivos <kurt.gli...@gmail.com> wrote: > Hi, > I'm trying to port htop into android. This is what I did > > 1. Downloaded the htop from > http://sourceforge.net/projects/htop/ > > 2. Downloaded the ncurses ported for android from > http://code.google.com/p/android-cruft/downloads/detail?name=ncurses-... > > 3. Copied the ncurses inside htop sources folder > > 4. Copied htop sources to external/htop folder > > 5. This is my Android.mk in htop folder > > ************************************************************************************************************************************ > LOCAL_PATH := $(call my-dir) > MY_LOCAL_PATH := $(LOCAL_PATH) > LOCAL_MODULE_TAGS := eng > include $(CLEAR_VARS) > > LOCAL_PREBUILT_LIBS := \ > $(LOCAL_PATH)/ncurses-5.7/lib/libncurses.a > > include $(BUILD_MULTI_PREBUILT) > > #LOCAL_PATH := $(MY_LOCAL_PATH) > include $(CLEAR_VARS) > LOCAL_SRC_FILES := \ > AvailableMetersPanel.c CategoriesPanel.c CheckItem.c \ > ClockMeter.c ColorsPanel.c ColumnsPanel.c CPUMeter.c \ > CRT.c DebugMemory.c DisplayOptionsPanel.c FunctionBar.c \ > Hashtable.c Header.c htop.c ListItem.c LoadAverageMeter.c \ > MemoryMeter.c Meter.c MetersPanel.c Object.c Panel.c \ > BatteryMeter.c Process.c ProcessList.c RichString.c \ > ScreenManager.c Settings.c SignalItem.c SignalsPanel.c \ > String.c SwapMeter.c TasksMeter.c TraceScreen.c \ > UptimeMeter.c UsersTable.c Vector.c AvailableColumnsPanel.c \ > AffinityPanel.c HostnameMeter.c OpenFilesScreen.c > > LOCAL_C_INCLUDES := \ > $(LOCAL_PATH)/ncurses-5.7/include \ > $(LOCAL_PATH)/ncurses-5.7/ncurses \ > $(LOCAL_PATH)/plpa-1.1/src \ > $(LOCAL_PATH) > > LOCAL_CFLAGS := -std=c99 -DANDROID_CHANGES -DSYSCONFDIR=\"/data\" > > LOCAL_MODULE := htopa > > LOCAL_SHARED_LIBRARIES := libc libcutils > > LOCAL_STATIC_LIBRARIES := \ > $(LOCAL_PATH)/ncurses-5.7/lib/libncurses > > LOCAL_LDLIBS := -lncurses > include $(BUILD_EXECUTABLE) > > ************************************************************************************************************************************ > > 6. But when I give build I get the following error (But I see that > libncurses.a is avaialable in that folder) > > make: *** No rule to make target `out/target/product/generic/obj/ > STATIC_LIBRARIES/external/htop/ncurses-5.7/lib/ > libncurses_intermediates/external/htop/ncurses-5.7/lib/libncurses.a', > needed by `out/target/product/generic/obj/EXECUTABLES/ > htopa_intermediates/LINKED/htopa'. Stop. > > Please help me > > -Kurt -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting