Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8482017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:42:59+00:00 2026-06-10T19:42:59+00:00

LOCAL_PATH := $(call my-dir) TOP_LOCAL_PATH := $(call my-dir)/../ #Add target arm version ifeq ($(TARGET_ARCH_ABI),armeabi)

  • 0
LOCAL_PATH := $(call my-dir)  
TOP_LOCAL_PATH := $(call my-dir)/../ 

#Add target arm version 
ifeq ($(TARGET_ARCH_ABI),armeabi) 
MY_PJSIP_FLAGS := $(BASE_PJSIP_FLAGS) -DPJ_HAS_FLOATING_POINT=0 
else 
MY_PJSIP_FLAGS := $(BASE_PJSIP_FLAGS) -DPJ_HAS_FLOATING_POINT=1 
endif 

# Pjsip 
include $(TOP_LOCAL_PATH)/pjlib/build/Android.mk 
include $(TOP_LOCAL_PATH)/pjlib-util/build/Android.mk 

include $(TOP_LOCAL_PATH)/pjnath/build/Android.mk 
include $(TOP_LOCAL_PATH)/pjmedia/build/Android.mk 
include $(TOP_LOCAL_PATH)/pjsip/build/Android.mk 

#pjsip JNI 
include $(TOP_LOCAL_PATH)/jni/build/Android.mk 

#JSON 
include $(TOP_LOCAL_PATH)/third_party/build/json/Android.mk 

#GSLB 
include $(TOP_LOCAL_PATH)/pgslb/build/Android.mk 

There is an android Make file. Compile GSLB need this file. libpjnath.a, libpjnath.a is compiled by $(TOP_LOCAL_PATH)/pjnath/build/Android.mk. But the make file compile GSLB once execute. libpjnath.a can not be found.
How to designate the include execution sequence?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:43:00+00:00Added an answer on June 10, 2026 at 7:43 pm

    Actually, ndk-build runs make, and it’s not a good practice to rely on the order in which make decides to build its targets. For example, it may launch parallel builds to use your multi-core CPU. The correct way is to explain to make that one target depends on another.

    LOCAL_STATIC_LIBRARIES and LOCAL_SHARED_LIBRARIES are designed exactly for this purpose. See NDK documentation for detailed explanation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple Android.mk file: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) $(shell ($(LOCAL_PATH)/echo_test.sh))
What is wrong with my make file? Android.mk LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS)
Looks like it's possible, but my script produces odd results: LOCAL_PATH:= $(call my-dir) include
I am using NDK for my project... My android.mk file LOCAL_PATH:=$(call my-dir) include $(CLEAR_VARS)
Android.mk: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := pacman LOCAL_SRC_FILES := main.cpp \
I got a simple problem. Here's my Android.mk: LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE
I'm trying to get my Android.mk file to optimize the binaries: LOCAL_PATH := $(call
I have .so (shared library) written in C++, lets call it functionality.so in which
Python is creating a folder in my directory every time I call this method.
I'm trying to write a program to call functions inside my .so library in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.