home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!caen!umeecs!umn.edu!harry
- From: harry@atlas.socsci.umn.edu (Kuo-Chen Chang)
- Subject: compiling error in gcc.2.2.2d
- Message-ID: <harry.714229718@puff.socsci.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: puff.socsci.umn.edu
- Organization: University of Minnesota
- Date: Wed, 19 Aug 1992 13:08:38 GMT
- Lines: 30
-
- 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
-
-