Hi all,
I'm trying to compiling the latest ReactOS on ubuntu. However, I met
some problems(I can build it on Windows successfully). Could you help
me to have a look? The following is what I did:
1. Get the latest cdoe from SVN, svn co
svn://svn.reactos.org/reactos/trunk/reactos/
2. Install MinGW64, sudo apt-get install gcc-ming-w64
3. modify Makefile, ROS_PREFIX = i686-w64-mingw32
4. compiling error is as below:
-------------------------------------------------------------------------------------------------------
marvin@marvin-VirtualBox:~/reactos/src/latest/reactos$ make
[CC] dll/win32/aclui/sidcache.c
dll/win32/aclui/sidcache.c: In function ‘LookupSidInformation’:
dll/win32/aclui/sidcache.c:216:11: error: variable ‘SidLength’ set but
not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make: *** [obj-i386/dll/win32/aclui/sidcache_aclui.o] Error 1
-------------------------------------------------------------------------------------------------------
My questions are:
1. Which version of MinGW on linux did you use?
2. How to control compiling program to build Rlease and Debug version?
Thanks.
Marvin