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 7943951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:25:09+00:00 2026-06-04T00:25:09+00:00

I’m trying to compile pjsip version 2 using the terminal and I’m getting constant

  • 0

I’m trying to compile pjsip version 2 using the terminal and I’m getting constant error no matter what I try. Been looking for the answer all over the internet including stackoverflow.

I downloaded pjsip version 2 using their subversion repository today so all files should be up to date.

When following this guide: http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone I get this error after running “make dep && make clean && make”:

ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjsua-arm-apple-darwin9] Error 1
make[1]: *** [pjsua] Error 2
make: *** [all] Error 1

When using the above guide combined with this guide: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2011-October/013481.html I get this error after running “make dep && make clean && make”:

ld: symbol(s) not found for architecture arm
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjsua-arm-apple-darwin10] Error 1
make[1]: *** [pjsua] Error 2
make: *** [all] Error 1

I’ve included /pjlib/include/pj/config_site.h with the following code:

#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>

How do I get pjsip to compile without errors?

Please consider that I’m new to this, thank you!

  • 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-04T00:25:10+00:00Added an answer on June 4, 2026 at 12:25 am

    From your error, it looks like there could be a couple things wrong. I would make sure all your environment variables are cleared before continuing (just to be safe).

    In ./configure-iphone, make sure you change:

    ./aconfigure --host=arm-apple-darwin9 --disable-floating-point $*
    

    To:

    ./aconfigure --host=arm-apple-darwin10 --disable-floating-point $*
    

    Here are the scripts that I use to build the libraries:

    Simulator:

        export DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer
        export CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
    
        export CFLAGS="-O2 -m32 -miphoneos-version-min=5.0 -g -ggdb -g3 -DNDEBUG" 
        export LDFLAGS="-O2 -m32"
    
        ./configure-iphone
    
        make clean
        make dep
        make
        make clean
    

    Device:

      export ARCH="-arch armv7"
      export CFLAGS="-DNDEBUG -g -ggdb -g3"
    
      ./configure-iphone
    
      make clean
      make dep
      make
      make clean
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I am trying to render a haml file in a javascript response like so:
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

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.