By Date: <-- -->
By Thread: <-- -->

Can't compile V4LCVS due to missing OSS file? (Ubuntu Dapper)



sean erswell wrote:

Try as I might to get my Haupaugge HVR 1100 to work under ubuntu (works out of the box on FC5, RR4, Kororaa, and SUSE 10.1) I finally tracked down a howto to build the latest V4L2 drivers.

http://linuxtv.org/repo/

So I followed the guide and it fails the make with the following output:

Code:

make[2]: Entering directory `/usr/src/linux-headers-2.6.15-21-386' CC [M] /home/sean/v4l-dvb/v4l/miropcm20-rds-core.o /home/sean/v4l-dvb/v4l/miropcm20-rds-core.c:27:36: error: ../../../sound/oss/aci.h: No such file or directory /home/sean/v4l-dvb/v4l/miropcm20-rds-core.c: In function 'rds_waitread': /home/sean/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: 'RDS_REGISTER' undeclared (first use in this function) /home/sean/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: (Each undeclared identifier is reported only once /home/sean/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: for each function it appears in.) /home/sean/v4l-dvb/v4l/miropcm20-rds-core.c: In function 'rds_rawwrite_nowait': /home/sean/v4l-dvb/v4l/miropcm20-rds-core.c:108: error: 'RDS_REGISTER' undeclared (first use in this function) make[3]: *** [/home/sean/v4l-dvb/v4l/miropcm20-rds-core.o] Error 1 make[2]: *** [_module_/home/sean/v4l-dvb/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-21-386' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/sean/v4l-dvb/v4l' make: *** [all] Error 2


Seems like some OSS file is missing? Any ideas anyone?

Go on... make a grown man cry with happiness

Sean-

This is a symptom of the "newly renovated" build system. -- Search the mailing list archives for the official explanation... You are sure to find tons of emails from people with the same problem.

Since I doubt that you are actually interested in the 'why' , here is the 'how' :


make distclean && make allmodconfig && make make install

... if that doesnt work, then do this:

make distclean
make -C /lib/modules/`uname -r`/build menuconfig
{exit without selecting anything}
make menuconfig
{select the drivers that you need}
make
make install

...if that still doesnt work, then you'll need to make sure that you have the kernel headers installed on your system:

apt-get install linux-headers

...if all the above fails, then search the archives again -- This question has already been answered more than once. ;-)

I hope this helps,

Mike


-- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list