Failed to Open /dev/rtc : Resource Busy Mplayer Fatal :(

Discussion in 'Open Source' started by Satissh S, Feb 3, 2006.

Thread Status:
Not open for further replies.
  1. Satissh S

    Satissh S New Member

    Joined:
    Mar 23, 2005
    Messages:
    692
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai , India
    Code:
    Detected operating system: Linux
    Detected host architecture: i386
    Checking for cc version ... 3.3.4, ok
    Checking for host cc ... cc
    Checking for CPU vendor ... GenuineIntel (15:3:4)
    Checking for CPU type ...  Intel(R) Pentium(R) 4 CPU 3.00GHz
    Checking for GCC & CPU optimization abilities ... pentium4
    Checking for kernel support of mmx ... yes
    Checking for kernel support of mmx2 ... yes
    Checking for kernel support of sse ... yes
    Checking for kernel support of sse2 ... yes
    Checking for mtrr support ... yes
    Checking for assembler support of -pipe option ... yes
    Checking for Linux kernel version ... 2.4.26, ok
    Checking for mplayer binary name ... mplayer
    Checking for awk ... gawk
    Checking for extra headers ... none
    Checking for extra libs ... none
    Checking for -lposix ... no
    Checking for -lm ... yes
    Checking for i18n ... yes
    Checking for iconv ... yes
    Checking for langinfo ... yes
    Checking for language ... using en (man pages:  en)
    Checking for enable sighandler ... yes
    Checking for runtime cpudetection ... no
    Checking for restrict keyword ... __restrict
    Checking for __builtin_expect ... yes
    Checking for kstat ... no
    Checking for posix4 ... no
    Checking for lrintf ... yes
    Checking for nanosleep ... yes
    Checking for socklib ... yes (using -lnsl)
    Checking for inet_pton() ... yes (using -lnsl)
    Checking for inttypes.h (required) ... yes
    Checking for int_fastXY_t in inttypes.h ... yes
    Checking for word size ... 32
    Checking for stddef.h ... yes
    Checking for malloc.h ... yes
    Checking for memalign() ... yes
    Checking for alloca.h ... yes
    Checking for mman.h ... yes
    Checking for dynamic loader ... yes
    Checking for dynamic a/v plugins support ... no
    Checking for pthread ... yes (using -lpthread)
    Checking for sys/soundcard.h ... yes
    Checking for sys/dvdio.h ... no
    Checking for sys/cdio.h ... no
    Checking for linux/cdrom.h ... yes
    Checking for dvd.h ... no
    Checking for BSDI dvd.h ... no
    Checking for HPUX SCSI header ... no
    Checking for userspace SCSI headers (Solaris) ... no
    Checking for termcap ... yes (using -ltermcap)
    Checking for termios ... yes (using sys/termios.h)
    Checking for shm ... yes
    Checking for linux devfs ... no
    Checking for scandir() ... yes
    Checking for strsep() ... yes
    Checking for strlcpy() ... no
    Checking for strlcat() ... no
    Checking for fseeko() ... yes
    Checking for localtime_r() ... yes
    Checking for vsscanf() ... yes
    Checking for swab() ... yes
    Checking for posix select() ... yes
    Checking for gettimeofday() ... yes
    Checking for glob() ... yes
    Checking for sys/sysinfo.h ... yes
    Checking for Mac OS X APIs ... no
    Checking for Mac OS X Finder Support ... no
    Checking for Mac OS X Bundle file locations ... no
    Checking for Samba support (libsmbclient) ... yes
    Checking for 3dfx ... no
    Checking for tdfxfb ... no
    Checking for tdfxvid ... no
    Checking for tga ... yes
    Checking for DirectFB headers presence ... not found
    Checking for DirectFB ... no
    Checking for X11 headers presence ... yes (using /usr/X11/include)
    Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
    Checking for X11 ... yes
    Checking for DPMS ... yes (using Xdpms 4)
    Checking for Xv ... yes
    Checking for XvMC ... no
    Checking for Xinerama ... yes
    Checking for Xxf86vm ... yes
    Checking for XF86keysym ... yes
    Checking for DGA ... yes (using DGA 2.0)
    Checking for OpenGL ... yes
    Checking for /dev/mga_vid ... yes
    Checking for xmga ... yes
    Checking for GGI ... no
    Checking for AA ... yes
    Checking for CACA ... yes
    Checking for SVGAlib ... yes
    Checking for FBDev ... yes
    Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
    Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) with --with-dvbincdir=DIR)
    Checking for PNG support ... yes
    Checking for JPEG support ... yes
    Checking for PNM support ... yes
    Checking for md5sum support ... yes
    Checking for GIF support ... yes
    Checking for broken giflib workaround ... disabled
    Checking for VESA support ... yes
    Checking for SDL ... yes (using sdl-config)
    Checking for Windows waveout ... no
    Checking for Directx ... no
    Checking for NAS ... no
    Checking for DXR2 ... no
    Checking for DXR3/H+ ... no
    Checking for libmp1e ... no
    Checking for libfame ... no
    Checking for OSS Audio ... yes
    Checking for aRts ... no
    Checking for EsounD ... yes
    Checking for esd_get_latency() ... yes
    Checking for Polyp ... no
    Checking for JACK ... no
    Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
    Checking for Sun audio ... no
    Checking for Sun mediaLib ... no
    Checking for SGI audio ... no
    Checking for VCD support ... ok
    Checking for DVD support (libmpdvdkit) ... yes
    Checking for DVD support (libdvdread) ... disabled by libmpdvdkit2
    Checking for cdparanoia ... yes
    Checking for freetype >= 2.0.9 ... yes
    Checking for fontconfig ... yes
    Checking for fribidi with charsets ... no
    Checking for ENCA ... no
    Checking for zlib ... yes
    Checking for RTC ... yes
    Checking for external liblzo support ... no
    Checking for mad support ... yes
    Checking for Toolame ... no
    Checking for OggVorbis support ... yes (internal Tremor)
    Checking for OggTheora support (only the CVS version!) ... no
    Checking for mp3lib support ... yes
    Checking for liba52 support ... yes
    Checking for libdts support ... no
    Checking for libmpeg2 support ... yes
    Checking for Matroska support ... yes
    Checking for internal FAAD2 (AAC) support ... yes
    Checking for external FAAD2 (AAC) support ... no
    Checking for LADSPA plugin support ... no
    Checking for Win32 codec DLL support ... yes (using /usr/local/lib/codecs)
    Checking for Win32 loader support ... yes
    Checking for DirectShow ... yes
    Checking for XAnim DLL ... yes (using /usr/local/lib/codecs)
    Checking for RealPlayer DLL ... yes (using /usr/local/lib/codecs)
    Checking for LIVE.COM Streaming Media libraries ... no
    Checking for FFmpeg libavcodec (static) ... yes
    Checking for FFmpeg libavformat (static) ... yes
    Checking for amr narrowband ... no 
    Checking for amr narrowband, fixed point ... no 
    Checking for amr wideband ... no 
    Checking for libdv-0.9.5+ ... no
    Checking for zr ... no
    Checking for bl ... no
    Checking for XviD ... no
    Checking for x264 ... no
    Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
    Checking for libmp3lame (for mencoder) ... no
    Checking for DivX4linux encore (for mencoder) ... no
    Checking for mencoder ... yes
    Checking for fastmemcpy ... yes
    Checking for UniquE RAR File Library ... yes
    Checking for TV interface ... yes
    Checking for EDL support ... yes
    Checking for *BSD BrookTree 848 TV interface ... no
    Checking for Video 4 Linux TV interface ... yes
    Checking for Video 4 Linux 2 TV interface ... yes
    Checking for audio select() ... yes
    Checking for network ... yes
    Checking for ftp ... yes
    Checking for vstream client ... no
    Checking for byte order ... little-endian
    Checking for shared postprocess lib ... no
    Checking for OSD menu ... no
    Checking for QTX codecs ... yes
    Checking for Subtitles sorting ... yes
    Checking for XMMS inputplugin support ... no
    Checking for inet6 ... yes
    Checking for gethostbyname2 ... yes
    Checking for GUI ... yes
    Checking for XShape extension ... yes
    Checking for GTK version ... 1.2.10 (using gtk-config)
    Checking for glib version ... 1.2.10 (using glib-config)
    Creating Gui/config.mak
    Checking for automatic gdb attach ... no
    Checking for compiler support for -fno-PIC ... yes
    Checking for ftello() ... yes
    Checking for VIDIX ... yes
    Checking for joystick ... no
    Checking for lirc ... no
    Checking for lircc ... no
    Creating config.mak
    Creating config.h
    Creating libvo/config.mak
    Creating libao2/config.mak
    Creating libaf/config.mak
    
    Config files successfully generated by ./configure !
    
      Install prefix: /usr/local
      Data directory: /usr/local/share/mplayer
      Config direct.: /usr/local/etc/mplayer
    
      Byte order: little-endian
      Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr
    
      Languages:
        Messages/GUI: en
        Manual pages:  en
    
      Enabled optional drivers:
        Input: ftp network tv-v4l2 tv-v4l edl tv matroska cdda mpdvdkit2 vcd smb 
        Codecs: qtx libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 liba52 mp3lib tremor(internal) libmad gif 
        Audio output: alsa esd oss sdl mpegpes(file) 
        Video output: xvidix cvidix sdl vesa gif89a md5sum pnm jpeg png mpegpes(file) fbdev svga caca aa xmga mga opengl dga xv x11 xover tga 
        Audio filters: 
      Disabled optional drivers:
        Input: vstream tv-bsdbt848 live.com dvdread dvb 
        Codecs: opendivx x264 xvid libdv amr_wb amr_nb libdts libtheora toolame liblzo 
        Audio output: sgi sun jack polyp arts dxr2 nas dsound win32 macosx 
        Video output: winvidix bl zr zr2 dxr3 dxr2 directx ggi xvmc directfb tdfx_vid tdfxfb 3dfx quartz 
        Audio filters: ladspa 
    
    'config.h' and 'config.mak' contain your configuration options.
    Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
          compile *** DO NOT REPORT BUGS if you tweak these files ***
    
    'make' will now compile MPlayer and 'make install' will install it.
    Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
    
    Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)
    
    
    Check configure.log if you wonder why an autodetection failed (check whether
    the development headers/packages are installed).
    
    If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
    
    I have installed the Win32 dll files and codecs and skins. However it runs from command line. I compiled and made mplayer with gui support, when i try to run mplayer with
    #gmplayer
    i get the following errors,
    [​IMG]
    [​IMG]
    [​IMG]
    I have compiled it on a 2.4 kernel, however i'm gonna install a new 2.6 kernel, may be it'll work then.
     
  2. OP
    OP
    Satissh S

    Satissh S New Member

    Joined:
    Mar 23, 2005
    Messages:
    692
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai , India
    Ah! No difference, same with 2.6.12 kernel :(

    Edit (1) : Done !! I had to just create a symlink to the truetype fonts and download and specify a skin. Swweeet!!
     
  3. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    what graphics card do you have? run mplayer (not gmplayer) from a terminal and post the output it gives in there. also post your gui.conf. it should be in .mplayer directory in your home.

    i don't think rtc should be your problem here. just to make sure, run it with "-nortc" option.
     
  4. OP
    OP
    Satissh S

    Satissh S New Member

    Joined:
    Mar 23, 2005
    Messages:
    692
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai , India
    Got it working, No probs. Just had to specify
    gmplayer -skin <skin name> and had to add the skins to
    $HOME/.mplayer/Skins .
    I previously thot may'be any dep probs, but it was just simple. Thanks :)
     
  5. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Do keep posting ur problems satish it might be helpful to me when making my LFS.
     
  6. OP
    OP
    Satissh S

    Satissh S New Member

    Joined:
    Mar 23, 2005
    Messages:
    692
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai , India
    Installed Xine, Mplayer, xmms, Vlc in one Full Stretch. Vlc was the most dreaded of the lot. Gave me nightmares for almost 2 hrs (./configure kep failing) , b4 i tamed the beast. :lol:
    Take a look at here, the entire configure script for configuring it.

    :shock:
     
  7. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Yup VLC is the worst. As a newbie, long time back, I had tried to manually install it on my Fedora 2. Hours of fultile effort. BTW, you sticking to LFS or moving to BLFS or ELFS or custominsing as per your needs?
     
  8. OP
    OP
    Satissh S

    Satissh S New Member

    Joined:
    Mar 23, 2005
    Messages:
    692
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai , India
    I'am not gonna follow any order now, just gonna experiment a lot, without screwing my system too much.
    BLFS and ELFS seem to be mostly references. I'am simply skipping ahead. It had a fat GNOMe, KDE and X-Section.
    As i had some knowledge of configuring X previously, that helped a lot.
     
Thread Status:
Not open for further replies.

Share This Page