Opened 10 years ago

Closed 10 years ago

#6630 closed defect (fixed)

Mythtv fails to compile after new wrapper class

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Configuring source in /var/tmp/portage/media-tv/mythtv-0.22_alpha20697/work/mythtv-0.22 ...

  • Running ./configure --prefix=/usr --mandir=/usr/share/man --libdir-name=lib64 --disable-altivec --enable-libfftw3 --disable-audio-jack --enable-symbol-visibility --enable-xvmc --enable-xvmcw --disable-xvmc-vld --enable-xv --enable-glx-procaddrarb --enable-dvb --enable-firewire --enable-lirc --disable-directfb --dvb-path=/usr/include --enable-opengl-vsync --enable-xrandr --enable-x11 --enable-symbol-visibility --disable-audio-arts --enable-mmx --with-bindings=perl,python --compile-type=debug --xvmc-lib=XvMCNVIDIA --enable-xvmc-opengl --enable-opengl-video --enable-vdpau

# Basic Settings Compile type debug Compiler cache symlink gcc DistCC not using distcc explicitly, since ccache symlink is present qmake /usr/bin/qmake install prefix /usr runtime prefix /usr CPU x86_64 (Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz) big-endian no yasm yes MMX enabled yes CMOV enabled yes CMOV is fast no

# Input Support Joystick menu yes lirc support yes Video4Linux sup. yes ivtv support yes HR-PVR support yes FireWire? support yes DVB support yes usr/include HDHomeRun support yes IPTV support yes

# Sound Output Support PulseAudio? support no OSS support yes ALSA support yes aRts support no JACK support no libfftw3 support yes

# Video Output Support x11 support yes xrandr support yes xv support yes XvMC support yes XvMC VLD support no XvMC pro support no XvMC OpenGL sup. yes XvMC libs -lXvMCNVIDIA VDPAU support yes OpenGL video yes OpenGL vsync yes DirectFB no Fribidi formatting yes MHEG support yes

# Misc Features multi threaded libavcodec yes Frontend yes Backend yes

# Bindings bindings_perl yes bindings_python yes

Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak

... ... ... g++ -Wl,-O1 -o mythfrontend version.o main.o playbackbox.o viewscheduled.o globalsettings.o manualschedule.o programrecpriority.o channelrecpriority.o statusbox.o networkcontrol.o mediarenderer.o mythfexml.o playbackboxlistitem.o custompriority.o mythappearance.o exitprompt.o proglist.o action.o actionset.o mythcontrols.o keybindings.o keygrabber.o mythosdmenueditor.o progfind.o guidegrid.o moc_playbackbox.o moc_viewscheduled.o moc_globalsettings.o moc_manualschedule.o moc_programrecpriority.o moc_channelrecpriority.o moc_statusbox.o moc_networkcontrol.o moc_custompriority.o moc_mythappearance.o moc_exitprompt.o moc_proglist.o moc_mythcontrols.o moc_keygrabber.o moc_mythosdmenueditor.o moc_progfind.o moc_guidegrid.o -L/usr/lib64/qt4 -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libmythdb -L../../libs/libmythui -L../../libs/libmythupnp -lmythtv-0.22 -lmythavformat-0.22 -lmythavutil-0.22 -lmythavcodec-0.22 -lmythupnp-0.22 -lmyth-0.22 -lmythui-0.22 -lmythdb-0.22 -L../../libs/libmythlivemedia -lmythlivemedia-0.22 -L../../libs/libmythfreemheg -lmythfreemheg-0.22 -L../../libs/libmythhdhomerun -lmythhdhomerun-0.22 -lraw1394 -liec61883 -lavc1394 -lrom1394 -L/usr/X11R6/lib -lXv -lXxf86vm -lXvMCNVIDIA -lXvMC -lfribidi -L/usr/lib64 -lQtSql -L/usr/lib64/mysql -L/usr/lib64/qt4 -pthread -pthread -lQtXml -pthread -pthread -lQtOpenGL -lGLU -lGL -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -lQtGui -pthread -lpng -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lXrandr -lXinerama -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -ldl ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXDisplay::Sync(bool)' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXDisplay::FillRectangle?(unsigned long, QRect)' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXDisplay::CreateGC(unsigned long)' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXDisplay::SetForeground?(unsigned long)' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXDisplay::MoveResizeWin?(unsigned long, QRect)' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXGetRefreshRate()' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `OpenMythXDisplay()' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXDisplay::GetDisplaySize?()' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXDisplay::GetDisplayDimensions?()' ../../libs/libmythtv/libmythtv-0.22.so: undefined reference to `MythXDisplay::~MythXDisplay()' collect2: ld returned 1 exit status distcc[9173] ERROR: compile (null) on localhost failed make[2]: * [mythfrontend] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.22_alpha20697/work/mythtv-0.22/programs/mythfrontend' make[1]: * [sub-mythfrontend-make_default] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.22_alpha20697/work/mythtv-0.22/programs'

Attachments (1)

mythtv-trunk-mythxdisplay_visibility.patch (967 bytes) - added by pebender@… 10 years ago.
Symbol Visibility Patch

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by pebender@…

Symbol Visibility Patch

comment:1 Changed 10 years ago by pebender@…

I ran into the same error messages and it was due to symbol visibility issues. I fixed it by creating and applying the attached patch.

comment:2 Changed 10 years ago by paulh

Resolution: fixed
Status: newclosed

(In [20698]) Symbol visibility fixes following [20692]. Fixes #6630.

Note: See TracTickets for help on using tickets.