This error seems to pop up often for people using ubuntu though i've
never had it myself. Basically uninstalling the linux-headers package
and then reinstalling it hs seemed to fix it in the past

On Fri, Mar 13, 2009 at 11:23 AM, Manish Mathai <[email protected]> wrote:
>
>
> On Fri, Mar 13, 2009 at 4:08 PM, GWater <[email protected]> wrote:
>>
>> Am Mittwoch 11 März 2009 02:30:47 schrieb Manish:
>> > i get the following error after i download the git source code and
>> > make it
>> >
>> > make -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/home/goodbadwolf/
>> > camdrvs/microdia modules
>> > make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
>> >   CC [M]  /home/goodbadwolf/camdrvs/microdia/sn9c20x-usb.o
>> > In file included from include/linux/gfp.h:4,
>> >                  from include/linux/kmod.h:22,
>> >                  from include/linux/module.h:13,
>> >                  from /home/goodbadwolf/camdrvs/microdia/sn9c20x-usb.c:
>> > 27:
>> > include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or
>> > directory
>> > include/linux/mmzone.h:197:5: warning: "MAX_NR_ZONES" is not defined
>> > In file included from include/linux/gfp.h:4,
>> >                  from include/linux/kmod.h:22,
>> >                  from include/linux/module.h:13,
>> >                  from /home/goodbadwolf/camdrvs/microdia/sn9c20x-usb.c:
>> > 27:
>> > include/linux/mmzone.h:218: error: ‘MAX_NR_ZONES’ undeclared here (not
>> > in a function)
>> > make[2]: *** [/home/goodbadwolf/camdrvs/microdia/sn9c20x-usb.o] Error
>> > 1
>> > make[1]: *** [_module_/home/goodbadwolf/camdrvs/microdia] Error 2
>> > make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
>> > make: *** [driver] Error 2
>> >
>> >
>> The distribution name and version could help.
>>
>> Basically you lack kernel-development packages.
>>
>> GWater
>
>
> Sorry about not mentioning the details. I use Ubuntu 8.10. I am using
> kernel version  2.6.27-11-generic and have the package
> linux-headers-lbm-2.6.27-11 installed.
> Steps 1 - 3 worked fine. Got the error on the make command in step 4 .
>
> The error :
>
> make -C /lib/modules/2.6.27-11-generic/build
> SUBDIRS=/home/goodbadwolf/camdrvs/microdia modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
>   CC [M]  /home/goodbadwolf/camdrvs/microdia/sn9c20x-usb.o
> In file included from include/linux/gfp.h:4,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from /home/goodbadwolf/camdrvs/microdia/sn9c20x-usb.c:27:
> include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or
> directory
> include/linux/mmzone.h:197:5: warning: "MAX_NR_ZONES" is not defined
> In file included from include/linux/gfp.h:4,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from /home/goodbadwolf/camdrvs/microdia/sn9c20x-usb.c:27:
> include/linux/mmzone.h:218: error: ‘MAX_NR_ZONES’ undeclared here (not in a
> function)
> make[2]: *** [/home/goodbadwolf/camdrvs/microdia/sn9c20x-usb.o] Error 1
> make[1]: *** [_module_/home/goodbadwolf/camdrvs/microdia] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
> make: *** [driver] Error 2
>
>
> Have i missed any details ?
>
> --
> If they give you ruled paper, write the other way -- Juan Ramón Jiménez
> Simone de Beauvoir  - "To catch a husband is an art; to hold him is a job."
> >
>

--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to