[GRASS5] _gtty & _stty errors

Eric G . Miller egm2 at jps.net
Sun Dec 10 02:12:27 EST 2000


On Sat, Dec 09, 2000 at 09:35:41PM -0800, Jeshua Lacock wrote:
> 
> On Saturday, December 9, 2000, at 07:06 PM, Eric G . Miller wrote:
> 
> > > OK, I'm back after re-installing my system. 
> > >  
> > > It appears that gtty and stty are defined in the header libc.h (which 
> > > is on my system), however I cannot locate the archive libc.a anywhere 
> > > on my system.  I suspect that this may be the problem, can someone 
> > > confirm this? 
> > >  
> > > Does anyone know where to get libc.a?  Would it work if someone 
> > > emailed it to me (off list, of course)? 
> >  
> > You need to get a copy of the static C library for Mac OS X.  Possibly 
> > available in developer's resources or some such.  Apparently you only 
> > have the shared libes ?? (libc.so or libc.o).  It's likely much to big 
> > to mail and it *must* be built for that system.  Mine weighs in around 
> > 2.5 MB. 
> 
> Hi Eric,
> 
> Thanks for your help.
> 
> I'm not sure about your question.  In /usr/include I have libc.h and
> libc.p (no libc.o or libc.so).  I do not have any libc*.* files in
> /usr/lib....

I find it hard to believe there is no C library.  Did you check in /lib
as well? (it wouldn't be in an include directory).  How'd you manage to
build stuff before without the static library?  I always get a linker
error (but then, all the shared libraries are stripped of symbols too).

> I am having a hard time finding the static C lib.  Does GNU have a
> distribution? Maybe gcc?

Yes, but there're complications with having more than one C library on
the system, especially if they're from different "vendors".

> If you ftp'ed the lib, could I build it for my system?  If so, please
> ftp to ftp.SierraMaps.com/pub/

Yes you could get GNU Libc, but maybe you'd be better off getting the
libc that gets distributed with the BSD's (I believe it's different).

I think that maybe you could build it in /usr/local/lib, but then you
may or may not need to use an LD_PRELOAD=/usr/local/lib/libc.so.6 or
whatever in order to run GRASS programs and not have them do weird
things.  I don't know for sure.

-- 
Eric G. Miller <egm2 at jps.net>

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list