home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / gcc / help / 2116 < prev    next >
Encoding:
Text File  |  1992-09-12  |  2.5 KB  |  56 lines

  1. Newsgroups: gnu.gcc,gnu.gcc.help
  2. Path: sparky!uunet!utcsri!geac!r-node!marc
  3. From: marc@r-node.gts.org (Marc Fournier - Sys Admin)
  4. Subject: help with gcc 2.1 on ISC
  5. Message-ID: <1992Sep13.042317.2175@r-node.gts.org>
  6. Organization: R-node Public Access UNIX System (416-249-5366) 24hrs.
  7. Date: Sun, 13 Sep 1992 04:23:17 GMT
  8. Lines: 46
  9.  
  10. Hello folks...
  11.  
  12.     I've got gcc 2.1 installed on my system and am quite
  13. discouraged and disappointed with it :(  I can't compile anything
  14. that comes across the net with it without some massive hassles and
  15. I usually give up with them and switch back to the 'stock' cc
  16. on my system.
  17.  
  18.     Now, for example, I'm trying to get Taylor UUCP compiled.
  19. If I use 'sh configure CC=gcc CFLAGS=-O -s', everything goes through
  20. just fine.  As soon as I run 'gmake' (what I called Gnu Make 3.62(?))
  21. I get the following errors:
  22.  
  23.  
  24. gcc -O -c -g -I. -I. -DLIBDIR=\"/usr/local/lib/uucp\" -DNEWCONFIGLIB=\"/usr/local/conf/uucp\" -DOLDCONFIGLIB=\"/usr/lib/uucp\" -DOWNER=\"uucp\"  uucico.c
  25. In file included from uucp.h:330, from uucico.c:304:
  26. /usr/include/memory.h:12: warning: conflicting types for built-in function `memcpy'
  27. In file included from uucp.h:338, from uucico.c:304:
  28. /usr/include/string.h:21: conflicting types for `memcpy'
  29. /usr/include/memory.h:12: previous declaration of `memcpy'
  30. /usr/include/string.h:32: conflicting types for `memchr'
  31. /usr/include/memory.h:11: previous declaration of `memchr'
  32. /usr/include/string.h:40: conflicting types for `memset'
  33. /usr/include/memory.h:13: previous declaration of `memset'
  34. In file included from uucico.c:304:
  35. uucp.h:1192: warning: conflicting types for built-in function `memcmp'
  36. uucp.h:1201: conflicting types for `memcpy'
  37. /usr/include/string.h:21: previous declaration of `memcpy'
  38. In file included from sysdep.h:385, from port.h:71, from uucico.c:314:
  39. /usr/include/sys/stat.h:95: parse error before `mode_t'
  40. /usr/include/sys/stat.h:97: parse error before `mode_t'
  41. /usr/include/sys/stat.h:98: parse error before `mode_t'
  42. gmake: *** [uucico.o] Error 1
  43.  
  44.     This is using my 'stock' include files.  Anyone have any
  45. ideas?  I would definitely like to start using gcc more often, but
  46. I get these similar errors everytime I do :(
  47.  
  48. Any suggestions are appreciated...and will be tried out :)
  49.  
  50. Marc    
  51. -- 
  52. Marc G. Fournier      | R-node Public Access Unix running UnixBBS 1.03
  53. Etobicoke, Ontario    | 416-249-5366   24hrs 7 days/week   network email
  54. voice: 249-4230       | shell/feed accounts available   1800+ newsgroups
  55. marc@r-node.pci.on.ca | Telebit T3000/SupraModem2400/Cardinal 2400  FREE
  56.