- Change uname_main() to main()
//int uname_main(int argc, char **argv)
int main(int argc, char **argv) - Mark #include "internal.h"
//#include "internal.h" - change
usage(uname_usage);
to
printf("%s\n",uname_usage); - Android.mk
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= uname.c
LOCAL_MODULE := uname
include $(BUILD_EXECUTABLE)
- Reference
留言
張貼留言