Re: GCC lib troubles after HAMM upgrade

1998-08-10 Thread Havoc Pennington

On Sun, 9 Aug 1998, Doug Thistlethwaite wrote:
 
 /home/src/interpreter.c:851: undefined reference to `crypt'
 

I think crypt is in a separate library, so you need -lcrypt on the link
line. No idea whether this changed between bo and hamm though.

HTH,
Havoc Pennington  http://pobox.com/~hp


Re: GCC lib troubles after HAMM upgrade

1998-08-10 Thread Martin Bialasinski

 HP == Havoc Pennington [EMAIL PROTECTED] writes:

HP I think crypt is in a separate library, so you need -lcrypt on the link
HP line. No idea whether this changed between bo and hamm though.

This is new in libc6 IIRC.

Ciao,
Martin


Re: GCC lib troubles after HAMM upgrade

1998-08-10 Thread Doug Thistlethwaite
That did the trick!

Thanks,

Doug

P.S: Just for future information...  Where would one find out that this was 
moved into
its own library?  I obviously didn't look in the right place.


Havoc Pennington wrote:

 On Sun, 9 Aug 1998, Doug Thistlethwaite wrote:
 
  /home/src/interpreter.c:851: undefined reference to `crypt'
 

 I think crypt is in a separate library, so you need -lcrypt on the link
 line. No idea whether this changed between bo and hamm though.

 HTH,
 Havoc Pennington  http://pobox.com/~hp

 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null




Re: GCC lib troubles after HAMM upgrade

1998-08-10 Thread jdassen
On Sun, Aug 09, 1998 at 10:14:17PM -0700, Doug Thistlethwaite wrote:
 P.S: Just for future information...  Where would one find out that this
 was moved into its own library?  I obviously didn't look in the right
 place.

/usr/doc/libc6/FAQ.gz

HTH,
Ray
-- 
POPULATION EXPLOSION  Unique in human experience, an event which happened 
yesterday but which everyone swears won't happen until tomorrow.  
- The Hipcrime Vocab by Chad C. Mulligan 


Re: GCC lib troubles after HAMM upgrade

1998-08-10 Thread Ed Cogburn
Doug Thistlethwaite wrote:
 
 That did the trick!
 
 Thanks,
 
 Doug
 
 P.S: Just for future information...  Where would one find out that this was 
 moved into
 its own library?  I obviously didn't look in the right place.


I'm not sure if this is what you are asking for, but 'dpkg -S crypt'
would have told you that there was a /usr/lib/libcrypt.so.  FWIW.

 
 Havoc Pennington wrote:
 
  On Sun, 9 Aug 1998, Doug Thistlethwaite wrote:
  
   /home/src/interpreter.c:851: undefined reference to `crypt'
  
 
  I think crypt is in a separate library, so you need -lcrypt on the link
  line. No idea whether this changed between bo and hamm though.
 
  HTH,
  Havoc Pennington  http://pobox.com/~hp
 

-- 
Ed C.


GCC lib troubles after HAMM upgrade

1998-08-09 Thread Doug Thistlethwaite
Hello all,

Well, I seem to be having more problems then I expected after upgrading to
hamm.  This is probably someting simple except I can't seem to figure out where
to start looking.

I have a MUD which I have successfully compiled on my pre-upgraded bo system as
well as some redhat  erven other hamm systems!

I get the following message during the link phase:

/home/src/interpreter.c:851: undefined reference to `crypt'

(In several places)

The crypt function is defined in unistd.h  which I have included (thus no
compile time error).

Does this problem have something to do with the new libraries?  Anyone have an
ideas?  This code has compiled on other HAMM systems I have worked on...

Thanks,

Doug