Hi Kumar. As you wrote:
rc\win-pkg>"C:\MinGW\bin\gcc.exe" -o "ossec-agent" -Wall > -DARGV0=\"ossec-agent\ > " -DCLIENT -DWIN32 -DOSSECHIDS icon.o os_regex/*.c os_net/*.c os_xml/*.c > zlib-1. > 2.8/*.c config/*.c shared/*.c os_execd/*.c os_crypto/blowfish/*.c > os_crypto/md5/ > *.c os_crypto/sha1/*.c os_crypto/md5_sha1/*.c os_crypto/shared/*.c > rootcheck/*.c > *.c -I. -Iheaders/ -lwsock32 It doesn't seem to link the library "shlwapi", which contains the function PathFindFileName(). Please review the file "make.bat" and make sure that the option "-lshlwapi" appears at every line of an executable that fails on compile. As an example: "C:\MinGW\bin\gcc.exe" -o "ossec-agent" -Wall -DARGV0=\"ossec-agent\" -DCLIENT -DWIN32 -DOSSECHIDS icon.o os_regex/*.c os_net/*.c os_xml/*.c zlib-1.2.8/*.c config/*.c shared/*.c os_execd/*.c os_crypto/blowfish/*.c os_crypto/md5/*.c os_crypto/sha1/*.c os_crypto/md5_sha1/*.c os_crypto/shared/*.c rootcheck/*.c *.c -I. -Iheaders/ -lwsock32 -lshlwapi Best regards. Victor Fernandez. -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.