Re: Module compilation error

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

 



Well , I have a comp thats tailor made for windoze ... that means that
most of the h/w doesnt work with Linux .... I culdnt configure the
graphics card ... so xconfig failed when I installed linux .... I dunno
what menuconfig is ... but I am gonna try it

Thanx
Narasimhamurthy Giri, Clemson University Computer Science Dept.
-------------------------------------------------------------------------------
Judge not lest ye be judged yourself.
-------------------------------------------------------------------------------


On Wed, 27 Feb 2002, Amit Kucheria wrote:

> On Wed, 27 Feb 2002, Narasimhamurthy Giridhar wrote:
>
> > Hi all
> > I was trying to compile a module by doing:
> >
> > gcc -D__KERNEL__ -DMODULE -O -Wall -c file.c -o file.o
> >
> > I got an error:
> >
> > from /linux/module.h
> > included from file.c: /linux/autoconf.h does not exist
>
> Have you done a 'make menuconfig/xconfig/' and saved the settings?
> I think thats what creates autoconf.h
>
> --
> The statement below is true.
> The statement above is false.
> ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
>                   Amit Kucheria
>           EECS Grad. Research Assistant
>          University of Kansas @ Lawrence
>    (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
> ____________________________________________________
>
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux