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

Re: Help, Can't compile a package anymore.



I don't know why what once worked now doesn't, but I got it to
work by adding:

#include <linux/types.h>

I wrote:

> This is strange.  Just before new years I could compile jazip (a
> package I'm working on) and now it fails.  I'm running hamm with
> slink libc6 and libc6-dev Version 2.0.7u-7.1
> 
> I'd appreciate any ideas as to what's wrong:
> 
> $ gcc -O -m486   -c mount_z.c -o mount_z.o
> In file included from mount_z.c:18:
> /usr/include/linux/genhd.h:115: parse error before `__u32'
> /usr/include/linux/genhd.h:115: warning: no semicolon at end of struct or union
> /usr/include/linux/genhd.h:116: warning: data definition has no type or storage class
> /usr/include/linux/genhd.h:117: parse error before `d_subtype'
> /usr/include/linux/genhd.h:117: warning: data definition has no type or storage class
> [cut out lots more]
> /usr/include/linux/genhd.h:155: parse error before `}'
> make: *** [mount_z.o] Error 1

Peter


Reply to: