home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9064 < prev    next >
Encoding:
Text File  |  1992-08-25  |  2.0 KB  |  41 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!news.claremont.edu!fenris!jwinstea
  3. From: jwinstea@fenris.claremont.edu (Jim Winstead Jr.)
  4. Subject: Re: gcc can't find scandir or alphasort?
  5. Message-ID: <1992Aug25.210421.9586@muddcs.claremont.edu>
  6. Sender: news@muddcs.claremont.edu (The News System)
  7. Organization: Harvey Mudd College, WIBSTR
  8. References: <1992Aug25.165215.149530@ns1.cc.lehigh.edu>
  9. Date: Tue, 25 Aug 1992 21:04:21 GMT
  10. Lines: 29
  11.  
  12. In article <1992Aug25.165215.149530@ns1.cc.lehigh.edu> dlj0@ns1.cc.lehigh.edu (DAVID L. JOHNSON) writes:
  13. >Sorry if this is a FAQ, but I can't seem to find the answer.  I'm trying to
  14. >compile aXe-3.0.1 under linus-0.96c/gcc-2.2.2.  I cna't seem to get around the
  15. >fact that the subroutines alphasort and scandir seem to be missing.  Any help?
  16.  
  17. Grab the scandir source from the BSD sources, make a small change
  18. (instead of using dirent.length use strlen(dirent.name) or something
  19. like that), and link it with aXe - works like a charm.
  20.  
  21. It would probably be nice to have scandir and alphasort (alphasort is
  22. with scandir in the BSD sources) included in libc.a, but just for
  23. peace of mind I'd recommend someone else reimplment it from scratch -
  24. they are both very trivial functions, and take up less space than the
  25. BSD copyright.  :)
  26.  
  27. >I just compiled aXe-3.0.1 on my office machine (an rs6000), and it's the best
  28. >mouse-based editor around.  Really nice features.  I know it'll work here once
  29. >I get around this problem, since commenting out that stuff got it going -
  30. >but of course it crashes when I ask it to sort a directory for a file.
  31.  
  32. Are you sure you've got aXe running okay, and it's not dumping core
  33. every once in a while?  Try using one of the menu options that closes
  34. all buffers and exits, and I'm willing to bet you'll get a nice core
  35. file.
  36. -- 
  37.                                     +      Jim Winstead Jr. (CSci '95)
  38.                                     |      Harvey Mudd College, WIBSTR
  39.                                     |   jwinstea@jarthur.Claremont.EDU
  40.                                     + or jwinstea@fenris.Claremont.EDU
  41.