try to install mplayer to watch M$'s stream such as *.avi, *.asx, *.*.wvm all the junks on the internet.
downloaded mplayer, read doc, doc said would be nice if i have this and that (like bunutil, xfree86, lame, directfb, etc)
installed most of the software which was required from mandrake update and mandrake install. and found don't have directfb, so went to
www.directfb.org and download.
./configure, it said was missing some libraries, then found out i need the <library verson> -devel.rpm packages w/ *.h header in order for compiler to recongizes, so got that fixed, and run ./configure again, everything looking good.
so i go: make
at the beginning everything looks good, alot of yes and yes and yes, then at the last few lines, i got this:
idirectfbvideoprovider_v4l.c: In function `v4l_stop':
idirectfbvideoprovider_v4l.c:1005: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1005: (Each undeclared identifier is reported only once
idirectfbvideoprovider_v4l.c:1005: for each function it appears in.)
idirectfbvideoprovider_v4l.c: In function `wait_for_buffer':
idirectfbvideoprovider_v4l.c:1096: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c: In function `V4L2_Thread':
idirectfbvideoprovider_v4l.c:1123: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1141: structure has no member named `m'
idirectfbvideoprovider_v4l.c: In function `v4l2_playto':
idirectfbvideoprovider_v4l.c:1267: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1272: structure has no member named `field'
idirectfbvideoprovider_v4l.c:1272: `V4L2_FIELD_INTERLACED' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1302: structure has no member named `memory'
idirectfbvideoprovider_v4l.c:1302: `V4L2_MEMORY_MMAP' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1307: structure has no member named `memory'
idirectfbvideoprovider_v4l.c:1307: `V4L2_MEMORY_OVERLAY' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1309: incompatible types in assignment
idirectfbvideoprovider_v4l.c:1354: structure has no member named `m'
make[3]: *** [idirectfbvideoprovider_v4l.lo] Error 1
make[3]: Leaving directory `/home/allen/downloads/DirectFB-0.9.20/interfaces/IDirectFBVideoProvider'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/allen/downloads/DirectFB-0.9.20/interfaces'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/allen/downloads/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2
not exactly sure what i went wrong, believe ./configure went pretty good because i did put all the stuff it was asked for, and ./configure had no complain (it asked for png, mpeg,..etc)
i know it will be alot easier if i do found rpm packages, but while looking for rpm, i'd like to learn how compile , make, make install, because i do intend to write open programs for the linux world. learning how to compile works, and to get it works on my machine would be my first step.
thank you