[mythtv] OSX Compile fails on has_altivec ld error

David Snider dsnider at thesniderpad.com
Sun Nov 18 23:36:56 UTC 2007


> Died at /tmp/OSX/osx-packager.pl line 905.
>
> I did a simple locate glx.h and found the following references:
> $ locate glx.h
> /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/include/GL/glx.h
> /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/GL/glx.h
> /usr/X11R6/include/GL/glx.h
> _______________________________________________
> mythtv-dev mailing list
>   
Now, I also edited the osx-packager script to remove OpenGL by changing 
"-enable-opengl" to "-disable-opengl" and got the same error.  So, that 
didn't seem to make a difference.

If I edit the Makefile and add the path to one of the paths above with 
"-I/usr/X11R6/include" for example, I lose the symbol errors, but get a 
different one.

$ pwd
/nobackup/myth/.osx-packager/src/myth-svn/mythtv/libs/libmythtv

$ make -f Makefile
g++ -c -pipe -mcpu=7450 -mpowerpc-gfxopt -fomit-frame-pointer -O3 
-faltivec -maltivec -mabi=altivec -Wall -Wno-switch -Wpointer-arith 
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS 
-Wno-long-double -I/nobackup/myth/.osx-packager/build/include/freetype2 
-I/nobackup/myth/.osx-packager/build/include 
-F/System/Library/Frameworks/{AGL,ApplicationServices,Carbon,Cocoa,OpenGL,QuickTime}.framework/Frameworks 
-F/System/Library/PrivateFrameworks/{DVD}.framework/Frameworks 
-F/Developer/FireWireSDK23/Examples/Framework -fno-inline-functions 
-DPIC -fPIC  -DUSING_APPLEREMOTE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-DPREFIX=\"/nobackup/myth/.osx-packager/build\" 
-DLIBDIR=\"/nobackup/myth/.osx-packager/build/lib\" -D_LARGEFILE_SOURCE 
-DUSING_H264TOOLS -DUSING_OPENGL -DUSING_FRONTEND -DUSING_OSX_FIREWIRE 
-DUSING_FIREWIRE -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN 
-DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-DQT_ACCESSIBILITY_SUPPORT -I/usr/X11R6/include 
-I/nobackup/myth/.osx-packager/build/mkspecs/default -I. 
-I../../../../../build/include -I../../../../../build/include -I../.. 
-I.. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 
-Idvbdev -Impeg -Iiptv 
-I../libmythlivemedia/BasicUsageEnvironment/include 
-I../libmythlivemedia/groupsock/include 
-I../libmythlivemedia/liveMedia/include 
-I../libmythlivemedia/UsageEnvironment/include -I/sw/lib/qt3/include 
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers 
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o 
util-opengl.o util-opengl.cpp
util-opengl.cpp: In function 'bool get_glx_version(Display*, uint&, uint&)':
util-opengl.cpp:98: error: 'MythXOpenDisplay' was not declared in this scope
make: *** [util-opengl.o] Error 1




More information about the mythtv-dev mailing list