[mythtv-commits] Ticket #1590: Building with cygwin

MythTV mythtv at cvs.mythtv.org
Thu Mar 30 18:52:47 UTC 2006


#1590: Building with cygwin
-------------------------+--------------------------------------------------
 Reporter:  robthebob    |        Owner:  robthebob
     Type:  enhancement  |       Status:  new      
 Priority:  minor        |    Milestone:           
Component:  mythtv       |      Version:           
 Severity:  medium       |   Resolution:           
-------------------------+--------------------------------------------------
Comment (by anaerin at gmail.com):

 I've tried with this patch, but I'm still running into a few problems when
 making.

 {{{
 ccache g++ -Wl,--enable-runtime-pseudo-reloc -shared -Wl,--enable-auto-
 image-base -Wl,--out-implib,libmythui-0.19.dll.a -o cygmythui-0.19-0.dll
 mythmainwindow.o mythpainter.o mythimage.o myththemebase.o
 mythpainter_ogl.o mythpainter_qt.o mythscreenstack.o mythscreentype.o
 mythgesture.o mythuitype.o mythuiimage.o mythuitext.o mythuistatetype.o
 mythlistbutton.o mythfontproperties.o mythuibutton.o myththemedmenu.o
 mythdialogbox.o moc_mythmainwindow.o moc_mythuitype.o moc_mythlistbutton.o
 moc_myththemedmenu.o moc_mythdialogbox.o  -L/usr/lib/qt3/lib -L../libmyth
 -lmyth-0.19.so -lqt-mt -lpthread
 Info: resolving _gContext by linking to __imp__gContext (auto-import)
 Info: resolving QString::shared_null       by linking to
 __imp___ZN7QString11shared_nullE (auto-import)
 Info: resolving _qApp by linking to __imp__qApp (auto-import)
 Info: resolving QString::null      by linking to __imp___ZN7QString4nullE
 (auto-import)
 Info: resolving vtable for QEventby linking to __imp___ZTV6QEvent (auto-
 import)
 Info: resolving _print_verbose_messages by linking to
 __imp__print_verbose_messages (auto-import)
 Info: resolving MythContext::verbose_mutex        by linking to
 __imp___ZN11MythContext13verbose_mutexE (auto-import)
 Info: resolving QApplication::focus_widget        by linking to
 __imp___ZN12QApplication12focus_widgetE (auto-import)
 Info: resolving Qt::black      by linking to __imp___ZN2Qt5blackE (auto-
 import)
 Info: resolving Qt::white      by linking to __imp___ZN2Qt5whiteE (auto-
 import)
 Info: resolving QColor::colormodel       by linking to
 __imp___ZN6QColor10colormodelE (auto-import)
 Info: resolving _globalFontMapCreating library file: libmythui-0.19.dll.a
 mythmainwindow.o: In function
 `_ZN14MythMainWindow11customEventEP12QCustomEvent':
 /usr/Mythtv/libs/libmythui/mythmainwindow.cpp:1142: undefined reference to
 `MediaMonitor::GetMediaMonitor()'
 /usr/Mythtv/libs/libmythui/mythmainwindow.cpp:1143: undefined reference to
 `MediaMonitor::ValidateAndLock(MythMediaDevice*)'
 /usr/Mythtv/libs/libmythui/mythmainwindow.cpp:1160: undefined reference to
 `MediaMonitor::Unlock(MythMediaDevice*)'
 mythpainter_ogl.o: In function `_ZN17MythOpenGLPainter5BeginEP7QWidget':
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:60: undefined reference to
 `_glClearColor at 16'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:61: undefined reference to
 `_glClear at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:62: undefined reference to
 `_glShadeModel at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:63: undefined reference to
 `_glViewport at 16'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:64: undefined reference to
 `_glMatrixMode at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:65: undefined reference to
 `_glLoadIdentity at 0'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:66: undefined reference to
 `_glOrtho at 48'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:67: undefined reference to
 `_glMatrixMode at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:68: undefined reference to
 `_glLoadIdentity at 0'
 mythpainter_ogl.o: In function `_ZN17MythOpenGLPainter3EndEv':
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:78: undefined reference to
 `_glFlush at 0'
 mythpainter_ogl.o: In function
 `_ZN17MythOpenGLPainter20RemoveImageFromCacheEP9MythImage':
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:112: undefined reference to
 `_glDeleteTextures at 8'
 mythpainter_ogl.o: In function
 `_ZN17MythOpenGLPainter20BindTextureFromCacheEP9MythImageb':
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:127: undefined reference to
 `_glGetString at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:167: undefined reference to
 `_glBindTexture at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:201: undefined reference to
 `_glGenTextures at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:202: undefined reference to
 `_glBindTexture at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:203: undefined reference to
 `_glTexParameteri at 12'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:207: undefined reference to
 `_glHint at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:208: undefined reference to
 `_glTexParameteri at 12'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:209: undefined reference to
 `_glTexParameterf at 12'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:212: undefined reference to
 `_glTexParameterf at 12'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:214: undefined reference to
 `_glTexImage2D at 36'
 mythpainter_ogl.o: In function
 `_ZN17MythOpenGLPainter9DrawImageERK5QRectP9MythImageS2_i':
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:233: undefined reference to
 `_glClearDepth at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:238: undefined reference to
 `_glBlendFunc at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:240: undefined reference to
 `_glPushAttrib at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:242: undefined reference to
 `_glColor4f at 16'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:243: undefined reference to
 `_glEnable at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:244: undefined reference to
 `_glEnable at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:246: undefined reference to
 `_glBegin at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:263: undefined reference to
 `_glTexCoord2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:263: undefined reference to
 `_glVertex2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:264: undefined reference to
 `_glTexCoord2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:264: undefined reference to
 `_glVertex2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:265: undefined reference to
 `_glTexCoord2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:265: undefined reference to
 `_glVertex2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:266: undefined reference to
 `_glTexCoord2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:266: undefined reference to
 `_glVertex2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:268: undefined reference to
 `_glEnd at 0'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:270: undefined reference to
 `_glDisable at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:271: undefined reference to
 `_glDisable at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:272: undefined reference to
 `_glPopAttrib at 0'
 mythpainter_ogl.o: In function
 `_ZN17MythOpenGLPainter14ReallyDrawTextE6QColorRK5QRecti':
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:362: undefined reference to
 `_glPushAttrib at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:366: undefined reference to
 `_glColor4f at 16'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:368: undefined reference to
 `_glEnable at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:369: undefined reference to
 `_glEnable at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:371: undefined reference to
 `_glBegin at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:385: undefined reference to
 `_glTexCoord2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:385: undefined reference to
 `_glVertex2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:386: undefined reference to
 `_glTexCoord2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:386: undefined reference to
 `_glVertex2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:387: undefined reference to
 `_glTexCoord2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:387: undefined reference to
 `_glVertex2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:388: undefined reference to
 `_glTexCoord2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:388: undefined reference to
 `_glVertex2f at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:390: undefined reference to
 `_glEnd at 0'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:392: undefined reference to
 `_glDisable at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:393: undefined reference to
 `_glDisable at 4'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:394: undefined reference to
 `_glPopAttrib at 0'
 mythpainter_ogl.o: In function
 `_ZN17MythOpenGLPainter8DrawTextERK5QRectRK7QStringiRK18MythFontPropertiesi':
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:401: undefined reference to
 `_glClearDepth at 8'
 /usr/Mythtv/libs/libmythui/mythpainter_ogl.cpp:411: undefined reference to
 `_glBlendFunc at 8'
 myththemedmenu.o: In function
 `_ZN21MythThemedMenuPrivate15keyPressHandlerEP9QKeyEvent':
 /usr/Mythtv/libs/libmythui/myththemedmenu.cpp:2128: undefined reference to
 `MediaMonitor::GetMediaMonitor()'
 /usr/Mythtv/libs/libmythui/myththemedmenu.cpp:2130: undefined reference to
 `MediaMonitor::ChooseAndEjectMedia()' by linking to __imp__globalFontMap
 (auto-import)
 Info: resolving _static_QUType_bool by linking to
 __imp__static_QUType_bool (auto-import)
 Info: resolving _static_QUType_varptr by linking to
 __imp__static_QUType_varptr (auto-import)
 Info: resolving _static_QUType_Null by linking to
 __imp__static_QUType_Null (auto-import)
 Info: resolving _static_QUType_ptr by linking to __imp__static_QUType_ptr
 (auto-import)
 Info: resolving _static_QUType_int by linking to __imp__static_QUType_int
 (auto-import)
 collect2: ld returned 1 exit status
 make[2]: *** [cygmythui-0.19-0.dll] Error 1
 make[2]: Leaving directory `/usr/mythtv/libs/libmythui'
 make[1]: *** [sub-libmythui] Error 2
 make[1]: Leaving directory `/usr/mythtv/libs'
 make: *** [sub-libs] Error 2
 }}}
 Any help?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1590>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list