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

Re: libc6-dev 2.0.7.19981211-1 broken in slink?



Sudhakar Chandrasekharan wrote:
> I am trying to compile jaZip (http://www.scripps.edu/~jsmith/jazip/).  I
> installed libforms and libforms-dev (both 0.88.1-2) that is required to
> compile jaZip.  I also have gcc (2.7.2.3-7), egcc (2.91.60-2)
> installed.  When I try to compile (using CC=gcc or CC=egcc) I get errors
> like the following -
> 
> In file included from mount_z.c:18:
> /usr/include/linux/genhd.h:82: parse error before `__u32'
> /usr/include/linux/genhd.h:82: warning: no semicolon at end of struct or
> union
> /usr/include/linux/genhd.h:83: warning: data definition has no type or
> storage class
> /usr/include/linux/genhd.h:84: parse error before `d_subtype'
> /usr/include/linux/genhd.h:84: warning: data definition has no type or
> storage class
> /usr/include/linux/genhd.h:87: parse error before `d_secsize'
> /usr/include/linux/genhd.h:87: warning: data definition has no type or
> storage class

<snip>

> Shoud I submit a bug?  Against what?  libc6-dev?


Doh!  Should have RTFM-ed.  Adding a -I/usr/src/linux/include solved the
problem.  

thaths
-- 
"Now, sweetie, don't worry about a thing.  I'll teach you to comb it
 over so no one can tell.  Just like my hair!" -- Homer J. Simpson
Sudhakar C13n   http://people.netscape.com/thaths/   Indentured Slave


Reply to: