Luigi Auriemma

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

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: need some help compiling
PostPosted: 07 Mar 2008 22:15 

Joined: 07 Mar 2008 22:06
Posts: 2
hello aluigi

first thanks a lot for your great stuff

i have got some problems to compil steampwd (v0.2)

first i tried to compil it on visual studio c++ but i had a lot of errors
i'm now on mingw but i get some errors too

my command line is :
Code:
gcc -o steampwd.exe "blabla\steampwd.c" -lws2_32


the errors :
Code:
C:\DOCUME~1\Vincent\LOCALS~1\Temp/ccY3baaa.o:steampwd.c:(.text+0x233): undefined
reference to `GetOpenFileNameA@4'
C:\DOCUME~1\Vincent\LOCALS~1\Temp/ccY3baaa.o:steampwd.c:(.text+0x495): undefined
reference to `sha2'
C:\DOCUME~1\Vincent\LOCALS~1\Temp/ccY3baaa.o:steampwd.c:(.text+0x55e): undefined
reference to `sha2'
C:\DOCUME~1\Vincent\LOCALS~1\Temp/ccY3baaa.o:steampwd.c:(.text+0x594): undefined
reference to `sha1_hmac'
C:\DOCUME~1\Vincent\LOCALS~1\Temp/ccY3baaa.o:steampwd.c:(.text+0x5ff): undefined
reference to `aes_setkey_enc'
C:\DOCUME~1\Vincent\LOCALS~1\Temp/ccY3baaa.o:steampwd.c:(.text+0x64c): undefined
reference to `aes_crypt_cfb'
C:\DOCUME~1\Vincent\LOCALS~1\Temp/ccY3baaa.o:steampwd.c:(.text+0x6f3): undefined
reference to `aes_crypt_cfb'
C:\DOCUME~1\Vincent\LOCALS~1\Temp/ccY3baaa.o:steampwd.c:(.text+0x738): undefined
reference to `aes_crypt_cfb'
collect2: ld returned 1 exit status


i wish you could help me
thanks


Top
 Profile  
 
 
 Post subject:
PostPosted: 08 Mar 2008 01:22 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
it's very simple, try the following
Code:
gcc -c src\padlock.c
gcc  -o steampwd.exe src\steampwd.c src\sha2.c src\sha1.c src\aes_inverted.c padlock.o c:\mingw\lib\libcomdlg32.a


Top
 Profile  
 
 Post subject:
PostPosted: 08 Mar 2008 13:41 

Joined: 07 Mar 2008 22:06
Posts: 2
it's work, thanks for your suddenness


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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:
cron