No, it should be like this: /* Compatibility for older kernel typedef __u16 __le16 */
I tried it your way and that did not work. So do a make clean, make, make install. And be sure then to copy the pwc.ko to the /lib/modules/.... tree .... do a find /lib/modules -name pwc.ko to locate the old one and replace it. The lsmod pwc, modprobe pwc. Peter --- Erik Jakobsen <[EMAIL PROTECTED]> wrote: > Hi Peter. > > I just packed the package out, and ran a make. > > Is it like this You mean ? > > /* Compatibility for older kernel */ > /* typedef __u16 __le16 */ > > > The change gave this running make: > > > pwc-10.0.12-rc1]# make > make -C /lib/modules/2.6.9-42.cc/build > SUBDIRS=/opt/pwc-10.0.12-rc1 modules > make: *** /lib/modules/2.6.9-42.cc/build: No such > file or directory. Stop. > make: *** [all] Error 2 > > > Erik > > > P.S., another one sent me an email directly where he > suggested me to > install the kernel devel as per: > > apt-get install kernel-devel > > I did it, but it was before I changed Your > suggestion. > > I havent tried it after, as I uninstalled the devel > due to it at this > point wasn't the culprit. > > > > Peter Baitz wrote: > > Did you apply this fix before compiling? > > > > Edit the pwc_ioctl.h file and change these lines > to > > look like this (comment the typedef line inside > the > > same comment as the Compatibility wording): > > > > /* Compatibility ... > > typedef _u16 ... > > */ > > > > Then do your make, make install, etc. > > > > Peter > > > > --- Giuseppe Castagna <[EMAIL PROTECTED]> > > wrote: > > > > > >> Erik Jakobsen wrote: > >> > >>> Hi. > >>> > >>> I have had PWC to work since many years, but now > I > >>> > >> have installed a new > >> > >>> server, and 'm getting this when I run make: > >>> > >>> pwc-10.0.12-rc1]# make > >>> make -C /lib/modules/2.6.9-42.cc/build > >>> > >> SUBDIRS=/opt/pwc-10.0.12-rc1 modules > >> > >>> make: *** /lib/modules/2.6.9-42.cc/build: No > such > >>> > >> file or directory. Stop. > >> > >>> make: *** [all] Error 2 > >>> > >>> > >>> What causes this, and how can I get rid of it ? > >>> > >>> > >> It is very likely that > >> /lib/modules/2.6.9-42.cc/build is a broken > symbolic > >> link. It should be somethink like > >> ../../../usr/src/<some path> > >> > >> Beppe > >> _______________________________________________ > >> pwc mailing list > >> [email protected] > >> http://lists.saillard.org/mailman/listinfo/pwc > >> > >> > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > _______________________________________________ > > pwc mailing list > > [email protected] > > http://lists.saillard.org/mailman/listinfo/pwc > > > > > > > > -- > Med venlig hilsen / Best regards > Erik Jakobsen > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ pwc mailing list [email protected] http://lists.saillard.org/mailman/listinfo/pwc
