home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / no / unix / 55 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.1 KB  |  34 lines

  1. Newsgroups: no.unix
  2. Path: sparky!uunet!gossip.pyramid.com!decwrl!sgi!sgigate!sgiblab!ifi.uio.no!nuug!ugle.unit.no!ugle.unit.no!he
  3. From: Havard.Eidnes@runit.sintef.no
  4. Subject: Re: bash for sun4
  5. Message-ID: <1993Jan9.151245.6274@ugle.unit.no>
  6. Originator: he@ugle.unit.no
  7. Sender: news@ugle.unit.no (NetNews Administrator)
  8. Organization: University of Trondheim, Norway
  9. References: <1992Dec22.115746.18075@ugle.unit.no>
  10. Date: Sat, 9 Jan 93 15:12:45 GMT
  11. Lines: 21
  12.  
  13. In article <1992Dec22.115746.18075@ugle.unit.no> trondk@zevs.ifi.unit.no (Trond Kandal) writes:
  14. >
  15. >eg har litt probelmer med aa kompilere opp bash for sun4.  Under lenking seier
  16. >den at den ikkje finn "_alloca".
  17. >...
  18. >Eg kjoeyrer altsaa Sun4 og SunOS 4.1.1.
  19.  
  20. Jeg tror dette m} bero p} en konfigureringsfeil i oppsettet av kompileringen
  21. av bash. alloca finnes i /usr/lib/libc.a slik:
  22.  
  23. % nm -op /lib/libc.a | egrep alloca
  24. /lib/libc.a:alloca.o:00000000 T ___builtin_alloca
  25. %
  26.  
  27. Det er mao. en forutsetning at <alloca.h> blir inkludert -- klipper derfra:
  28.  
  29. #if defined(sparc)
  30. # define alloca(x) __builtin_alloca(x)
  31. #endif
  32.  
  33. - H}vard
  34.