odin1314 / yara-project

Automatically exported from code.google.com/p/yara-project
Apache License 2.0
0 stars 0 forks source link

Windows build broken (VS2010) #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Check out Revision 160
2. Open yara.sln and Attempt to build

What is the expected output? What do you see instead?
Expected to build... Instead see the following output:

1>Link:
1>     Creating library 
C:\DEV\yara-project-read-only\windows\yara\Debug\yara.lib and object 
C:\DEV\yara-project-read-only\windows\yara\Debug\yara.exp
1>libyara32.lib(ast.obj) : error LNK2019: unresolved external symbol _hash 
referenced in function _lookup_rule
1>C:\DEV\yara-project-read-only\windows\yara\Debug\yara.exe : fatal error 
LNK1120: 1 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.18

I've tried including hash.c in the libyara project and including "hash.h" 
within ast.c; this does not fix the issue.

What version of the product are you using? On what operating system?
Visual Studio 2010 on Windows 7 x64, compiling as 32 bit.

Original issue reported on code.google.com by nathanie...@gmail.com on 25 Sep 2012 at 2:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Remove the inline for hash and hash_update functions.

Original comment by pierrel...@gmail.com on 28 Nov 2012 at 11:12

GoogleCodeExporter commented 9 years ago

Original comment by plus...@gmail.com on 4 Apr 2013 at 2:26