[Lugge] I: Re: Re: I: Re: Re: driver per modem e stampante

  • From: "maurizio_b" <maurizio_b@xxxxxxxx>
  • To: lugge@xxxxxxxxx
  • Date: Mon, 31 Jan 2005 09:42:34 GMT

> Da:: "maurizio_b" <maurizio_b@xxxxxxxx>
> A: lugge@xxxxxxxxxxxxx
> Titolo:: Re: [Lugge] Re: I: Re: Re: driver per modem e stampante
> Data: Mon, 31 Jan 2005 09:41:38 GMT 

> <pre>> Da:: Tito Rizzo <tito.rizzo@xxxxxxxxxx>
> > A: lugge@xxxxxxxxxxxxx
> > Titolo:: [Lugge] Re: I: Re: Re: driver per modem e stampante
> > Data: Fri, 28 Jan 2005 21:28:30 +0000
> > 
> > Il driver che ti serve (slmdm-2.7.8.tar.gz) lo trovi qui:
> > 
> >  http://linmodems.technion.ac.il/packages/smartlink/
> l'ho scaricato versione 2.7.8 
> > 
> > Non sono sicuro che funzioni con i kernel 2.6.
> > 
> > > > make modules -C /lib/modules/2.6.8.1-10mdk/build 
> > > > SUBDIRS=/home/pippo/Desktop/Scaricati/slmodem-2.9.10/drivers
> > > > make: *** /lib/modules/2.6.8.1-10mdk/build: No such file or directory.  
> > > > Stop.
> > 
> > Dovresti installare i sorgenti del kernel. Con slmdm-2.7.8 non sono 
> > necessari.
> e dopo aver fatto make il risultato è questo
> [pippo@localhost slmdm-2.7.8]$ make
> gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. 
> -I/usr/src/linux/include  -DMODVERSIONS --include 
> /usr/src/linux/include/linux/modversions.h -o amrmo_init.o -c amrmo_init.c
> cc1: /usr/src/linux/include/linux/modversions.h: No such file or directory
> In file included from /usr/include/linux/sched.h:14,
>                  from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/linux/cpumask.h:80: error: syntax error before "DECLARE_BITMAP"
> /usr/include/linux/cpumask.h:81: error: syntax error before 
> "_unused_cpumask_arg_"
> /usr/include/linux/cpumask.h:84: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpu_set':
> /usr/include/linux/cpumask.h:86: error: `cpu' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:86: error: (Each undeclared identifier is 
> reported only once
> /usr/include/linux/cpumask.h:86: error: for each function it appears in.)
> /usr/include/linux/cpumask.h:86: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:90: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpu_clear':
> /usr/include/linux/cpumask.h:92: error: `cpu' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:92: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:96: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_setall':
> /usr/include/linux/cpumask.h:98: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:98: error: `nbits' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:102: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_clear':
> /usr/include/linux/cpumask.h:104: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:104: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:111: error: syntax error before "cpumask_t"
> /usr/include/linux/cpumask.h: In function `__cpu_test_and_set':
> /usr/include/linux/cpumask.h:113: error: `cpu' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:113: error: `addr' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:117: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_and':
> /usr/include/linux/cpumask.h:120: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:120: error: `src1p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:120: error: `src2p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:120: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:124: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_or':
> /usr/include/linux/cpumask.h:127: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:127: error: `src1p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:127: error: `src2p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:127: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:131: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_xor':
> /usr/include/linux/cpumask.h:134: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:134: error: `src1p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:134: error: `src2p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:134: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:139: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_andnot':
> /usr/include/linux/cpumask.h:142: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:142: error: `src1p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:142: error: `src2p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:142: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:146: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_complement':
> /usr/include/linux/cpumask.h:149: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:149: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:149: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:153: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_equal':
> /usr/include/linux/cpumask.h:156: error: `src1p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:156: error: `src2p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:156: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:160: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_intersects':
> /usr/include/linux/cpumask.h:163: error: `src1p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:163: error: `src2p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:163: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:167: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_subset':
> /usr/include/linux/cpumask.h:170: error: `src1p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:170: error: `src2p' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:170: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:174: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_empty':
> /usr/include/linux/cpumask.h:176: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:176: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:180: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_full':
> /usr/include/linux/cpumask.h:182: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:182: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:186: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_weight':
> /usr/include/linux/cpumask.h:188: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:188: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:193: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_shift_right':
> /usr/include/linux/cpumask.h:196: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:196: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:196: error: `n' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:196: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:201: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpus_shift_left':
> /usr/include/linux/cpumask.h:204: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:204: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:204: error: `n' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:204: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:208: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__first_cpu':
> /usr/include/linux/cpumask.h:210: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:210: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:214: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__next_cpu':
> /usr/include/linux/cpumask.h:216: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:216: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:216: error: `n' undeclared (first use in this 
> function)
> In file included from /usr/include/linux/sched.h:14,
>                  from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/linux/cpumask.h:233:5: missing binary operator before token "("
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:265: error: syntax error before '*' token
> /usr/include/linux/cpumask.h: In function `__cpumask_scnprintf':
> /usr/include/linux/cpumask.h:267: error: `buf' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:267: error: `len' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:267: error: `srcp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:267: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:273: error: syntax error before "cpumask_t"
> /usr/include/linux/cpumask.h: In function `__cpumask_parse':
> /usr/include/linux/cpumask.h:275: error: `buf' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:275: error: `len' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:275: error: `dstp' undeclared (first use in this 
> function)
> /usr/include/linux/cpumask.h:275: error: `nbits' undeclared (first use in 
> this function)
> /usr/include/linux/cpumask.h:278:5: missing binary operator before token "("
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:343: error: syntax error before 
> "cpu_possible_map"
> /usr/include/linux/cpumask.h:344: error: syntax error before "cpu_online_map"
> /usr/include/linux/cpumask.h:345: error: syntax error before "cpu_present_map"
> /usr/include/linux/cpumask.h:347:5: missing binary operator before token "("
> In file included from /usr/include/linux/list.h:7,
>                  from /usr/include/linux/wait.h:14,
>                  from /usr/include/asm/semaphore.h:41,
>                  from /usr/include/linux/sched.h:17,
>                  from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/linux/prefetch.h: In function `prefetch_range':
> /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' 
> undeclared (first use in this function)
> In file included from /usr/include/asm/siginfo.h:4,
>                  from /usr/include/linux/signal.h:7,
>                  from /usr/include/linux/sched.h:24,
>                  from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/asm-generic/siginfo.h: At top level:
> /usr/include/asm-generic/siginfo.h:58: error: size of array `_pad' is too 
> large
> In file included from /usr/include/linux/mmzone.h:372,
>                  from /usr/include/linux/gfp.h:4,
>                  from /usr/include/linux/slab.h:15,
>                  from /usr/include/linux/percpu.h:4,
>                  from /usr/include/linux/sched.h:30,
>                  from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/linux/topology.h: In function `__next_node_with_cpus':
> /usr/include/linux/topology.h:50: error: syntax error before "__tmp__"
> /usr/include/linux/topology.h:50: error: `__tmp__' undeclared (first use in 
> this function)
> In file included from /usr/include/linux/gfp.h:4,
>                  from /usr/include/linux/slab.h:15,
>                  from /usr/include/linux/percpu.h:4,
>                  from /usr/include/linux/sched.h:30,
>                  from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/linux/mmzone.h: At top level:
> /usr/include/linux/mmzone.h:414: error: syntax error before '(' token
> In file included from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/linux/sched.h:152: error: syntax error before "nohz_cpu_mask"
> In file included from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/linux/sched.h:217: error: syntax error before "cpumask_t"
> /usr/include/linux/sched.h:231: error: syntax error before '}' token
> /usr/include/linux/sched.h:408: error: syntax error before "cpumask_t"
> /usr/include/linux/sched.h:423: error: syntax error before ':' token
> /usr/include/linux/sched.h:459: error: syntax error before ':' token
> /usr/include/linux/sched.h:521: error: syntax error before '}' token
> /usr/include/linux/sched.h: In function `process_group':
> /usr/include/linux/sched.h:525: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: At top level:
> /usr/include/linux/sched.h:673: error: syntax error before "cpumask_t"
> In file included from /usr/include/linux/module.h:9,
>                  from amrmo_init.c:47:
> /usr/include/linux/sched.h: In function `dequeue_signal_lock':
> /usr/include/linux/sched.h:770: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h:772: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `on_sig_stack':
> /usr/include/linux/sched.h:813: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h:813: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `sas_ss_flags':
> /usr/include/linux/sched.h:818: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `capable':
> /usr/include/linux/sched.h:829: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h:830: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `mmdrop':
> /usr/include/linux/sched.h:846: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: At top level:
> /usr/include/linux/sched.h:863: error: 'exit_signal' redeclared as different 
> kind of symbol
> /usr/include/linux/sched.h:419: error: previous declaration of 'exit_signal' 
> was here
> /usr/include/linux/sched.h: In function `thread_group_empty':
> /usr/include/linux/sched.h:924: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `task_lock':
> /usr/include/linux/sched.h:944: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `task_unlock':
> /usr/include/linux/sched.h:949: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `get_task_mm':
> /usr/include/linux/sched.h:963: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `set_tsk_thread_flag':
> /usr/include/linux/sched.h:977: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `clear_tsk_thread_flag':
> /usr/include/linux/sched.h:982: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `test_and_set_tsk_thread_flag':
> /usr/include/linux/sched.h:987: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `test_and_clear_tsk_thread_flag':
> /usr/include/linux/sched.h:992: error: dereferencing pointer to incomplete 
> type
> /usr/include/linux/sched.h: In function `test_tsk_thread_flag':
> /usr/include/linux/sched.h:997: error: dereferencing pointer to incomplete 
> type
> In file included from /usr/include/linux/module.h:22,
>                  from amrmo_init.c:47:
> /usr/include/asm/module.h:56:2: #error unknown processor family
> In file included from amrmo_init.c:48:
> /usr/include/linux/version.h:2:2: #error 
> "======================================================="
> /usr/include/linux/version.h:3:2: #error "You should not include 
> /usr/include/{linux,asm}/ header"
> /usr/include/linux/version.h:4:2: #error "files directly for the compilation 
> of kernel modules."
> /usr/include/linux/version.h:5:2: #error ""
> /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files 
> from a well-defined"
> /usr/include/linux/version.h:7:2: #error "working kernel version (as 
> recommended by Linus Torvalds)"
> /usr/include/linux/version.h:8:2: #error "These files are glibc internal and 
> may not match the"
> /usr/include/linux/version.h:9:2: #error "currently running kernel. They 
> should only be"
> /usr/include/linux/version.h:10:2: #error "included via other system header 
> files - user space"
> /usr/include/linux/version.h:11:2: #error "programs should not directly 
> include <linux/*.h> or"
> /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
> /usr/include/linux/version.h:13:2: #error ""
> /usr/include/linux/version.h:14:2: #error "To build kernel modules please do 
> the following:"
> /usr/include/linux/version.h:15:2: #error ""
> /usr/include/linux/version.h:16:2: #error " o Have the kernel sources 
> installed"/usr/include/linux/version.h:17:2: #error ""
> /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic 
> link"
> /usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build 
> exists and points to"
> /usr/include/linux/version.h:20:2: #error "   the matching kernel source 
> directory"
> /usr/include/linux/version.h:21:2: #error ""
> /usr/include/linux/version.h:22:2: #error " o Now copy 
> /boot/vmlinuz.version.h to"
> /usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname 
> -r`/build/include/linux/version.h"
> /usr/include/linux/version.h:24:2: #error ""
> /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to 
> use the following"
> /usr/include/linux/version.h:26:2: #error "   compiler option to use the 
> correct include files:"
> /usr/include/linux/version.h:27:2: #error ""
> /usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname 
> -r`/build/include"
> /usr/include/linux/version.h:29:2: #error ""
> /usr/include/linux/version.h:30:2: #error "   instead of"
> /usr/include/linux/version.h:31:2: #error ""
> /usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
> /usr/include/linux/version.h:33:2: #error ""
> /usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile 
> accordingly."
> /usr/include/linux/version.h:35:2: #error 
> "======================================================="
> In file included from ./linux_compat.h:50,
>                  from amrmo_init.c:53:
> /usr/include/linux/version.h:2:2: #error 
> "======================================================="
> /usr/include/linux/version.h:3:2: #error "You should not include 
> /usr/include/{linux,asm}/ header"
> /usr/include/linux/version.h:4:2: #error "files directly for the compilation 
> of kernel modules."
> /usr/include/linux/version.h:5:2: #error ""
> /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files 
> from a well-defined"
> /usr/include/linux/version.h:7:2: #error "working kernel version (as 
> recommended by Linus Torvalds)"
> /usr/include/linux/version.h:8:2: #error "These files are glibc internal and 
> may not match the"
> /usr/include/linux/version.h:9:2: #error "currently running kernel. They 
> should only be"
> /usr/include/linux/version.h:10:2: #error "included via other system header 
> files - user space"
> /usr/include/linux/version.h:11:2: #error "programs should not directly 
> include <linux/*.h> or"
> /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
> /usr/include/linux/version.h:13:2: #error ""
> /usr/include/linux/version.h:14:2: #error "To build kernel modules please do 
> the following:"
> /usr/include/linux/version.h:15:2: #error ""
> /usr/include/linux/version.h:16:2: #error " o Have the kernel sources 
> installed"/usr/include/linux/version.h:17:2: #error ""
> /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic 
> link"
> /usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build 
> exists and points to"
> /usr/include/linux/version.h:20:2: #error "   the matching kernel source 
> directory"
> /usr/include/linux/version.h:21:2: #error ""
> /usr/include/linux/version.h:22:2: #error " o Now copy 
> /boot/vmlinuz.version.h to"
> /usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname 
> -r`/build/include/linux/version.h"
> /usr/include/linux/version.h:24:2: #error ""
> /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to 
> use the following"
> /usr/include/linux/version.h:26:2: #error "   compiler option to use the 
> correct include files:"
> /usr/include/linux/version.h:27:2: #error ""
> /usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname 
> -r`/build/include"
> /usr/include/linux/version.h:29:2: #error ""
> /usr/include/linux/version.h:30:2: #error "   instead of"
> /usr/include/linux/version.h:31:2: #error ""
> /usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
> /usr/include/linux/version.h:33:2: #error ""
> /usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile 
> accordingly."
> /usr/include/linux/version.h:35:2: #error 
> "======================================================="
> In file included from amrmo_init.c:53:
> ./linux_compat.h:55:40: missing binary operator before token "("
> ./linux_compat.h:77:40: missing binary operator before token "("
> ./linux_compat.h:91:40: missing binary operator before token "("
> ./linux_compat.h:98:41: missing binary operator before token "("
> amrmo_init.c: In function `amr_mod_usage_increase':
> amrmo_init.c:229: warning: `MOD_INC_USE_COUNT' is deprecated (declared at 
> /usr/include/linux/module.h:554)
> amrmo_init.c: In function `amr_mod_usage_decrease':
> amrmo_init.c:233: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at 
> /usr/include/linux/module.h:566)
> amrmo_init.c: In function `amrmo_probe':
> amrmo_init.c:261: error: structure has no member named `name'
> amrmo_init.c:308: warning: implicit declaration of function 
> `pci_request_regions'
> amrmo_init.c:312: warning: implicit declaration of function `request_irq'
> amrmo_init.c:314: warning: implicit declaration of function 
> `pci_release_regions'
> amrmo_init.c: In function `amrmo_remove':
> amrmo_init.c:332: warning: implicit declaration of function `free_irq'
> amrmo_init.c: In function `amrmo_init':
> amrmo_init.c:366: warning: implicit declaration of function `pci_present'
> amrmo_init.c:373: warning: implicit declaration of function `pci_for_each_dev'
> amrmo_init.c:373: error: syntax error before '{' token
> amrmo_init.c: At top level:
> amrmo_init.c:383: error: syntax error before '}' token
> amrmo_init.c:401: warning: type defaults to `int' in declaration of 
> `EXPORT_NO_SYMBOLS'
> amrmo_init.c:401: warning: data definition has no type or storage class
> make: *** [amrmo_init.o] Error 1
> Grazie
> Lycos Mail: casella da 300 MB gratis per te con sicurezza antispam e 
> antivirus -  http://mail.lycos.it
> </pre>

Lycos Mail: casella da 300 MB gratis per te con sicurezza antispam e antivirus 
-  http://mail.lycos.it

Other related posts:

  • » [Lugge] I: Re: Re: I: Re: Re: driver per modem e stampante