home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16406 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!usenet.ins.cwru.edu!po.CWRU.Edu!sdh
  2. From: sdh@po.CWRU.Edu (Scott D. Heavner)
  3. Newsgroups: comp.os.linux
  4. Subject: Why can't I compile anything? (GCC v2.2.2d JT4.1 -- xv and sc)
  5. Date: 11 Nov 1992 23:37:50 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 40
  8. Message-ID: <1ds5geINNfpp@usenet.INS.CWRU.Edu>
  9. Reply-To: sdh@po.CWRU.Edu (Scott D. Heavner)
  10. NNTP-Posting-Host: thor.ins.cwru.edu
  11.  
  12.  
  13.     I have been having trouble compiling things with GCC 
  14. lately.
  15.  
  16. For example: when I try to compile xv-2.20, I get the following:
  17.  
  18. gcc -m486 -traditional -O6          -DHAVE_JPEG -Ijpeg     -DHAVE_TIFF
  19. -Itiff -DHAVE_PDS -o ansi2knr ansi2knr.c
  20. In file included from ansi2knr.c:190:
  21. /usr/include/string.h:21: warning: conflicting types for built-in
  22. function `memcpy'
  23. /usr/include/string.h:35: warning: conflicting types for built-in
  24. function `strlen'
  25.  
  26. If I get rid of the -traditional it doesn't report these errors but it
  27. gets stuck later.  When I am done, it produces a binary which will
  28. run, but won't work to view graphics, it shifts columns around.
  29.  
  30.     A E I M            B H J M
  31.     B F J N        ==>    C E K N
  32.     C G K O            D F L O
  33.     D H L P            A G I P
  34.  
  35. The same think happens when I use the binaries for xv-2.21 from sunsite.
  36.  
  37.  
  38.     Also,wWhen I try to link sc (from sunsite),
  39. I get the following message:
  40.  
  41.         sc.a: undefined symbol _setjmp referenced from text segment
  42.  
  43. I am using gcc 2.2.2d with jumptable 4.1 which I obtained from tsx-11
  44. in early September.  I did a quick grep of the files in my /usr/lib and
  45. found that it (_setjmp) is referenced in libc.a, so why doesn't this
  46. work?
  47.  
  48.  
  49.                     Scott
  50. ---
  51. I still can't open the 'fixed' font from XEGA
  52.