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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:24:53+00:00 2026-05-15T12:24:53+00:00

Anybody can help me with compiling mp4v2 on Mac OS X? I’ve tried configuring

  • 0

Anybody can help me with compiling mp4v2 on Mac OS X? I’ve tried configuring and compiling as per the instructions but I got a lot of errors originating from the C++ headers. The configure command was ./configure --enable-ub followed by plain make at the Terminal.

From the looks of the error messages, it seems that a number of header files are missing from my installation. The problem is that I did not remove any header files and installed Xcode as-is from the installer DMG.

It seems that these files are required but not present in my from my Xcode installation:

  • /usr/include/c++/4.2.1/bits/c++config.h
  • /usr/include/c++/4.2.1/bits/c++locale.h
  • /usr/include/c++/4.2.1/bits/c++io.h
  • /usr/include/c++/4.2.1/bits/ghtr.h
  • /usr/include/c++/4.2.1/bits/atomic_word.h
  • (and then some)

They are all included by the STL C++ headers provided by the system (all of the files that references to these missing files are in /user/include/c++/4.2.1.

Anybody can help tell me where do I get these “missing” header files?

Here are the version details of each software involved:

  • Snow Leopard 10.6.4
  • Xcode 3.2.3 (the one that came with iOS SDK 4.0)
  • MP4v2 1.9.1
  • i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

The following are some excerpts of the error messages:

g++ -DHAVE_CONFIG_H   -arch i386 -arch x86_64 -arch ppc -arch ppc64 -I./include -I./include -I. -I.  -Wall -Wformat -g -O2 -fvisibility=hidden  -c libplatform/impl.h -o libplatform/impl.h.gch/static
In file included from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/istream:44,
                 from /usr/include/c++/4.2.1/fstream:45,
                 from ./libplatform/platform_base.h:6,
                 from ./libplatform/platform_posix.h:31,
                 from ./libplatform/platform.h:24,
                 from libplatform/impl.h:6:
/usr/include/c++/4.2.1/iosfwd:44:28: error: bits/c++config.h: No such file or directory
/usr/include/c++/4.2.1/iosfwd:45:29: error: bits/c++locale.h: No such file or directory
/usr/include/c++/4.2.1/iosfwd:46:25: error: bits/c++io.h: No such file or directory
In file included from /usr/include/c++/4.2.1/bits/ios_base.h:45,
                 from /usr/include/c++/4.2.1/ios:48,
                 from /usr/include/c++/4.2.1/istream:44,
                 from /usr/include/c++/4.2.1/fstream:45,
                 from ./libplatform/platform_base.h:6,
                 from ./libplatform/platform_posix.h:31,
                 from ./libplatform/platform.h:24,
                 from libplatform/impl.h:6:
/usr/include/c++/4.2.1/ext/atomicity.h:39:23: error: bits/gthr.h: No such file or directory
/usr/include/c++/4.2.1/ext/atomicity.h:40:30: error: bits/atomic_word.h: No such file or directory
In file included from /usr/include/c++/4.2.1/memory:54,
                 from /usr/include/c++/4.2.1/string:48,
                 from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
                 from /usr/include/c++/4.2.1/bits/ios_base.h:47,
                 from /usr/include/c++/4.2.1/ios:48,
                 from /usr/include/c++/4.2.1/istream:44,
                 from /usr/include/c++/4.2.1/fstream:45,
                 from ./libplatform/platform_base.h:6,
                 from ./libplatform/platform_posix.h:31,
                 from ./libplatform/platform.h:24,
                 from libplatform/impl.h:6:

Thanks

  • 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-05-15T12:24:54+00:00Added an answer on May 15, 2026 at 12:24 pm

    I finally got it right:

    ./configure --disable-gch --enable-ub=ppc,i386,x86_64
    

    Refer to mp4v2 issue 58.

    Furthermore there are additional steps required when you use Snow Leopard to build but you also want mp4v2 to be usable under Leopard.

    Thanks

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

Sidebar

Related Questions

can anybody help me solve this : i got $filename= index 198.php; i use
Following code is not compiling, can anybody please help what is wrong here class
Can anybody help me to build an XSD file to validate XMLs like these:
Can anybody help me out to know the possible reasons for which Apple store
Can anybody help me in finding out how to verify that _tmkdir succeeded. For
Can anybody help how to setup a automatic backup of mysql database and then
can anybody help me how to nice integrate doctrine 2.0 into ZF 1.10? I
Can anybody help me writing a regular expression to replace these characters with a
Can anybody help me with retrieving some elements from the following example text: sdfaasdflj
Can anybody help me with this simple code?? #include <iostream> using namespace std; void

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.