Re: Installation problem with openSUSE 11.1, intel-536EP-2.56.76.0

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

 



Patrick,

There is an update from Philippe which I will send you separately,
It compiles OK on why kernel-version 2.6.27 system.

MarvS

On Sun, Jan 11, 2009 at 6:52 PM, Patrick Schneider
<patrick.schneider@xxxxxxxxxxxx> wrote:
> Hi, when I run the command: make 536 I get the following errors.
>
> Module precompile check
> Current running kernel is: 2.6.27.7-9-pae
> /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.27.7-9-pae
> make[1]: Entering directory
> `/home/download/modem/intel-536EP-2.56.76.0/coredrv'
> make -C /lib/modules/2.6.27.7-9-pae/build
> SUBDIRS=/home/download/modem/intel-536EP-2.56.76.0/coredrv modules
> make[2]: Entering directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
> make -C ../../../linux-2.6.27.7-9
> O=/usr/src/linux-2.6.27.7-9-obj/i386/pae/. modules
> CC [M] /home/download/modem/intel-536EP-2.56.76.0/coredrv/coredrv.o
> /home/download/modem/intel-536EP-2.56.76.0/coredrv/coredrv.c: In
> function 'create_hamproc':
> /home/download/modem/intel-536EP-2.56.76.0/coredrv/coredrv.c:746: error:
> 'proc_root' undeclared (first use in this function)
> /home/download/modem/intel-536EP-2.56.76.0/coredrv/coredrv.c:746: error:
> (Each undeclared identifier is reported only once
> /home/download/modem/intel-536EP-2.56.76.0/coredrv/coredrv.c:746: error:
> for each function it appears in.)
> /home/download/modem/intel-536EP-2.56.76.0/coredrv/coredrv.c: In
> function 'detach_hamproc':
> /home/download/modem/intel-536EP-2.56.76.0/coredrv/coredrv.c:754: error:
> 'proc_root' undeclared (first use in this function)
> make[5]: ***
> [/home/download/modem/intel-536EP-2.56.76.0/coredrv/coredrv.o] Error 1
> make[4]: ***
> [_module_/home/download/modem/intel-536EP-2.56.76.0/coredrv] Error 2
> make[3]: *** [sub-make] Error 2
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
> make[1]: *** [536core_26] Error 2
> make[1]: Leaving directory
> `/home/download/modem/intel-536EP-2.56.76.0/coredrv'
> 2.6.27.7-9-pae
> Failed to build driver
>
> It look like the problem is coming from the coredrv.c file:
>
> int create_hamproc(void)
> {
> hamproc = create_proc_entry("ham", S_IFREG | S_IRUGO, &proc_root);
> if(hamproc == NULL) return -ENOMEM;
> hamproc->read_proc = hamproc_read;
> hamproc->write_proc = hamproc_write;
> return 0;
> }
> void detach_hamproc(void)
> {
> remove_proc_entry("ham", &proc_root);
> }
>
>
> I'm using openSUSE 11.1 32 bits version of AMD Athlon 65, I'm also using
> the pae version of the kernel for memory dependencies. Is there any way
> to make this driver to work on this version of openSUSE? I really need
> to get my fax working and I really don't want to go back to Windows.
>
> Thank you
> Patrick
>

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

  Powered by Linux