Валенти, Try installing a package libc6-dev or equivalent for your Linux distribution. The compilation was successful on my System. See below: MarvS --------------- /usr/src/modules/intel-537EP_secure-2.60.80.0$ make 537 Module precompile check Current running kernel is: 2.6.27-9-generic /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.27-9-generic make[1]: Entering directory `/usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv' make -C /lib/modules/2.6.27-9-generic/build SUBDIRS=/usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv modules make[2]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic' CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/coredrv.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/clmmain.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/rts.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/task.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/uart.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/wwh_dflt.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/locks.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/softserial_io.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/softserial_ioctl.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/softserial.o CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/afedsp_int.o LD [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/Intel537.o Building modules, stage 2. MODPOST 1 modules WARNING: could not find /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/.537core.lib.cmd for /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/537core.lib CC /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/Intel537.mod.o LD [M] /usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv/Intel537.ko make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic' make[1]: Leaving directory `/usr/src/modules/intel-537EP_secure-2.60.80.0/coredrv' marv@marvlap:/usr/src/modules/intel-537EP_secure-2.60.80.0$ ls -l *.ko -rw-r--r-- 1 marv marv 4228728 2009-02-04 18:27 Intel537.ko On Wed, Feb 4, 2009 at 6:22 PM, jayjwa <jayjwa@xxxxxxxxxxx> wrote: > > > On Wed, 4 Feb 2009, ???????? wrote: > >>> http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/ > > I can't remember if these were updated to 2.6.27.x. > >> When i making your driver happed next trouble: >> >> linux-xxjx:/intel-537EP_secure-2.60.80.0 # export MODEM_TYPE=537 >> linux-xxjx:/intel-537EP_secure-2.60.80.0 # make 537 Module >> precompile check Current running >> kernel is: 2.6.27.7-9-pae /lib/modules... autoconf.h >> exists autoconf.h matches running kernel >> version.h matches running kernel 2.6.27.7-9-pae >> make[1]: Entering directory `/intel-537EP_secure-2.60.80.0/coredrv' >> make -C /lib/modules/2.6.27.7-9-pae/build >> SUBDIRS=/intel-537EP_secure-2.60.80.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] /intel-537EP_secure-2.60.80.0/coredrv/coredrv.o In file included >> from /usr/src/linux-2.6.27.7-9/include/linux/smp.h:28, from >> /usr/src/linux-2.6.27.7-9/include/linux/sched.h:68, from >> /intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:35: include2/asm/smp.h: In >> function ???logical_smp_processor_id???: > > "include2"? Never saw that in Linux. Are you sure it's correct? > > > >> include2/asm/smp.h:172: error: implicit declaration of function >> ???GET_APIC_LOGICAL_ID??? include2/asm/smp.h:172: error: ???APIC_BASE??? >> undeclared (first use in this function) include2/asm/smp.h:172: error: (Each >> undeclared identifier is reported only once >> include2/asm/smp.h:172: error: for each function it appears in.) >> include2/asm/smp.h:172: error: ???APIC_LDR??? undeclared (first use in this >> function) In file included from >> /usr/src/linux-2.6.27.7-9/include/linux/smp.h:28, >> from /usr/src/linux-2.6.27.7-9/include/linux/sched.h:68, >> from /intel-537EP_secure-2.60.80.0/coredrv/coredrv.c:35: >> include2/asm/smp.h: In function ???read_apic_id???: >> include2/asm/smp.h:180: error: ???APIC_BASE??? undeclared (first use in >> this function) > > > I have a 536, not 537 so I'm probably not much help, but you could try to > find were the missing defines are listed. I know 536 works with 2.6.27.x > because I'm using it now. Try grepping through the Linux headers for the > define: > > grep APIC_BASE /usr/src/linux/include/asm/* > > If you find something like > > /usr/src/linux/include/asm/apicdef.h:#define APIC_BASE > (fix_to_virt(FIX_APIC_BASE)) > > that's where it's defined, so you could try and put > > #include <asm/apicdef.h> > > in the file that says it's missing. If you make too many changes that don't > work, just delete the 537 source directory and unpack it again to get back > to the beginning. > >