wrote:
Today's Topics:
1. Re: pwc.ko silently fails to build in latest FC4 kernel
Seems, that the kernel source is not configured. After installing a fedora
core 4, update the distro with yum, install gcc, and the kernel-devel.i686
(release 2.6.16-1.2069_FC4)
Just enter into the directory /lib/modules/`uname -r`/source/
# cd /lib/modules/`uname -r`/source/
# make oldconfig
# cd .../pwc/
# make
Note the pwc driver install do not erase the previously driver. So you must
check after loading the module, the version number.
I did this, and *make oldconfig* seemed to finish OK. Then going to the
pwc-10.0.10 directory, *make* had errors:
pwc-10.0.10]# make
make -C /lib/modules/2.6.16-1.2069_FC4/source SUBDIRS=/root/pwc-10.0.10
modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2069_FC4-i686'
CC [M] /root/pwc-10.0.10/pwc-if.o
/root/pwc-10.0.10/pwc-if.c:116: error: unknown field ‘owner’ specified
in initializer
/root/pwc-10.0.10/pwc-if.c:116: warning: initialization from
incompatible pointer type
make[2]: *** [/root/pwc-10.0.10/pwc-if.o] Error 1
make[1]: *** [_module_/root/pwc-10.0.10] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2069_FC4-i686'
make: *** [default] Error 2
pwc-10.0.10]#
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|