Kodi Community Forum

Full Version: Latest Git compile error 7-2-2011-8.51PM (Chicago time)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Code:
xbmc/windows/windows.a(GUIWindowPVR.o): In function `CGUIWindowPVR::OnInitWindow()':
/usr/src/xbmc/fork-maindev/xbmc/xbmc/windows/GUIWindowPVR.cpp:696: undefined reference to `PVREpgSearchFilter::Reset()'
xbmc/windows/windows.a(GUIWindowPVR.o): In function `PVREpgSearchFilter':
/usr/src/xbmc/fork-maindev/xbmc/xbmc/pvr/PVREpgSearchFilter.h:32: undefined reference to `vtable for PVREpgSearchFilter'
/usr/src/xbmc/fork-maindev/xbmc/xbmc/pvr/PVREpgSearchFilter.h:32: undefined reference to `vtable for PVREpgSearchFilter'
xbmc/windows/windows.a(GUIWindowPVR.o): In function `~EpgSearchFilter':
/usr/src/xbmc/fork-maindev/xbmc/xbmc/epg/EpgSearchFilter.h:31: undefined reference to `vtable for EpgSearchFilter'
/usr/src/xbmc/fork-maindev/xbmc/xbmc/epg/EpgSearchFilter.h:31: undefined reference to `vtable for EpgSearchFilter'
/usr/src/xbmc/fork-maindev/xbmc/xbmc/epg/EpgSearchFilter.h:31: undefined reference to `vtable for EpgSearchFilter'
xbmc/windows/windows.a(GUIWindowPVR.o): In function `CGUIWindowPVR::OnContextButton(int, CONTEXT_BUTTON)':
/usr/src/xbmc/fork-maindev/xbmc/xbmc/windows/GUIWindowPVR.cpp:1263: undefined reference to `PVREpgSearchFilter::Reset()'
/usr/src/xbmc/fork-maindev/xbmc/xbmc/windows/GUIWindowPVR.cpp:1365: undefined reference to `PVREpgSearchFilter::Reset()'
xbmc/windows/windows.a(GUIWindowPVR.o): In function `~EpgSearchFilter':
/usr/src/xbmc/fork-maindev/xbmc/xbmc/epg/EpgSearchFilter.h:31: undefined reference to `vtable for EpgSearchFilter'
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1

Looks like something simple.

Have gone back to antiquated for the night.. Am glad it works with the latest vnsiserver plugin..
I got a message from dteirney telling me about this problem. I just created a new clone of his repos, did a "./bootstrap && ./configure && make" and it compiles and runs cleanly (on a clean Lucid VM, just the normal XBMC build deps installed).

make sure your tree is clean and that your ccache is clean if you're using it.
right, now I got the linker error on a clean environment with a different linux dist too. I'll have a proper look at it this evening.
Thanks..

I just deleted what I had, recloned and got the same error again. Glad it's not just me.. (although I'm getting it on both my boxes).

As an aside, is there a way to get VDR messages to stay on screen a little bit longer. I have a caller id script passing information to vdr, however, it flashes on the screen so quick I can't read it..
fixed after https://github.com/opdenkamp/xbmc/commit...e2a5771387

you should post your vdr question in another topic.
That error is fixed, but I have a new one. When trying to open an hdpvr channel (pvrinput h264 file) I now get this:

Code:
16:09:44 T:3023533952 M:1858412544   DEBUG: LIRC: Update - NEW at 219086:00000000003ff3a3 00 OK SKY+_DVB-S (OK)
16:09:44 T:3023533952 M:1858412544   DEBUG: OnKey: 11 (0b) pressed, action is Select
16:09:44 T:3023533952 M:1858412544   DEBUG: new file set audiostream:0
16:09:44 T:3023533952 M:1858269184   DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/all/41.pvr)
16:09:44 T:3023533952 M:1858269184   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
16:09:44 T:3023533952 M:1858494464   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
16:09:44 T:3023533952 M:1858240512   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
16:09:44 T:3023533952 M:1858240512   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
16:09:44 T:3023533952 M:1858240512   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
16:09:44 T:3023533952 M:1858240512   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
16:09:44 T:3023533952 M:1858240512   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
16:09:44 T:3023533952 M:1856913408  NOTICE: DVDPlayer: Opening: pvr://channels/tv/all/41.pvr
16:09:44 T:3023533952 M:1856913408 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:09:44 T:2861894512 M:1856913408   DEBUG: thread start, auto delete: 0
16:09:44 T:2861894512 M:1856913408  NOTICE: Creating InputStream
16:09:44 T:2861894512 M:1856913408   DEBUG: PVRManager - OpenLiveStream - opening live stream on channel '16-WTVODT2_(WTVO-DT2) MyNetworkTV_Affiliate hdpvr'
16:09:44 T:3023533952 M:1855668224   DEBUG: ------ Window Init (DialogBusy.xml) ------
16:09:44 T:3023533952 M:1855668224   DEBUG: Alloc resources: 0.01ms (0.00 ms skin load)
16:09:45 T:2861894512 M:1850732544   ERROR: AddOnLog: xbmc.pvrclient/VDR VNSI Client: cVNSISession::readData - Detected connection closed
16:09:45 T:2861894512 M:1850732544   ERROR: AddOnLog: xbmc.pvrclient/VDR VNSI Client: Lost connection to VNSI Server
16:09:46 T:2861894512 M:1865347072   ERROR: AddOnLog: xbmc.pvrclient/VDR VNSI Client: ERROR: VNSI Data Listener thread 12852 won't end (waited 1 seconds) - canceling it...
16:09:46 T:3023533952 M:1863548928   DEBUG: ADDON: cpluff: 'Plug-in metadata.amazon.com has been uninstalled.'
16:09:46 T:3023533952 M:1863548928   DEBUG: ADDON: cpluff: 'Plug-in metadata.tv.movieplayer.it has been uninstalled.'
16:09:46 T:3023533952 M:1863548928   DEBUG: ADDON: cpluff: 'Plug-in script.games.rom.collection.browser has been uninstalled.'
16:09:46 T:3023533952 M:1863548928   DEBUG: ADDON: cpluff: 'Plug-in metadata.albums.allmusic.com has been uninstalled.'
16:09:46 T:3023533952 M:1863548928   DEBUG: ADDON: cpluff: 'Plug-in script.module.cryptopy has been uninstalled.'
16:09:46 T:3023533952 M:1863548928   DEBUG: ADDON: cpluff: 'Plug-in repository.xbmc.org has been uninstalled.'
And XBMC dies..

If I leave the plugin as is, and go back to xbmc-antiquated (with the same vdr plugin) all is ok.. (Plugin is the latest too).
VDR Log says:
Code:
Feb  8 16:14:03 oac vdr: [10979] cPvrDevice::SetPid 301 = On
Feb  8 16:14:03 oac vdr: [10979] cPvrDevice::SetPid 300 = On
Feb  8 16:14:03 oac vdr: [10979] cPvrDevice::SetPid 305 = On
Feb  8 16:14:03 oac vdr: [10979] VNSI: Successfully switched to channel 2016 - 16-WTVODT2_(WTVO-DT2) MyNetworkTV_Affiliate svideo
Feb  8 16:14:03 oac vdr: [10979] VNSI: Started streaming of channel 2016 - 16-WTVODT2_(WTVO-DT2) MyNetworkTV_Affiliate svideo
Feb  8 16:14:03 oac vdr: [10981] receiver on device 10 thread started (pid=7892, tid=10981)
Feb  8 16:14:03 oac vdr: [10981] entering cPvrDevice::OpenDvr: Dvr of /dev/video1 (PVR500#1) is closed
Feb  8 16:14:03 oac vdr: [10981] entering cPvrDevice::CloseDvr: Dvr of /dev/video1 (PVR500#1) is closed
Feb  8 16:14:03 oac vdr: [10981] cPvrDevice::ResetBuffering(): tsBuffer prefill = 314524 for /dev/video1 (PVR500#1)
Feb  8 16:14:03 oac vdr: [10981] channel is external input.
Feb  8 16:14:03 oac vdr: [10981] ExternChannelSwitch: calling /etc/vdr/plugins/pvrinput/externchannelswitch.sh 10160 2016 1 160
Feb  8 16:14:03 oac vdr: [10980] cLiveStreamer stream processor thread started (pid=7892, tid=10980)
Feb  8 16:14:05 oac vdr: [10979] VNSI-Error: cxSocket::read: read() error at 0/4
Feb  8 16:14:05 oac vdr: [10589] VNSI-Error: cxSocket::read: read() error at 0/4
Feb  8 16:14:05 oac vdr: [10980] VNSI-Error: cxSocket::write: write() error
Feb  8 16:14:05 oac vdr: [10980] cLiveStreamer stream processor thread ended (pid=7892, tid=10980)
Feb  8 16:14:05 oac vdr: [10979] cPvrDevice::SetPid 301 = Off
Feb  8 16:14:05 oac vdr: [10979] cPvrDevice::SetPid 300 = Off
Feb  8 16:14:05 oac vdr: [10979] cPvrDevice::SetPid 305 = Off
Feb  8 16:14:05 oac vdr: [10979] buffer stats: 0 (0%) used
Feb  8 16:14:05 oac vdr: [10981] ExternChannelSwitch: returned from /etc/vdr/plugins/pvrinput/externchannelswitch.sh 10160 2016 1 160
Feb  8 16:14:05 oac vdr: [10981] ExternChannelSwitch: sleeping for 3 seconds...
Feb  8 16:14:08 oac vdr: [10981] ExternChannelSwitch: waking up
Feb  8 16:14:08 oac vdr: [10981] cPvrDevice::SetInput on /dev/video1 (PVR500#1) to 1
Feb  8 16:14:08 oac vdr: [10981] SetVideoSize: nothing to do: height=480, CurrentHeight=480
Feb  8 16:14:08 oac vdr: [10981] cPvrDevice::OpenDvr: create new readThread on /dev/video1 (PVR500#1)
Feb  8 16:14:08 oac vdr: [10981] cPvrReadThread
Feb  8 16:14:08 oac vdr: [10981] entering cPvrDevice::CloseDvr: Dvr of /dev/video1 (PVR500#1) is open
Feb  8 16:14:08 oac vdr: [10981] cPvrDevice::StopReadThread on /dev/video1 (PVR500#1): read thread exists, delete it
Feb  8 16:14:08 oac vdr: [10981] ~cPvrReadThread
Feb  8 16:14:08 oac vdr: [11006] PvrReadThread of /dev/video1 thread started (pid=7892, tid=11006)
Feb  8 16:14:08 oac vdr: [11006] cPvrReadThread::Action(): Entering Action()
Feb  8 16:14:08 oac vdr: [11006] cPvrReadThread::OpenMpegFd: /dev/video1 successfully opened
Feb  8 16:14:08 oac vdr: [11006] SetVBImode(525, 0) on /dev/video1 (PVR500#1)
Feb  8 16:14:08 oac vdr: [11006] cPvrReadThread::Action() stopped on /dev/video1
Feb  8 16:14:08 oac vdr: [11006] PvrReadThread of /dev/video1 thread ended (pid=7892, tid=11006)
Feb  8 16:14:08 oac vdr: [10981] receiver on device 10 thread ended (pid=7892, tid=10981)
Feb  8 16:14:08 oac vdr: [7959] VNSI: Client with ID 9 seems to be disconnected, removing from client list
Feb  8 16:14:08 oac vdr: [7959] VNSI: cConnection::~cConnection()
Feb  8 16:14:08 oac vdr: [7959] VNSI: stopping cConnection thread ...
Feb  8 16:14:08 oac vdr: [7959] VNSI: done
Feb  8 16:14:08 oac vdr: [7959] VNSI: Client with ID 10 seems to be disconnected, removing from client list
Feb  8 16:14:08 oac vdr: [7959] VNSI: cConnection::~cConnection()
Feb  8 16:14:08 oac vdr: [7959] VNSI: stopping cConnection thread ...
Feb  8 16:14:08 oac vdr: [7959] VNSI: done

ATSC Channels seem to work. PVRInput and IPTV don't..
there are also issues on windows builds due to the renaming of some files. The VisualStudio files didn't get updated reflecting the new pathes and filenames. I fixed it on my local repo already, but as I also merge xbmc master frequently I can't provide a clean patch I think (not too familiar with git yet).
if someone sends me a (clean!) pull request, I'll update it. otherwise you'll have to wait until I accidently hit the wrong grub option so that windows boots ;-)
I'm preparing a clean patch - currently testing the compile with latest revision.
How can I send a pull request? Do I have to register for this somewhere (github I suppose, or will my XBMC credentials work for the requests). Any dokus about that you can point me to? Thanks.
now that's really motivating people to contribute, isn't it?
I know how to google, but maybe you would have had a link at hand because you yourself already went through that process.
the first result from that google query explains it all (which is a direct link to the github help).
thanks. Seems like I have to create a own repo/fork first which is in my eyes pretty much overhead just for providing a simple patch. I would have hoped to be able to send the pull requests directly from my local repo like it's possible for another project I'm contributing to, using a special URI, but haven't found any information about it (yet).
Well, then it has to wait until I have some more time left (compiling failed anyway and first need to examine the reason).
sorry, can't provide a patch. I still get compiling errors, probably due to missing includes or duplicate includes or whatever. I'm no c++ developer and google didn't help, so I can't fix it.

I get error messages like this (translated by me):
Quote:XBMC\Release (DirectX)\objs\GUIWindowPVR.obj : warning LNK4042: Objekt defined several times; additional objects get ignored.
Application.obj : error LNK2001: Unresolved external symbol/link ""public: __thiscall CGUIWindowPVR::CGUIWindowPVR(void)" (??0CGUIWindowPVR@@QAE@XZ)".

My first guess is that Application.h misses the include of the GUIWindowPVR headers, but they are included. I'm out of guesses and as I said - google didn't help so far.
Pages: 1 2