Hi Luigi,
I tried to compile your camfroglogin.c with gcc (cygwin). I've already checked to make sure all headers file are there (openssl/aes.h, openssl/dh.h). Therefore, I didn't get any "No such file or directory" error, but I got these "undefined reference" errors:
I compiled it using: gcc -o camfroglogin.exe camfroglogin.c
These are the errors:
/cygdrive/c/DOCUME~1/Pat/LOCALS~1/Temp/ccyeoL7T.o: camfroglogin.c:(.text+0x69): undefined reference to '_AES_cfb128_encrypt' /cygdrive/c/DOCUME~1/Pat/LOCALS~1/Temp/ccyeoL7T.o: camfroglogin.c:(.text+0xe7): undefined reference to '_AES_cfb128_encrypt' /cygdrive/c/DOCUME~1/Pat/LOCALS~1/Temp/ccyeoL7T.o: camfroglogin.c:(.text+0x140): undefined reference to '_DH_new' /cygdrive/c/DOCUME~1/Pat/LOCALS~1/Temp/ccyeoL7T.o: camfroglogin.c:(.text+0x18f): undefined reference to '_BN_mpi2bn' /cygdrive/c/DOCUME~1/Pat/LOCALS~1/Temp/ccyeoL7T.o: camfroglogin.c:(.text+0x1d2): undefined reference to '_BN_mpib2n' . . . . /cygdrive/c/DOCUME~1/Pat/LOCALS~1/Temp/ccyeoL7T.o: camfroglogin.c:(.text+0x331): undefined reference to '_DH_free'
Please help, Thanks
|