/home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.c:785: error: ‘struct proc_dir_entry’ has no member named ‘owner’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Compiled 2.6.30 from kernel.org on Fedora 10, Intel 536 Modem

Predictive  diagnostics for card in bus 00:0b.0:
        Modem chipset  detected on
NAME="Communication controller: Intel Corporation 536EP Data Fax Modem"
CLASS=0780
PCIDEV=8086:1040
SUBSYS=8086:1000
IRQ=19
IDENT=INTEL536EP

 For candidate modem in:  00:0b.0
   0780 Communication controller: Intel Corporation 536EP Data Fax Modem
      Primary device ID:  8086:1040
 Support type needed or chipset:        INTEL536EP

Driver fails to build

[olivares@blackP4 intel-536EP-2.56.76.0]$ make clean
cd coredrv; make clean
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
rm: cannot remove `.tmp_versions/Intel536.mod': Permission denied
make[1]: *** [clean] Error 1
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
make: *** [clean] Error 2
[olivares@blackP4 intel-536EP-2.56.76.0]$ su -c 'make clean'
Password:
cd coredrv; make clean
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.o *.ko
[olivares@blackP4 intel-536EP-2.56.76.0]$ make clean
cd coredrv; make clean
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.o *.ko
[olivares@blackP4 intel-536EP-2.56.76.0]$ su -c 'make clean'
Password:
cd coredrv; make clean
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.o *.ko
[olivares@blackP4 intel-536EP-2.56.76.0]$ su -c 'make 536'
Password:
   Module precompile check
   Current running kernel is: 2.6.30
   /lib/modules...   autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
   autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
   version.h matches running kernel
uname -r|grep "2.6" && \
        cd coredrv && make 536core_26 && \
        cp Intel536.ko .. && cd .. && \
        strip --strip-debug Intel536.ko && \
        exit; \
        ls Intel536.ko >/dev/null 2>&1 ||  uname -r | grep "2.6" &&
echo "Failed to build driver" && exit; \
        if [  ]; then \
        cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH=
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
        else \
        cd coredrv; make TARGET=TARGET_SELAH
KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
       "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
        fi ; \
        cp Intel536.o .. ; \
        if [ -a /boot/vmlinuz.version.h ]; then \
        cp /boot/vmlinuz.version.h /lib/modules/`uname
-r`/build/include/linux/version.h;\
        fi
2.6.30
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
make -C /lib/modules/2.6.30/build
SUBDIRS=/home/olivares/Download/intel-536EP-2.56.76.0/coredrv modules
make[2]: Entering directory `/home/olivares/Download/linux-2.6.30'
  CC [M]  /home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.o
/home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.c: In
function ‘create_hamproc’:
/home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.c:785:
error: ‘struct proc_dir_entry’ has no member named ‘owner’
make[3]: *** [/home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.o]
Error 1
make[2]: *** [_module_/home/olivares/Download/intel-536EP-2.56.76.0/coredrv]
Error 2
make[2]: Leaving directory `/home/olivares/Download/linux-2.6.30'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
2.6.30
Failed to build driver
[olivares@blackP4 intel-536EP-2.56.76.0]$

Thanks,

Antonio


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux