Opened 11 years ago
Closed 11 years ago
#1531 closed defect (fixed)
comile error under cygwin
Reported by: | cybero2912 | Owned by: | |
---|---|---|---|
Priority: | blocker | Component: | General |
Severity: | high | Keywords: | cygwin |
Cc: | Sensitive: | no |
Description
Revision
4550
Issue Description
won't compile successfully
When the issue occurs
always
How the issue is reproducable
compile latest SVN under cygwin
compile log:
[ 62%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smargo.o
/home/user1/oscam-svn/csctapi/ifd_smargo.c:11:1: error: "LOBYTE" redefined
In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/windows.h:48,
from /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/rpc.h:2,
from /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/wtypes.h:1,
from /home/user1/oscam-svn/csctapi/../cygwin/WinSCard.h:30,
from /home/user1/oscam-svn/csctapi/../globals.h:90,
from /home/user1/oscam-svn/csctapi/ifd_smargo.c:2:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/windef.h:133:1: error: this is the location of the previous definition
/home/user1/oscam-svn/csctapi/ifd_smargo.c:12:1: error: "HIBYTE" redefined
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/windef.h:134:1: error: this is the location of the previous definition
make[2]: * [csctapi/CMakeFiles/csctapi.dir/ifd_smargo.o] Error 1
make[1]: * [csctapi/CMakeFiles/csctapi.dir/all] Error 2
make: * [all] Error 2
fixed by _network with 4552