Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Pine 3.96J and glibc6 again



On Thu, 15 Jan 1998, Craig Oda wrote:

> cc -g -O -DNFSKLUDGE  -o mtest mtest.o c-client.a 
> mtest.o: In function `prompt':
> /home/craig/apps/pine/pine3.96/imap/ANSI/c-client/mtest.c:460: the `gets' function is dangerous and should not be used.
> c-client.a(osdep.o): In function `server_login':
> /home/craig/apps/pine/pine3.96/imap/ANSI/c-client/log_std.c:52: undefined reference to `crypt'
> make[1]: *** [mtest] Error 1
> make[1]: Leaving directory `/home/craig/apps/pine/pine3.96/imap/ANSI/c-client'
> make: *** [lnx] Error 2

"-lcrypt" is missing from the link flags.  Edit ... hmmm,
imap/ANSI/c-client/Makefile and add -lcrypt (and remove -lbsd if it's
there).

> I wonder if it is possible if my gcc did not come with the crypt add-on?
> Should I recompile gcc from source?

It wouldn't be gcc -- it'd be glibc.  If you can log in, your glibc is
probably okay.

(side note: gcc-2.8 is out.  I'd recommend skipping it in favor of
egcs-1.0.1, as egcs produces faster [and most likely more stable] code)

> Alternately, anyone want to share binaries for pine3.96J compiled
> with glibc6 with me?  The ones compiled with libc5 are dumping
> core on me.  I'm supposed to right the pine section of the book,
> but now I can't even get it to run.  :-(  :-(   

*laugh* I can build you binaries if you want.  I can't give you the ones
I'm using, as they're compiled against a recent glibc-2.1 snapshot (which
worries me -- 2.1 doesn't run very many 2.0-linked binaries).  I do still
have a glibc-2.0.6 system that will serve as a dev box in a pinch ...

--	Chris (wileyc@example.com)

---------------------------------------------------------------
Next Saturday Meeting: 14 February 1998 12:30 Tokyo Station
Yaesu Chuo ticket gate.
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links