Re: Noobish compilation problems
"Maxim Grechkin" <[email protected]> Thu, 25 May 2006 17:06:29 +0400
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Try to use drivers from unstable or testing they have more fixes. On 5/25/06, Bogdan Petrisor <[email protected]> wrote: > I'm a debian user and when I compiled the driver ( a long time ago...) I remember needing the > kernel-sources package and a link somewhere in /lib/modules to the sources. I think the link was > somewhere hidden in the driver documentation, but I can't remember right now exactly where. > > PS: unless your wife is editing the driver sources without you knowing I'd say keep it. And the > distro too :):) > > Hope it helps... > > --- sebastien jousten <[email protected]> wrote: > > > Hi everybody, > > > > I have some problems to compile the at76c503a driver on my debian system. > > I have installed it with the netinst image of the Sarge release (3.10r2). > > Without anything else that the basic installed packages. > > My kernel version is 2.4.27 and my gcc version is 3.3.5. > > If you want to know it's for making a WUSB11 v2.6 device works. > > > > My problem is : > > > > xxx@xxx:~/at76c503-0.11$ make > > gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common > > -Wn > > > > o-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB > > -DDRIVER_VERSIO > > > > N=\"v0.11\" -I/lib/modules/2.4.27-2-386/build/include -c at76c503.c > > In file included from at76c503.c:78: > > /usr/include/linux/kernel.h:72: error: erreur de syntaxe before "size_t" > > /usr/include/linux/kernel.h:74: error: erreur de syntaxe before "size_t" > > In file included from /usr/include/linux/timex.h:186, > > from /usr/include/linux/sched.h:11, > > from at76c503.c:79: > > /usr/include/linux/time.h:14: error: erreur de syntaxe before "time_t" > > /usr/include/linux/time.h:16: error: erreur de syntaxe before '}' token > > > > ... > > ... > > ... > > 1000 error lines > > ... > > ... > > ... > > > > /usr/include/linux/fs.h:383: error: storage size of `i_ctime' isn't known > > /usr/include/linux/fs.h:515: error: storage size of `f_owner' isn't known > > make: *** [at76c503.o] Erreur 1 > > xxx@xxx:~/at76c503-0.11$ > > > > I have googled all day but I haven't found anything that solved my problem > > not even a little clue. > > > > So I ask you. Could you help me to fix this thing? > > Should I install some extra packages? > > Should I install another compilator of change the version of mine? > > Should I install another Linux distro? > > Should I buy a new computer? > > Should I change of wife? > > Everything you'll say, I'll execute it. > > > > Thank you for all the answers you'll surelly give to me. > > > > love > > seb. > > Brussels, Belgium, Europe. > > > > > -------------------------------- > Democracy is the theory that the people know what they want and deserve to get it good and hard > -------------------------------- > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > at76c503a-user mailing list > [email protected] > http://lists.berlios.de/mailman/listinfo/at76c503a-user > -- Maxim