Talk:Building on Mac OS X

From Gnash Project Wiki

Jump to: navigation, search

that not 100% helpfull, e.g.: ltmain.sh.darwin doesn't exist.

In ./configure the boost-incl and boost-lib options are missing

but the worst thing, "make" stops with errors anyway:

ib:~/Desktop/gnash2 ib$ make make all-recursive Making all in libbase /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -I.. -I. -I.. -I../libamf -I../server -I../server/swf -D_THREAD_SAFE -I/usr/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gstreamer-0.10 -I/sw/include -I/opt/local/include/boost-1_35 -g -O2 -D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT libgnashbase_la-sharedlib.lo -MD -MP -MF .deps/libgnashbase_la-sharedlib.Tpo -c -o libgnashbase_la-sharedlib.lo `test -f 'sharedlib.cpp' || echo './'`sharedlib.cpp

g++ -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -I.. -I. -I.. -I../libamf -I../server -I../server/swf -D_THREAD_SAFE -I/usr/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gstreamer-0.10 -I/sw/include -I/opt/local/include/boost-1_35 -g -O2 -D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT libgnashbase_la-sharedlib.lo -MD -MP -MF .deps/libgnashbase_la-sharedlib.Tpo -c sharedlib.cpp  -fno-common -DPIC -o .libs/libgnashbase_la-sharedlib.o

/opt/local/include/boost-1_35/boost/thread/pthread/timespec.hpp: In function 'timespec boost::detail::get_timespec(const boost::system_time&)': /opt/local/include/boost-1_35/boost/thread/pthread/timespec.hpp:18: warning: missing initializer for member 'timespec::tv_nsec' /opt/local/include/boost-1_35/boost/thread/xtime.hpp: In function 'boost::xtime boost::get_xtime(const boost::system_time&)': /opt/local/include/boost-1_35/boost/thread/xtime.hpp:59: warning: missing initializer for member 'boost::xtime::nsec' sharedlib.cpp: In member function 'bool gnash::SharedLib::openLib(const char*)': sharedlib.cpp:178: error: 'lt_dlmakeresident' was not declared in this scope sharedlib.cpp: In member function 'void (* gnash::SharedLib::getInitEntry(const char*))(gnash::as_object&)': sharedlib.cpp:208: error: 'lt_ptr' was not declared in this scope sharedlib.cpp:208: error: expected `;' before 'run' sharedlib.cpp:212: error: 'run' was not declared in this scope sharedlib.cpp: In member function 'bool (* gnash::SharedLib::getDllSymbol(const char*))(void*)': sharedlib.cpp:229: error: 'lt_ptr' was not declared in this scope sharedlib.cpp:229: error: expected `;' before 'run' sharedlib.cpp:233: error: 'run' was not declared in this scope sharedlib.cpp: In member function 'const char* gnash::SharedLib::getDllFileName()': sharedlib.cpp:255: error: 'lt_dlgetinfo' was not declared in this scope sharedlib.cpp: In member function 'const char* gnash::SharedLib::getDllModuleName()': sharedlib.cpp:262: error: 'lt_dlgetinfo' was not declared in this scope sharedlib.cpp: In member function 'int gnash::SharedLib::getDllRefCount()': sharedlib.cpp:269: error: 'lt_dlgetinfo' was not declared in this scope make[2]: *** [libgnashbase_la-sharedlib.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

Personal tools