[mythtv-users] problem to build under mac os X 10.6.6

Stéphane HENRY stephane.henry at gmail.com
Sun Jan 9 20:18:27 UTC 2011


Hi,

I am trying to build SVN version under mac os, I am using osx-packager.pl

The build crashes here :

g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -m32
-fomit-frame-pointer -fPIC -g -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include/freetype2
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include
-F/System/Library/Frameworks/{AGL,ApplicationServices,Carbon,Cocoa,CoreFoundation,CoreVideo,OpenGL,QuickTime,IOKit,IOKit}.framework/Frameworks
-F/Developer/FireWireSDK20/Examples/AVCVideoServices/Framework -arch i386
-fPIC -DMMX -Di386 -DUSING_APPLEREMOTE -D_GNU_SOURCE -DUSING_QUARTZ_VIDEO
-DUSING_OPENGL -DUSING_OPENGL_VIDEO -DUSING_MHEG -DUSING_FRONTEND
-DUSING_FFMPEG_THREADS -DUSING_OSX_FIREWIRE -DUSING_FIREWIRE -DUSING_IPTV
-DUSING_HDHOMERUN -DUSING_BACKEND -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/mkspecs/macx-g++
-I.
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include/QtCore
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include/QtNetwork
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include/QtGui
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include/QtOpenGL
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include/QtXml
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include/QtSql
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build/include
-I/Users/stef/src/mythtv_stable/packaging/OSX/build/.osx-packager/build -I..
-I../.. -I../../external/FFmpeg -I. -I../libmyth -I../libmyth/audio
-I../libmythdb -I../libmythhdhomerun -I../libmythdvdnav -I../libmythbluray
-Idvbdev -Impeg -Iiptv -Ichannelscan
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/BasicUsageEnvironment
-I../libmythlivemedia/groupsock/include -I../libmythlivemedia/groupsock
-I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/liveMedia
-I../libmythlivemedia/UsageEnvironment/include
-I../libmythlivemedia/UsageEnvironment -I../libmythdb -I../libmythui
-I/usr/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I. -o dvdringbuffer.o
dvdringbuffer.cpp
fileringBuffer.cpp: In member function ‘virtual bool
FileRingBuffer::OpenFile(const QString&, uint)’:
fileringBuffer.cpp:247: error: ‘POSIX_FADV_SEQUENTIAL’ was not declared in
this scope
fileringBuffer.cpp:247: error: ‘posix_fadvise’ was not declared in this
scope
fileringBuffer.cpp:248: error: ‘POSIX_FADV_WILLNEED’ was not declared in
this scope
fileringBuffer.cpp: In member function ‘virtual long long int
FileRingBuffer::Seek(long long int, int, bool)’:
fileringBuffer.cpp:595: error: ‘lseek64’ was not declared in this scope
fileringBuffer.cpp:597: error: ‘POSIX_FADV_DONTNEED’ was not declared in
this scope
fileringBuffer.cpp:597: error: ‘posix_fadvise’ was not declared in this
scope
fileringBuffer.cpp:599: error: ‘POSIX_FADV_WILLNEED’ was not declared in
this scope
fileringBuffer.cpp:681: error: ‘lseek64’ was not declared in this scope
fileringBuffer.cpp:682: error: ‘POSIX_FADV_WILLNEED’ was not declared in
this scope
fileringBuffer.cpp:682: error: ‘posix_fadvise’ was not declared in this
scope
fileringBuffer.cpp:699: error: ‘lseek64’ was not declared in this scope
fileringBuffer.cpp:746: error: ‘lseek64’ was not declared in this scope
fileringBuffer.cpp:749: error: ‘POSIX_FADV_DONTNEED’ was not declared in
this scope
fileringBuffer.cpp:749: error: ‘posix_fadvise’ was not declared in this
scope
fileringBuffer.cpp:750: error: ‘POSIX_FADV_WILLNEED’ was not declared in
this scope
make[2]: *** [fileringBuffer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sub-libmythtv-make_default] Error 2
make: *** [libs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make -j3 " with error code 2
Died at ./osx-packager.pl line 997.



thanks for your support,

stef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110109/79a89750/attachment.htm>


More information about the mythtv-users mailing list