Daniele, Search in the Ubuntu forum for Intel 537EP. There is a modification to be brought with this distribution and my work. Philippe Le vendredi 26 octobre 2007 à 12:25 +0200, Daniele a écrit : > Hi MarvS. > This i the output of gcc -v > > Configured with: ../src/configure -v > --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr > --enable-shared --with-system-zlib --libexecdir=/usr/lib > --without-included-gettext --enable-threads=posix --enable-nls > --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu > --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 > --enable-checking=release i486-linux-gnu > Thread model: posix > gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) > > cat /proc/version > > Linux version 2.6.22.5 (root@blood) (gcc version 4.1.2 20061115 > (prerelease) (Debian 4.1.1-21)) #2 PREEMPT Wed Oct 24 00:54:53 CEST > 2007 > > I set LANG=C and make 537 output is > > blood:/home/dany/Apps/intel-537EP_secure-2.60.80.1# make 537 > Module precompile check > Current running kernel is: 2.6.22.5 > /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 > 2.6.22.5 > make[1]: Entering directory > `/home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv' > make -C /lib/modules/2.6.22.5/build > SUBDIRS=/home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv modules > make[2]: Entering directory `/usr/src/linux-2.6.22.5' > CC [M] /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In > function 'get_pci_info_537': > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:129: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:149: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:168: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:187: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:215: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:225: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:235: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:244: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:253: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:263: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:273: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:283: > warning: 'pci_find_device' is deprecated (declared at > include/linux/pci.h:477) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:842:39: > error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2 > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: At top level: > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:842: > warning: data definition has no type or storage class > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:842: > warning: type defaults to 'int' in declaration of 'DECLARE_WORK' > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:843:37: > error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2 > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:843: > warning: data definition has no type or storage class > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:843: > warning: type defaults to 'int' in declaration of 'DECLARE_WORK' > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In > function 'wake_up_interruptible_persistReadQ': > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:857: > error: 'wait_wq' undeclared (first use in this function) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:857: > error: (Each undeclared identifier is reported only once > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:857: > error: for each function it appears in.) > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In > function 'interruptible_sleep_on_timeout_persistReadQ': > /home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:891: > error: 'wait_wq2' undeclared (first use in this function) > make[3]: *** [/home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o] > Error 1 > make[2]: *** [_module_/home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv] > Error 2 > make[2]: Leaving directory `/usr/src/linux-2.6.22.5' > make[1]: *** [537core_26] Error 2 > make[1]: Leaving directory > `/home/dany/Apps/intel-537EP_secure-2.60.80.1/coredrv' > 2.6.22.5 > Failed to build driver > > Daniele. > > 2007/10/26, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>: > > Philiippe, > > > > On my System, Ubuntu Linux version 2.6.22-14-generic > > the compile using intel-537EP_secure-2.60.80.0_07_05_2007.tgz > > has failure with the same package at > > ---- > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.c:86: > > error: expected ')' before '(' token > > make[3]: *** [/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.o] > > Error 1 > > make[2]: *** [_module_/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv] > > Error 2 > > make[2]: Leaving directory `/usr/src/linux-2.6.22.5' > > -------- > > thus it seems to be a Distro/kernel specific problem. > > > > Daniele, > > What is your > > $ cat /proc/version > > ? > > > > MarvS > > > > > > > > On 10/24/07, Daniele <dany.metal@xxxxxxxxx> wrote: > > > Doesn't work. > > > This is the output of make 537. > > > > > > Module precompile check > > > Current running kernel is: 2.6.22.5 > > > /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 > > > 2.6.22.5 > > > make[1]: Entering directory > > > `/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv' > > > make -C /lib/modules/2.6.22.5/build > > > SUBDIRS=/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv modules > > > make[2]: Entering directory `/usr/src/linux-2.6.22.5' > > > CC [M] /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.o > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c: In > > > function 'get_pci_info_537': > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:129: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:149: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:168: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:187: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:215: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:225: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:235: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:244: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:253: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:263: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:273: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:283: > > > warning: 'pci_find_device' is deprecated (declared at > > > include/linux/pci.h:477) > > > CC [M] /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.o > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.c:86: > > > error: expected ')' before '(' token > > > make[3]: *** [/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.o] > > > Error 1 > > > make[2]: *** [_module_/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv] > > > Error 2 > > > make[2]: Leaving directory `/usr/src/linux-2.6.22.5' > > > make[1]: *** [537core_26] Error 2 > > > make[1]: Leaving directory > > > `/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv' > > > 2.6.22.5 > > > Failed to build driver > > > > > > > > > 2007/10/24, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>: > > > > Daniele, > > > > > > > > Try the attached. Compiles OK on my System > > > > > > > > MarvS > > > > > > > > ---------- Forwarded message ---------- > > > > From: Philippe Vouters <Philippe.Vouters@xxxxxxxxxxx> > > > > Date: Oct 23, 2007 10:13 PM > > > > Subject: Re: Error compiling intel537EP driver > > > > To: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > > > > > > > > > > > > Hi Marvin, > > > > > > > > Did Jacques recently download the two Intel drivers from my site, after > > > > my mail to him ? > > > > > > > > [philippe@victor ~]$ cd intel-537EP_secure-2.60.80.0/ > > > > [philippe@victor intel-537EP_secure-2.60.80.0]$ export MODEM_TYPE=537EP > > > > [philippe@victor intel-537EP_secure-2.60.80.0]$ make 537 > > > > Module precompile check > > > > Current running kernel is: 2.6.22.9-91.fc7 > > > > /lib/modules... autoconf.h exists > > > > diff: /boot/vmlinuz.autoconf.h: Aucun fichier ou répertoire de ce type > > > > autoconf.h matches running kernel > > > > diff: /boot/vmlinuz.version.h: Aucun fichier ou répertoire de ce type > > > > version.h matches running kernel > > > > 2.6.22.9-91.fc7 > > > > make[1]: entrant dans le répertoire > > > > « /home/philippe/intel-537EP_secure-2.60.80.0/coredrv » > > > > make -C /lib/modules/2.6.22.9-91.fc7/build > > > > SUBDIRS=/home/philippe/intel-537EP_secure-2.60.80.0/coredrv modules > > > > make[2]: entrant dans le répertoire > > > > « /usr/src/kernels/2.6.22.9-91.fc7-i586 » > > > > CC [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/coredrv.o > > > > CC [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/clmmain.o > > > > CC [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/rts.o > > > > CC [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/task.o > > > > CC [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/uart.o > > > > CC [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/wwh_dflt.o > > > > CC [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/locks.o > > > > CC > > > > [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/softserial_io.o > > > > CC > > > > [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/softserial_ioctl.o > > > > CC > > > > [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/softserial.o > > > > CC > > > > [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/afedsp_int.o > > > > LD [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/Intel537.o > > > > Building modules, stage 2. > > > > MODPOST 1 modules > > > > WARNING: could not > > > > find /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/.537core.lib.cmd > > > > for /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/537core.lib > > > > > > > > CC /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/Intel537.mod.o > > > > LD > > > > [M] /home/philippe/intel-537EP_secure-2.60.80.0/coredrv/Intel537.ko > > > > make[2]: quittant le répertoire « /usr/src/kernels/2.6.22.9-91.fc7-i586 > > > > » > > > > make[1]: quittant le répertoire > > > > « /home/philippe/intel-537EP_secure-2.60.80.0/coredrv » > > > > > > > > Le mardi 23 octobre 2007 à 21:09 -0400, Marvin Stodolsky a écrit : > > > > > Philippe > > > > > > > > > > Looks like a fix is needed for 2.6.22, > > > > > ---------------- > > > > > make[2]: Entering directory `/usr/src/linux-2.6.22.5' > > > > > CC [M] /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.o > > > > > CC [M] /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.o > > > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.c:86: > > > > > error: expected ')' before '(' token > > > > > ---------- > > > > > MarvS > > > > > > > > > > On 10/23/07, Daniele <dany.metal@xxxxxxxxx> wrote: > > > > > > I. > > > > > > I'm italian linux user. > > > > > > I try to compiling intel537EP driver from Philippe Vouters' s site but > > > > > > I have this error. > > > > > > > > > > > > make[1]: Entering directory > > > > > > `/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv' > > > > > > make -C /lib/modules/2.6.22.5/build > > > > > > SUBDIRS=/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv modules > > > > > > make[2]: Entering directory `/usr/src/linux-2.6.22.5' > > > > > > CC [M] /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/coredrv.o > > > > > > CC [M] /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.o > > > > > > /home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.c:86: > > > > > > error: expected ')' before '(' token > > > > > > make[3]: *** [/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv/clmmain.o] > > > > > > Error 1 > > > > > > make[2]: *** [_module_/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv] > > > > > > Error 2 > > > > > > make[2]: Leaving directory `/usr/src/linux-2.6.22.5' > > > > > > make[1]: *** [537core_26] Error 2 > > > > > > make[1]: Leaving directory > > > > > > `/home/dany/Apps/intel-537EP_secure-2.60.80.0/coredrv' > > > > > > 2.6.22.5 > > > > > > Failed to build driver > > > > > > > > > > > > My system is Debian 4.0, linux kernel 2.6.22.5 > > > > > > > > > > > > Sorry for my poor english. > > > > > > > > > > > > Daniele > > > > > > > > > > > > > > > -- > > > > http://www.cyber.com.au/cyber/about/linux_vs_windows_tco_comparison.pdf > > > > http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/ > > > > Philippe Vouters (Fontainebleau/France) > > > > > > > > > > > > > > -- http://www.cyber.com.au/cyber/about/linux_vs_windows_tco_comparison.pdf http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/ Philippe Vouters (Fontainebleau/France)