* Trouble compiling driver in PClinuxOS
@ 2008-02-12 3:41 Muppet Man
2008-02-12 15:06 ` CityK
2008-02-17 17:00 ` Antti Palosaari
0 siblings, 2 replies; 3+ messages in thread
From: Muppet Man @ 2008-02-12 3:41 UTC (permalink / raw)
To: video4linux-list
Greetings all,
I am having trouble compiling the latest v4l-dvb in order to get my pinnicale pci card to work. I am running PClinuxOS 2007. I have downloaded the latest tree, mkdir v4l-dvb extracted the tz file to that folder, went into root mode and got this error when I make the file
make -C /home/ed/v4l-dvb/v4l
make[1]: Entering directory `/home/ed/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.18.8.tex5/build
make -C /lib/modules/2.6.18.8.tex5/build SUBDIRS=/home/ed/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-2.6.18.8.tex5'
CC [M] /home/ed/v4l-dvb/v4l/videodev.o
/home/ed/v4l-dvb/v4l/videodev.c:491: error: unknown field 'dev_attrs' specified in initializer
/home/ed/v4l-dvb/v4l/videodev.c:491: warning: initialization from incompatible pointer type
/home/ed/v4l-dvb/v4l/videodev.c:492: error: unknown field 'dev_release' specified in initializer
/home/ed/v4l-dvb/v4l/videodev.c:492: warning: missing braces around initializer
/home/ed/v4l-dvb/v4l/videodev.c:492: warning: (near initialization for 'video_class.subsys')
/home/ed/v4l-dvb/v4l/videodev.c:492: warning: initialization from incompatible pointer type
make[3]: *** [/home/ed/v4l-dvb/v4l/videodev.o] Error 1
make[2]: *** [_module_/home/ed/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.18.8.tex5'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/ed/v4l-dvb/v4l'
I know this driver works because I had it running under ubuntu, but I heard so much about PClinuxOS that I thought I would give it a shot.
Any help would be greatly appreciated.
Ed
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Trouble compiling driver in PClinuxOS
2008-02-12 3:41 Trouble compiling driver in PClinuxOS Muppet Man
@ 2008-02-12 15:06 ` CityK
2008-02-17 17:00 ` Antti Palosaari
1 sibling, 0 replies; 3+ messages in thread
From: CityK @ 2008-02-12 15:06 UTC (permalink / raw)
To: Muppet Man; +Cc: video4linux-list
Muppet Man wrote:
> Greetings all,
> I am having trouble compiling the latest v4l-dvb in order to get my pinnicale pci card to work. I am running PClinuxOS 2007. I have downloaded the latest tree, mkdir v4l-dvb extracted the tz file to that folder, went into root mode and got this error when I make the file
>
> make -C /home/ed/v4l-dvb/v4l
> make[1]: Entering directory `/home/ed/v4l-dvb/v4l'
> creating symbolic links...
> Kernel build directory is /lib/modules/2.6.18.8.tex5/build
> make -C /lib/modules/2.6.18.8.tex5/build SUBDIRS=/home/ed/v4l-dvb/v4l modules
> make[2]: Entering directory `/usr/src/linux-2.6.18.8.tex5'
> CC [M] /home/ed/v4l-dvb/v4l/videodev.o
> /home/ed/v4l-dvb/v4l/videodev.c:491: error: unknown field 'dev_attrs' specified in initializer
> /home/ed/v4l-dvb/v4l/videodev.c:491: warning: initialization from incompatible pointer type
> /home/ed/v4l-dvb/v4l/videodev.c:492: error: unknown field 'dev_release' specified in initializer
> /home/ed/v4l-dvb/v4l/videodev.c:492: warning: missing braces around initializer
> /home/ed/v4l-dvb/v4l/videodev.c:492: warning: (near initialization for 'video_class.subsys')
> /home/ed/v4l-dvb/v4l/videodev.c:492: warning: initialization from incompatible pointer type
> make[3]: *** [/home/ed/v4l-dvb/v4l/videodev.o] Error 1
> make[2]: *** [_module_/home/ed/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.18.8.tex5'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/ed/v4l-dvb/v4l'
>
> I know this driver works because I had it running under ubuntu, but I heard so much about PClinuxOS that I thought I would give it a shot.
>
> Any help would be greatly appreciated.
See:
http://www.linuxtv.org/wiki/index.php/How_to_install_DVB_device_drivers#Case_2:_Installation_of_LinuxTV_Drivers_Required
Also note that, as shown in the instructions, you should be building as
"user" (denoted by the $ .... i.e. "$ make" ), then install as "root"
(which, in the instructions, is achieved through "sudo make install"
...... if the instructions called for being the root user all along,
then the cli prompt would be denoted by a #, and there would, of course,
be no need for the use of a "sudo" .... sudo allows one to invoke the
superuser's privileges in respect to performing some command i.e. "sudo
command".
In any regard, building as root user will generally work, BUT you are
exposing yourself to the risk/potential of introducing system changes
that could very easily vary from being entirely benign to entirely
destabilizing ... [dirty harry mode] being that this is root, the most
powerful user in the Linux world, and will blow your installation clean
off, you gotta ask yourself a question --- do I feel lucky? .... Well do
you punk?[/dirty harry mode]
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Trouble compiling driver in PClinuxOS
2008-02-12 3:41 Trouble compiling driver in PClinuxOS Muppet Man
2008-02-12 15:06 ` CityK
@ 2008-02-17 17:00 ` Antti Palosaari
1 sibling, 0 replies; 3+ messages in thread
From: Antti Palosaari @ 2008-02-17 17:00 UTC (permalink / raw)
To: Muppet Man; +Cc: video4linux-list, Jussi Torhonen
heis
This same error occurs with CentOS 5.1 i386 (32-bit). Solution can be
found from:
http://mysettopbox.tv/phpBB2/viewtopic.php?p=105504
Please fix.
regards
Antti
Muppet Man wrote:
> Greetings all,
> I am having trouble compiling the latest v4l-dvb in order to get my pinnicale pci card to work. I am running PClinuxOS 2007. I have downloaded the latest tree, mkdir v4l-dvb extracted the tz file to that folder, went into root mode and got this error when I make the file
>
> make -C /home/ed/v4l-dvb/v4l
> make[1]: Entering directory `/home/ed/v4l-dvb/v4l'
> creating symbolic links...
> Kernel build directory is /lib/modules/2.6.18.8.tex5/build
> make -C /lib/modules/2.6.18.8.tex5/build SUBDIRS=/home/ed/v4l-dvb/v4l modules
> make[2]: Entering directory `/usr/src/linux-2.6.18.8.tex5'
> CC [M] /home/ed/v4l-dvb/v4l/videodev.o
> /home/ed/v4l-dvb/v4l/videodev.c:491: error: unknown field 'dev_attrs' specified in initializer
> /home/ed/v4l-dvb/v4l/videodev.c:491: warning: initialization from incompatible pointer type
> /home/ed/v4l-dvb/v4l/videodev.c:492: error: unknown field 'dev_release' specified in initializer
> /home/ed/v4l-dvb/v4l/videodev.c:492: warning: missing braces around initializer
> /home/ed/v4l-dvb/v4l/videodev.c:492: warning: (near initialization for 'video_class.subsys')
> /home/ed/v4l-dvb/v4l/videodev.c:492: warning: initialization from incompatible pointer type
> make[3]: *** [/home/ed/v4l-dvb/v4l/videodev.o] Error 1
> make[2]: *** [_module_/home/ed/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.18.8.tex5'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/ed/v4l-dvb/v4l'
>
> I know this driver works because I had it running under ubuntu, but I heard so much about PClinuxOS that I thought I would give it a shot.
>
> Any help would be greatly appreciated.
> Ed
--
http://palosaari.fi/
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-17 17:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12 3:41 Trouble compiling driver in PClinuxOS Muppet Man
2008-02-12 15:06 ` CityK
2008-02-17 17:00 ` Antti Palosaari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox