Gilles Detillieux (email@example.com)
Fri, 20 Aug 1999 16:07:46 -0500 (CDT)
According to Ryan Thomas:
> Took care of that; but now I'm getting the same kind of error regarding
> Connection.cc and the functions accept, listen, bind, close and
> connect. *sigh*
> Any more advice?...perhaps on how I can generally determine my C library
Generally, the configure program looks after the common C library
compatibility issues, but a certain minimal UNIX compatibility is still
assumed. Certainly, without functions like accept, listen, bind, close
and connect, you're going to have a very hard time getting any UNIX-based
TCP/IP software to port to MacOS X. I guess you're going to need read
and write as well. I wasn't thinking that far when I gave my previous
answer! Maybe the libraries are there, but not where configure or the
Makefiles expect to find them. You may need to add library options to
Makefile.config so that ld looks through all the libraries it need to,
e.g. if there's a separate UNIX compatibility library. If it's not there,
you'll need to find out where such a library is available, install it,
then add the appropriate options in Makefile.config.
> At 02:22 PM 8/20/99 -0500, Gilles Detillieux wrote:
> >According to Ryan Thomas:
> > > I took care of the malloc.h error (includes need to point to
> > sys/malloc.h);
> > > but now I'm getting the following error. Can anyone help?
> > >
> > > /usr/bin/ld: ../htlib/libht.a(String.o) has external relocation entries in
> > > non-writable section (__TEXT,__text) for symbols: _write
> >Sounds like an undefined external reference, in a convoluted language. :)
> >Does MacOS X not have a write() system call or function in its C library?
> >If not, it may not matter. I don't think the String::write() method
> >is used anyway, so you can probably safely remove the call to ::write()
> >in that method (htlib/String.cc, line 201 in 3.1.2) and just set result
> >to -1, or ifdef out all the code and return -1.
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig mailing list, send a message to email@example.com containing the single word unsubscribe in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Fri Aug 20 1999 - 14:09:20 PDT