-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

aledr wrote:

>> No deal with gdb in this case:
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x000000000040061a in main ()

Compile like this:

   gcc -Wall -g -o testcrypt testcrypt.c -lcrypt

Then gdb:

   gdb ./testcrypt
   gdb> run

It should tell you what line it failed at.

>> But It doesn't have: #include <crypt.h>
>> ;D

Woops.  Did including crypt.h fix it?
- --
/*
    Matt Brookings <m...@inter7.com>       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknVCKgACgkQ6QgvSNlBT3CXSQCeN+CN0GUWDLFwbJ/lPvEM+0b5
pAgAmgJx7qbMestk4dB4g+ooRYzOrP35
=lWYd
-----END PGP SIGNATURE-----

Reply via email to