From: harry@atlas.socsci.umn.edu (Kuo-Chen Chang) Subject: compiling error in gcc.2.2.2d Date: Wed, 19 Aug 1992 13:08:38 GMT
Hello there. I just installed gcc 2.2.2d on my 486. And I could not wait
to try the new compiler. TO my surprise, I got some complains:
/usr/include/stdlib.h:55: conflicting types for "div_t"
/usr/include/linux/types.h:68: previous declaration of "div_t"
/usr/include/stdlib.h:62: conflicting types for "ldiv_t"
/usr/include/linux/types.h:69: previous declaration of "ldiv_t"
Did I miss something?
My compiling command is:
gcc -o poas -lm poas.c
The source code includes
<stdio.h>
<malloc.h>
<string.h>
<math.h>
<time.h>
<ctype.h>
<stdlib.h>
Any suggestion?
Thanks.
---Harry