Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 14:55

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Compiling problem
PostPosted: 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
 Profile  
 
 
 Post subject: Re: Compiling problem
PostPosted: 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
 Profile  
 
 Post subject: Re: Compiling problem
PostPosted: 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
 Profile  
 
 Post subject: Re: Compiling problem
PostPosted: 23 Nov 2009 07:39 

Joined: 22 Nov 2009 19:24
Posts: 4
its ok i found the file


Top
 Profile  
 
 Post subject: Re: Compiling problem
PostPosted: 26 Nov 2009 18:21 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
http://code.google.com/p/msinttypes/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC [ DST ]


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

Search for: