Page 3 of 30 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 297

Thread: HowTo: Install the very latest MPlayer under Jaunty Jackalope

  1. #21
    Join Date
    Apr 2007
    Location
    UK
    Beans
    189
    Distro
    Ubuntu 11.04 Natty Narwhal

    Talking Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Thanks, very useful thread!
    -KVarley
    -Proud member of the Linux Foundation

  2. #22
    Join Date
    Jul 2006
    Location
    on the bleeding edge
    Beans
    1,011

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi! I'm trying to follow this guide but i'm failing at the x264 bit... i'm sure i did some kind of goof since i'm not really familiar with compiling stuff


    Code:
    MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  common/set.c -MT common/set.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  common/quant.c -MT common/quant.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  common/vlc.c -MT common/vlc.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  encoder/analyse.c -MT encoder/analyse.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  encoder/me.c -MT encoder/me.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  encoder/ratecontrol.c -MT encoder/ratecontrol.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  encoder/set.c -MT encoder/set.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  encoder/macroblock.c -MT encoder/macroblock.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  encoder/cabac.c -MT encoder/cabac.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  encoder/cavlc.c -MT encoder/cavlc.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  encoder/encoder.c -MT encoder/encoder.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  common/visualize.c -MT common/visualize.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  common/display-x11.c -MT common/display-x11.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  common/x86/mc-c.c -MT common/x86/mc-c.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  common/x86/predict-c.c -MT common/x86/predict-c.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  x264.c -MT x264.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  matroska.c -MT matroska.o -MM -g0 1>> .depend;  gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer  muxers.c -MT muxers.o -MM -g0 1>> .depend;
    gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer   -c -o encoder/set.o encoder/set.c
    gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer   -c -o common/display-x11.o common/display-x11.c
    common/display-x11.c:21:22: error: X11/Xlib.h: No such file or directory
    common/display-x11.c:22:23: error: X11/Xutil.h: No such file or directory
    common/display-x11.c:28: error: ‘ConfigureNotify’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘ExposureMask’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘KeyPressMask’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘ButtonPressMask’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘StructureNotifyMask’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘ResizeRedirectMask’ undeclared here (not in a function)
    common/display-x11.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    common/display-x11.c:33: error: expected specifier-qualifier-list before ‘Window’
    common/display-x11.c: In function ‘disp_chkerror’:
    common/display-x11.c:39: warning: implicit declaration of function ‘abort’
    common/display-x11.c:39: warning: incompatible implicit declaration of built-in function ‘abort’
    common/display-x11.c: In function ‘disp_init_display’:
    common/display-x11.c:43: error: ‘Visual’ undeclared (first use in this function)
    common/display-x11.c:43: error: (Each undeclared identifier is reported only once
    common/display-x11.c:43: error: for each function it appears in.)
    common/display-x11.c:43: error: ‘visual’ undeclared (first use in this function)
    common/display-x11.c:48: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:50: warning: implicit declaration of function ‘XOpenDisplay’
    common/display-x11.c:52: warning: implicit declaration of function ‘DefaultScreen’
    common/display-x11.c:53: warning: implicit declaration of function ‘DefaultVisual’
    common/display-x11.c:55: warning: implicit declaration of function ‘DefaultDepth’
    common/display-x11.c:56: error: ‘TrueColor’ undeclared (first use in this function)
    common/display-x11.c:59: error: ‘PseudoColor’ undeclared (first use in this function)
    common/display-x11.c: In function ‘disp_init_window’:
    common/display-x11.c:64: error: ‘XSizeHints’ undeclared (first use in this function)
    common/display-x11.c:64: error: ‘shint’ undeclared (first use in this function)
    common/display-x11.c:65: error: ‘XSetWindowAttributes’ undeclared (first use in this function)
    common/display-x11.c:65: error: expected ‘;’ before ‘xswa’
    common/display-x11.c:66: error: ‘XEvent’ undeclared (first use in this function)
    common/display-x11.c:66: error: expected ‘;’ before ‘xev’
    common/display-x11.c:67: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:68: error: ‘Visual’ undeclared (first use in this function)
    common/display-x11.c:68: error: ‘visual’ undeclared (first use in this function)
    common/display-x11.c:72: error: ‘Window’ undeclared (first use in this function)
    common/display-x11.c:72: error: expected ‘;’ before ‘window’
    common/display-x11.c:80: warning: implicit declaration of function ‘XAllocSizeHints’
    common/display-x11.c:84: error: ‘PSize’ undeclared (first use in this function)
    common/display-x11.c:84: error: ‘PMinSize’ undeclared (first use in this function)
    common/display-x11.c:84: error: ‘PMaxSize’ undeclared (first use in this function)
    common/display-x11.c:88: warning: implicit declaration of function ‘WhitePixel’
    common/display-x11.c:89: warning: implicit declaration of function ‘BlackPixel’
    common/display-x11.c:92: error: ‘CWColormap’ undeclared (first use in this function)
    common/display-x11.c:93: error: ‘xswa’ undeclared (first use in this function)
    common/display-x11.c:93: warning: implicit declaration of function ‘XCreateColormap’
    common/display-x11.c:93: warning: implicit declaration of function ‘DefaultRootWindow’
    common/display-x11.c:93: error: ‘AllocNone’ undeclared (first use in this function)
    common/display-x11.c:97: error: ‘Always’ undeclared (first use in this function)
    common/display-x11.c:99: error: ‘NorthWestGravity’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBackPixel’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBorderPixel’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBackingStore’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBackingPlanes’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBitGravity’ undeclared (first use in this function)
    common/display-x11.c:101: error: ‘window’ undeclared (first use in this function)
    common/display-x11.c:101: warning: implicit declaration of function ‘XCreateWindow’
    common/display-x11.c:103: error: ‘InputOutput’ undeclared (first use in this function)
    common/display-x11.c:104: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c:106: warning: implicit declaration of function ‘XSelectInput’
    common/display-x11.c:107: warning: implicit declaration of function ‘XSetStandardProperties’
    common/display-x11.c:107: error: ‘None’ undeclared (first use in this function)
    common/display-x11.c:108: warning: implicit declaration of function ‘XMapWindow’
    common/display-x11.c:110: warning: implicit declaration of function ‘XNextEvent’
    common/display-x11.c:110: error: ‘xev’ undeclared (first use in this function)
    common/display-x11.c:111: error: ‘MapNotify’ undeclared (first use in this function)
    common/display-x11.c:114: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c:116: warning: implicit declaration of function ‘XResizeWindow’
    common/display-x11.c:117: warning: implicit declaration of function ‘XSync’
    common/display-x11.c:118: warning: implicit declaration of function ‘XFree’
    common/display-x11.c: In function ‘disp_sync’:
    common/display-x11.c:122: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c: In function ‘disp_setcolor’:
    common/display-x11.c:127: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:127: error: expected ‘;’ before ‘gc’
    common/display-x11.c:128: error: ‘XColor’ undeclared (first use in this function)
    common/display-x11.c:128: error: expected ‘;’ before ‘c_exact’
    common/display-x11.c:129: error: ‘Colormap’ undeclared (first use in this function)
    common/display-x11.c:129: error: expected ‘;’ before ‘cm’
    common/display-x11.c:130: error: ‘Status’ undeclared (first use in this function)
    common/display-x11.c:130: error: expected ‘;’ before ‘st’
    common/display-x11.c:132: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:133: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:133: warning: implicit declaration of function ‘DefaultGC’
    common/display-x11.c:134: error: ‘cm’ undeclared (first use in this function)
    common/display-x11.c:134: warning: implicit declaration of function ‘DefaultColormap’
    common/display-x11.c:135: error: ‘st’ undeclared (first use in this function)
    common/display-x11.c:135: warning: implicit declaration of function ‘XAllocNamedColor’
    common/display-x11.c:135: error: ‘c_nearest’ undeclared (first use in this function)
    common/display-x11.c:135: error: ‘c_exact’ undeclared (first use in this function)
    common/display-x11.c:137: warning: implicit declaration of function ‘XSetForeground’
    common/display-x11.c: In function ‘disp_gray’:
    common/display-x11.c:141: error: ‘Visual’ undeclared (first use in this function)
    common/display-x11.c:141: error: ‘visual’ undeclared (first use in this function)
    common/display-x11.c:142: error: ‘XImage’ undeclared (first use in this function)
    common/display-x11.c:142: error: ‘ximage’ undeclared (first use in this function)
    common/display-x11.c:149: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:149: error: expected ‘;’ before ‘gc’
    common/display-x11.c:154: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:157: warning: implicit declaration of function ‘XCreateImage’
    common/display-x11.c:157: error: ‘ZPixmap’ undeclared (first use in this function)
    common/display-x11.c:160: error: ‘LSBFirst’ undeclared (first use in this function)
    common/display-x11.c:163: error: ‘MSBFirst’ undeclared (first use in this function)
    common/display-x11.c:173: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:177: warning: implicit declaration of function ‘XPutImage’
    common/display-x11.c:177: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c:181: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c:183: warning: implicit declaration of function ‘XDestroyImage’
    common/display-x11.c: In function ‘disp_gray_zoom’:
    common/display-x11.c:198: warning: pointer targets in passing argument 2 of ‘disp_gray’ differ in signedness
    common/display-x11.c:199: warning: implicit declaration of function ‘free’
    common/display-x11.c:199: warning: incompatible implicit declaration of built-in function ‘free’
    common/display-x11.c: In function ‘disp_point’:
    common/display-x11.c:204: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:204: error: expected ‘;’ before ‘gc’
    common/display-x11.c:205: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:206: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:207: warning: implicit declaration of function ‘XDrawPoint’
    common/display-x11.c:207: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c: In function ‘disp_line’:
    common/display-x11.c:213: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:213: error: expected ‘;’ before ‘gc’
    common/display-x11.c:214: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:215: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:216: warning: implicit declaration of function ‘XDrawLine’
    common/display-x11.c:216: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c: In function ‘disp_rect’:
    common/display-x11.c:222: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:222: error: expected ‘;’ before ‘gc’
    common/display-x11.c:223: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:225: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:226: warning: implicit declaration of function ‘XDrawRectangle’
    common/display-x11.c:226: error: ‘struct disp_window’ has no member named ‘window’
    make: *** [common/display-x11.o] Error 1
    Code:
    khaal@Xeraphim:~/x264$ sudo checkinstall --fstrans=no --install=yes --pakdir "$HOME/Desktop" \
    > --maintainer "$USER" --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`-0.0ubuntu1" \
    > --backup=no --deldoc=yes --deldesc=yes --delspec=yes --gzman --default
    
    checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
               This software is released under the GNU GPL.
    
    
    
    *****************************************
    **** Debian package creation selected ***
    *****************************************
    
    This package will be built according to these values: 
    
    0 -  Maintainer: [ khaal ]
    1 -  Summary: [ Package created with checkinstall 1.6.1 ]
    2 -  Name:    [ x264 ]
    3 -  Version: [ 1:0.svn20090303-0.0ubuntu1 ]
    4 -  Release: [ 1 ]
    5 -  License: [ GPL ]
    6 -  Group:   [ checkinstall ]
    7 -  Architecture: [ amd64 ]
    8 -  Source location: [ x264 ]
    9 -  Alternate source location: [  ]
    10 - Requires: [  ]
    11 - Provides: [ x264 ]
    
    Enter a number to change any of them or press ENTER to continue: 
    
    Installing with make...Installing with install...
    
    ========================= Installation results ===========================
    gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer   -c -o x264.o x264.c
    gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer   -c -o muxers.o muxers.c
    gcc -O4 -ffast-math  -Wall -I. -DVISUALIZE=1 -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86_64 -DSYS_LINUX -fPIC -s -fomit-frame-pointer   -c -o common/display-x11.o common/display-x11.c
    common/display-x11.c:21:22: error: X11/Xlib.h: No such file or directory
    common/display-x11.c:22:23: error: X11/Xutil.h: No such file or directory
    common/display-x11.c:28: error: ‘ConfigureNotify’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘ExposureMask’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘KeyPressMask’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘ButtonPressMask’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘StructureNotifyMask’ undeclared here (not in a function)
    common/display-x11.c:28: error: ‘ResizeRedirectMask’ undeclared here (not in a function)
    common/display-x11.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    common/display-x11.c:33: error: expected specifier-qualifier-list before ‘Window’
    common/display-x11.c: In function ‘disp_chkerror’:
    common/display-x11.c:39: warning: implicit declaration of function ‘abort’
    common/display-x11.c:39: warning: incompatible implicit declaration of built-in function ‘abort’
    common/display-x11.c: In function ‘disp_init_display’:
    common/display-x11.c:43: error: ‘Visual’ undeclared (first use in this function)
    common/display-x11.c:43: error: (Each undeclared identifier is reported only once
    common/display-x11.c:43: error: for each function it appears in.)
    common/display-x11.c:43: error: ‘visual’ undeclared (first use in this function)
    common/display-x11.c:48: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:50: warning: implicit declaration of function ‘XOpenDisplay’
    common/display-x11.c:52: warning: implicit declaration of function ‘DefaultScreen’
    common/display-x11.c:53: warning: implicit declaration of function ‘DefaultVisual’
    common/display-x11.c:55: warning: implicit declaration of function ‘DefaultDepth’
    common/display-x11.c:56: error: ‘TrueColor’ undeclared (first use in this function)
    common/display-x11.c:59: error: ‘PseudoColor’ undeclared (first use in this function)
    common/display-x11.c: In function ‘disp_init_window’:
    common/display-x11.c:64: error: ‘XSizeHints’ undeclared (first use in this function)
    common/display-x11.c:64: error: ‘shint’ undeclared (first use in this function)
    common/display-x11.c:65: error: ‘XSetWindowAttributes’ undeclared (first use in this function)
    common/display-x11.c:65: error: expected ‘;’ before ‘xswa’
    common/display-x11.c:66: error: ‘XEvent’ undeclared (first use in this function)
    common/display-x11.c:66: error: expected ‘;’ before ‘xev’
    common/display-x11.c:67: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:68: error: ‘Visual’ undeclared (first use in this function)
    common/display-x11.c:68: error: ‘visual’ undeclared (first use in this function)
    common/display-x11.c:72: error: ‘Window’ undeclared (first use in this function)
    common/display-x11.c:72: error: expected ‘;’ before ‘window’
    common/display-x11.c:80: warning: implicit declaration of function ‘XAllocSizeHints’
    common/display-x11.c:84: error: ‘PSize’ undeclared (first use in this function)
    common/display-x11.c:84: error: ‘PMinSize’ undeclared (first use in this function)
    common/display-x11.c:84: error: ‘PMaxSize’ undeclared (first use in this function)
    common/display-x11.c:88: warning: implicit declaration of function ‘WhitePixel’
    common/display-x11.c:89: warning: implicit declaration of function ‘BlackPixel’
    common/display-x11.c:92: error: ‘CWColormap’ undeclared (first use in this function)
    common/display-x11.c:93: error: ‘xswa’ undeclared (first use in this function)
    common/display-x11.c:93: warning: implicit declaration of function ‘XCreateColormap’
    common/display-x11.c:93: warning: implicit declaration of function ‘DefaultRootWindow’
    common/display-x11.c:93: error: ‘AllocNone’ undeclared (first use in this function)
    common/display-x11.c:97: error: ‘Always’ undeclared (first use in this function)
    common/display-x11.c:99: error: ‘NorthWestGravity’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBackPixel’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBorderPixel’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBackingStore’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBackingPlanes’ undeclared (first use in this function)
    common/display-x11.c:100: error: ‘CWBitGravity’ undeclared (first use in this function)
    common/display-x11.c:101: error: ‘window’ undeclared (first use in this function)
    common/display-x11.c:101: warning: implicit declaration of function ‘XCreateWindow’
    common/display-x11.c:103: error: ‘InputOutput’ undeclared (first use in this function)
    common/display-x11.c:104: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c:106: warning: implicit declaration of function ‘XSelectInput’
    common/display-x11.c:107: warning: implicit declaration of function ‘XSetStandardProperties’
    common/display-x11.c:107: error: ‘None’ undeclared (first use in this function)
    common/display-x11.c:108: warning: implicit declaration of function ‘XMapWindow’
    common/display-x11.c:110: warning: implicit declaration of function ‘XNextEvent’
    common/display-x11.c:110: error: ‘xev’ undeclared (first use in this function)
    common/display-x11.c:111: error: ‘MapNotify’ undeclared (first use in this function)
    common/display-x11.c:114: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c:116: warning: implicit declaration of function ‘XResizeWindow’
    common/display-x11.c:117: warning: implicit declaration of function ‘XSync’
    common/display-x11.c:118: warning: implicit declaration of function ‘XFree’
    common/display-x11.c: In function ‘disp_sync’:
    common/display-x11.c:122: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c: In function ‘disp_setcolor’:
    common/display-x11.c:127: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:127: error: expected ‘;’ before ‘gc’
    common/display-x11.c:128: error: ‘XColor’ undeclared (first use in this function)
    common/display-x11.c:128: error: expected ‘;’ before ‘c_exact’
    common/display-x11.c:129: error: ‘Colormap’ undeclared (first use in this function)
    common/display-x11.c:129: error: expected ‘;’ before ‘cm’
    common/display-x11.c:130: error: ‘Status’ undeclared (first use in this function)
    common/display-x11.c:130: error: expected ‘;’ before ‘st’
    common/display-x11.c:132: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:133: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:133: warning: implicit declaration of function ‘DefaultGC’
    common/display-x11.c:134: error: ‘cm’ undeclared (first use in this function)
    common/display-x11.c:134: warning: implicit declaration of function ‘DefaultColormap’
    common/display-x11.c:135: error: ‘st’ undeclared (first use in this function)
    common/display-x11.c:135: warning: implicit declaration of function ‘XAllocNamedColor’
    common/display-x11.c:135: error: ‘c_nearest’ undeclared (first use in this function)
    common/display-x11.c:135: error: ‘c_exact’ undeclared (first use in this function)
    common/display-x11.c:137: warning: implicit declaration of function ‘XSetForeground’
    common/display-x11.c: In function ‘disp_gray’:
    common/display-x11.c:141: error: ‘Visual’ undeclared (first use in this function)
    common/display-x11.c:141: error: ‘visual’ undeclared (first use in this function)
    common/display-x11.c:142: error: ‘XImage’ undeclared (first use in this function)
    common/display-x11.c:142: error: ‘ximage’ undeclared (first use in this function)
    common/display-x11.c:149: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:149: error: expected ‘;’ before ‘gc’
    common/display-x11.c:154: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:157: warning: implicit declaration of function ‘XCreateImage’
    common/display-x11.c:157: error: ‘ZPixmap’ undeclared (first use in this function)
    common/display-x11.c:160: error: ‘LSBFirst’ undeclared (first use in this function)
    common/display-x11.c:163: error: ‘MSBFirst’ undeclared (first use in this function)
    common/display-x11.c:173: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:177: warning: implicit declaration of function ‘XPutImage’
    common/display-x11.c:177: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c:181: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c:183: warning: implicit declaration of function ‘XDestroyImage’
    common/display-x11.c: In function ‘disp_gray_zoom’:
    common/display-x11.c:198: warning: pointer targets in passing argument 2 of ‘disp_gray’ differ in signedness
    common/display-x11.c:199: warning: implicit declaration of function ‘free’
    common/display-x11.c:199: warning: incompatible implicit declaration of built-in function ‘free’
    common/display-x11.c: In function ‘disp_point’:
    common/display-x11.c:204: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:204: error: expected ‘;’ before ‘gc’
    common/display-x11.c:205: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:206: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:207: warning: implicit declaration of function ‘XDrawPoint’
    common/display-x11.c:207: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c: In function ‘disp_line’:
    common/display-x11.c:213: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:213: error: expected ‘;’ before ‘gc’
    common/display-x11.c:214: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:215: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:216: warning: implicit declaration of function ‘XDrawLine’
    common/display-x11.c:216: error: ‘struct disp_window’ has no member named ‘window’
    common/display-x11.c: In function ‘disp_rect’:
    common/display-x11.c:222: error: ‘GC’ undeclared (first use in this function)
    common/display-x11.c:222: error: expected ‘;’ before ‘gc’
    common/display-x11.c:223: error: ‘disp_display’ undeclared (first use in this function)
    common/display-x11.c:225: error: ‘gc’ undeclared (first use in this function)
    common/display-x11.c:226: warning: implicit declaration of function ‘XDrawRectangle’
    common/display-x11.c:226: error: ‘struct disp_window’ has no member named ‘window’
    make: *** [common/display-x11.o] Error 1
    
    ****  Installation failed. Aborting package creation.
    
    Cleaning up...OK
    
    Bye.
    
    khaal@Xeraphim:~/x264$

  3. #23
    Join Date
    Dec 2006
    Beans
    6,922

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi KhaaL,

    Good news is that I have just updated x264 with no problems so there is no problem with x264 itself. A little housekeeping on your x264 files may help, try:

    Code:
    $ sudo chown -R $USER:$USER ~/x264
    $ cd ~/x264
    $ make clean
    $ git pull
    And then run the ./configure options / make etc as before. Hopefully this will straighten out the issue. If not delete the ~/x264 directory and all of its contents and start from scratch.

    Edit: As I have suggested by private mail it may be required or some 64bit systems to also run this option with configure:

    Code:
    ./configure --prefix=/usr --enable-shared --enable-visualize --enable-pic
    Some details of this can be seen here. If can get some confirmation that this is required on 64bit systems I will add this as a footnote to the x264 section.


    All the best,

    Andrew
    Last edited by andrew.46; March 4th, 2009 at 04:47 AM.
    You think that's air you're breathing now?

  4. #24
    Join Date
    Dec 2006
    Beans
    6,922

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi again,

    On closer examination:

    Code:
    common/display-x11.c:21:22: error: X11/Xlib.h: No such file or directory
    Try losing the --enable-visualize option, or better still installing the MPlayer -dev files first (which should install the required file).

    Edit: Before I submerge for another spell of night work I have removed the --enable-visualize option for x264 which I suspect was always going to be more trouble than it is worth.

    Andrew
    Last edited by andrew.46; March 4th, 2009 at 10:17 AM.
    You think that's air you're breathing now?

  5. #25
    Join Date
    Sep 2007
    Location
    /dev/null/
    Beans
    1,589

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    SVN broke some types of MPEG1/2 VDPAU playback - devs have been reported to the problem.

    Also NVIDIA have resolved some VDPAU issues in their drivers which will be in the next release from NVIDIA. This apparently fixes coloured macroblock artifacting in some VC1 and AVC streams.
    He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

  6. #26
    Join Date
    Jul 2006
    Location
    on the bleeding edge
    Beans
    1,011

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Thanks for the updated guide, now it compiles successfully on my 64bit system! what I did was to download the all codecs package and overwrote its files with the 3 files provided with the 64bit package. it dont seem to have vpdau enabled though but playback is incredibly much more smoother... I've just tested it quickly though, will test it more throughly later tonight. Nullack, can you direct me to the announcement of the broken vdpau in mplayer?

  7. #27
    Join Date
    Sep 2007
    Location
    /dev/null/
    Beans
    1,589

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    You need the vdpau dev files installed for enabling VDPAU video out - check the output of ./configure to confirm mplayers build script is picking it up.
    He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

  8. #28
    Join Date
    Feb 2009
    Beans
    124

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi everyone mencoder wasn't allowing me to continue the installation of mplayer. Everything went fine compiling, building. So i uninstalled the current mencoder version and the installation went fine mplayer is running great

    But now
    Code:
    sudo dpkg --configure -a
    gives this

    Code:
    dpkg: dependency problems prevent configuration of devede:
     devede depends on mencoder; however:
      Package mencoder is not installed.
    dpkg: error processing devede (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of acidrip:
     acidrip depends on mencoder; however:
      Package mencoder is not installed.
    dpkg: error processing acidrip (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     devede
     acidrip
    when actually mencoder is installed along with mplayer!

    thx
    nehad

    EDIT: I've the uninstalled this version and back to repo as for now

    thx
    Last edited by n3had; March 5th, 2009 at 07:42 AM. Reason: REinstalled

  9. #29
    Join Date
    Sep 2007
    Location
    /dev/null/
    Beans
    1,589

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    When you compile with make, you get both mplayer and mencoder binaries.
    He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

  10. #30
    Join Date
    Dec 2006
    Beans
    6,922

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi n3had,

    Quote Originally Posted by n3had View Post
    Code:
    Package mencoder is not installed.
    Unfortunately ubuntu splits MPlayer into a bunch of different packages and one is Mencoder. This guide does not artificially split MPlayer in this way so there will be a packaging problem which will probably remain. It would be possible to compile twice disabling compilation of MPlayer and the MEncoder in turn and produce 2 packages with numbering systems to defeat the Ubuntu packaging numbers but that is all starting to get a little silly.

    Sorry about that.

    Andrew
    You think that's air you're breathing now?

Page 3 of 30 FirstFirst 1234513 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •