Kodi Community Forum

Full Version: Stable source compilation on Fedora 15 fails
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi to all.

Not able to compile stable XBMC 10.1 from http://mirrors.xbmc.org/releases/source/...0.1.tar.gz on Fedora 15 (kernel 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC 2011).

After ./bootstrap and ./configure success, make fails ending with:

gcc -o ../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so -shared -fPIC -rdynamic --soname, \
../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so -Wl,-Bsymbolic \
ffmpeg/libavutil/*.o `cat ../../DllLoader/exports/wrapper.def` ../../DllLoader/exports/wrapper.o
gcc: error: unrecognized option ‘--soname,../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so’
make[1]: *** [../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so] Error 1
make[1]: Leaving directory `/home/me/Desktop/xbmc/xbmc/cores/dvdplayer/Codecs'
make: *** [dvdpcodecs] Error 2

If I run make directly in the xbmc/xbmc/cores/dvdplayer/Codecs directory, output is:

# make
make -C ffmpeg
make[1]: Entering directory `/home/me/Desktop/xbmc/xbmc/cores/dvdplayer/Codecs/ffmpeg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/me/Desktop/xbmc/xbmc/cores/dvdplayer/Codecs/ffmpeg'
gcc -o ../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so -shared -fPIC -rdynamic --soname,../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so -Wl,-Bsymbolic \
ffmpeg/libavutil/*.o `cat ../../DllLoader/exports/wrapper.def` ../../DllLoader/exports/wrapper.o
gcc: error: unrecognized option ‘--soname,../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so’
make: *** [../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so] Error 1

avutil library is here:
# ls -l /usr/lib64/libavutil*
-rwxr-xr-x. 1 root root 107504 Jul 1 23:40 /usr/lib64/libavutil.so.50.41.0
lrwxrwxrwx. 1 root root 20 Sep 18 23:15 /usr/lib64/libavutil.so.50 -> libavutil.so.50.41.0

Any suggestions?
OK nobody cares. So another question:

Can I meet here guy(s) who generated the 'xbmc-10.1-1.fc14.x86_64' package available on RPMfusion repo Huh?

I decided to compile my own binary because XBMC installed using this package does not work properly - XBMC freezes user desktop after EXIT. Details upon request ....

Edit: XBMC behaves really strange. If none or some other application than terminal is running on desktop (GNOME) and /usr/bin/xbmc is started/exited, screen gets black until user logs in trough CLI (text console, ssh) and kills process xbmc.bin:

Code:
# ps axl | grep xbmc
0   500  4236     1  20   0 108296  1492 wait   S    ?          0:00 /bin/sh /usr/bin/xbmc
4   500  4245  4236  20   0 1201276 60568 pause Sl   ?          0:05 /usr/lib64/xbmc/xbmc.bin
# kill -9 4245

But if terminal application is running and /usr/bin/xbmc is started/exited, crash occurs (exit code 134) and user gets desktop immediately back.

Code:
### XBMC CRASH LOG ###
### SYSTEM INFO ###
Date: Sun Sep 25 17:56:40 CEST 2011
XBMC Options:
Arch: x86_64
Kernel: Linux 2.6.35.14-96.fc14.x86_64 #1 SMP Thu Sep 1 11:59:56 UTC 2011
Release:
    LSB Version:    :core-4.0-amd64:core-4.0-noarch
    Distributor ID:    Fedora
    Description:    Fedora release 14 (Laughlin)
    Release:    14
    Codename:    Laughlin
### END SYSTEM INFO ###
### STACK TRACE ###
=====>  Core file: /home/me/core.10324 (2011-09-25 17:56:39.719843482 +0200)
[New Thread 10324]
[New Thread 10360]
[Thread debugging using libthread_db enabled]
Core was generated by `/usr/lib64/xbmc/xbmc.bin'.
Program terminated with signal 6, Aborted.
#0  0x0000003c6fa330c5 in raise () from /lib64/libc.so.6
Thread 2 (Thread 0x7febeaffd700 (LWP 10360)):
#0  0x0000003c6fad7283 in poll () from /lib64/libc.so.6
#1  0x0000003c8420808a in ?? () from /usr/lib64/libavahi-common.so.3
#2  0x0000003c84207b8b in avahi_simple_poll_run () from /usr/lib64/libavahi-common.so.3
#3  0x0000003c84207d68 in avahi_simple_poll_iterate () from /usr/lib64/libavahi-common.so.3
#4  0x0000003c84207f9d in avahi_simple_poll_loop () from /usr/lib64/libavahi-common.so.3
#5  0x0000003c8420801c in ?? () from /usr/lib64/libavahi-common.so.3
#6  0x0000003c6fe06ccb in start_thread () from /lib64/libpthread.so.0
#7  0x0000003c6fae0c2d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fec08abb8e0 (LWP 10324)):
#0  0x0000003c6fa330c5 in raise () from /lib64/libc.so.6
#1  0x0000003c6fa34a76 in abort () from /lib64/libc.so.6
#2  0x0000003c6fa2b905 in __assert_fail () from /lib64/libc.so.6
#3  0x0000003c7364ce23 in ?? () from /usr/lib64/libX11.so.6
#4  0x0000003c7364dac0 in _XReply () from /usr/lib64/libX11.so.6
#5  0x0000003c7363aedd in XQueryExtension () from /usr/lib64/libX11.so.6
#6  0x0000003c7362e7d4 in XInitExtension () from /usr/lib64/libX11.so.6
#7  0x0000003c7460e072 in XextAddDisplay () from /usr/lib64/libXext.so.6
#8  0x0000003c83664d70 in ?? () from /usr/lib64/catalyst/libGL.so.1
#9  0x00007fec01391bd5 in ?? () from /usr/lib64/dri/fglrx_dri.so
#10 0x0000003c8363806e in ?? () from /usr/lib64/catalyst/libGL.so.1
#11 0x0000003c8363835b in glXDestroyContext () from /usr/lib64/catalyst/libGL.so.1
#12 0x0000003c77e3c5d2 in ?? () from /usr/lib64/libSDL-1.2.so.0
#13 0x0000003c77e4070e in ?? () from /usr/lib64/libSDL-1.2.so.0
#14 0x0000003c77e40917 in ?? () from /usr/lib64/libSDL-1.2.so.0
#15 0x0000003c77e2ff72 in SDL_VideoQuit () from /usr/lib64/libSDL-1.2.so.0
#16 0x0000003c77e08145 in SDL_QuitSubSystem () from /usr/lib64/libSDL-1.2.so.0
#17 0x0000003c77e081fe in SDL_Quit () from /usr/lib64/libSDL-1.2.so.0
#18 0x0000003c6fa369f1 in exit () from /lib64/libc.so.6
#19 0x0000000000954c50 in CApplicationMessenger::ProcessMessage(ThreadMessage*) ()
#20 0x0000000000956ff2 in CApplicationMessenger::ProcessMessages() ()
#21 0x00000000007260c0 in CApplication::Process() ()
#22 0x0000000000af1ba4 in CGUIWindowManager::Process(bool) ()
#23 0x0000000000aad0ac in CGUIDialog::DoModal_Internal(int, CStdStr<char> const&) ()
#24 0x000000000095491a in CApplicationMessenger::ProcessMessage(ThreadMessage*) ()
#25 0x0000000000952693 in CApplicationMessenger::SendMessage(ThreadMessage&, bool) ()
#26 0x0000000000953392 in CApplicationMessenger::DoModal(CGUIDialog*, int, CStdStr<char> const&) ()
#27 0x0000000000af4f9e in CGUIWindowManager::ActivateWindow_Internal(int, std::vector<CStdStr<char>, std::allocator<CStdStr<char> > > const&, bool) ()
#28 0x00000000006553a6 in CBuiltins::Execute(CStdStr<char> const&) ()
#29 0x000000000072bb50 in CApplication::ExecuteXBMCAction(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#30 0x000000000072be88 in CApplication::ExecuteAction(CGUIActionDescriptor) ()
#31 0x000000000072c585 in CApplication::OnMessage(CGUIMessage&) ()
#32 0x0000000000af30f3 in CGUIWindowManager::SendMessage(CGUIMessage&) ()
#33 0x0000000000a922cf in CGUIButtonControl::OnClick() ()
#34 0x0000000000a90df1 in CGUIButtonControl::OnAction(CAction const&) ()
#35 0x0000000000a914ef in CGUIButtonControl::OnMouseEvent(CPoint const&, CMouseEvent const&) ()
#36 0x0000000000a97571 in CGUIControl::SendMouseEvent(CPoint const&, CMouseEvent const&) ()
#37 0x0000000000aa909b in CGUIControlGroup::SendMouseEvent(CPoint const&, CMouseEvent const&) ()
#38 0x0000000000aa909b in CGUIControlGroup::SendMouseEvent(CPoint const&, CMouseEvent const&) ()
#39 0x0000000000aa909b in CGUIControlGroup::SendMouseEvent(CPoint const&, CMouseEvent const&) ()
#40 0x0000000000aeb3f8 in CGUIWindow::OnMouseAction(CAction const&) ()
#41 0x0000000000aeb44b in CGUIWindow::OnAction(CAction const&) ()
#42 0x0000000000af307b in CGUIWindowManager::OnAction(CAction const&) ()
#43 0x0000000000728d8b in CApplication::OnAction(CAction const&) ()
#44 0x0000000000729d4f in CApplication::ProcessMouse() ()
#45 0x000000000072b5ed in CApplication::OnEvent(XBMC_Event&) ()
#46 0x00000000009b79ae in CWinEventsSDL::MessagePump() ()
#47 0x000000000072e181 in CApplication::FrameMove() ()
#48 0x000000000096efd9 in CXBApplicationEx::Run() ()
#49 0x000000000096f658 in main ()
### END STACK TRACE ###
### LOG FILE ###
........
15:56:35 T:140651734481120 M:3169484800  NOTICE: Storing total System Uptime
15:56:35 T:140651734481120 M:3169484800  NOTICE: Saving settings
15:56:35 T:140651734481120 M:3169484800  NOTICE: stop all
15:56:35 T:140651734481120 M:3169484800  NOTICE: ES: Stopping event server
15:56:35 T:140651734481120 M:3169484800  NOTICE: stopping zeroconf publishing
15:56:36 T:140651545442048 M:3169501184  NOTICE: ES: UDP Event server stopped
15:56:36 T:140651253462784 M:3169501184  NOTICE: DS: DBUS server stopped
15:56:36 T:140651734481120 M:3169501184  NOTICE: stop dvd detect media
15:56:36 T:140651734481120 M:3169501184  NOTICE: stop sap announcement listener
15:56:36 T:140651734481120 M:3169501184  NOTICE: clean cached files!
15:56:36 T:140651734481120 M:3169501184  NOTICE: unload skin
15:56:38 T:140651734481120 M:3169325056  NOTICE: stop python
15:56:38 T:140651734481120 M:3169325056  NOTICE: stopped
15:56:38 T:140651734481120 M:3169325056  NOTICE: destroy
15:56:38 T:140651734481120 M:3169325056  NOTICE: unload sections
### END LOG FILE ###
### END XBMC CRASH LOG ###
Any explanation?