|
Luigi Auriemmaaluigi.org (ARCHIVE-ONLY FORUM!) |
|
It is currently 19 Jul 2012 14:55
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
patkhor
|
Post subject: Compiling problem Posted: 13 Nov 2008 04:57 |
|
Joined: 05 Nov 2008 00:20 Posts: 6
|
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
|
|
Top |
|
|
|
|
|
|
|
aluigi
|
Post subject: Re: Compiling problem Posted: 13 Nov 2008 12:47 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
add -lssl or, if doesn't work, -lcrypto at the end of the command and it will do the job
|
|
Top |
|
|
Saffn
|
Post subject: Re: Compiling problem Posted: 22 Nov 2009 23:46 |
|
Joined: 22 Nov 2009 19:24 Posts: 4
|
fatal error C1083: Cannot open include file: 'stdint.h'
i get this error but i have put the file in... 'stdint.h'
why/////?
|
|
Top |
|
|
Saffn
|
Post subject: Re: Compiling problem Posted: 23 Nov 2009 07:39 |
|
Joined: 22 Nov 2009 19:24 Posts: 4
|
|
Top |
|
|
aluigi
|
Post subject: Re: Compiling problem Posted: 26 Nov 2009 18:21 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
|
Top |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|