renatobianchini / eid-mw

Automatically exported from code.google.com/p/eid-mw
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Change r1319 introduces Windows Registry specific code, causing build to fail on Linux #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Build eid-mw from trunk on Linux
2.
3.

What is the expected output? What do you see instead?
I expect: build ok.
Got :
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
-DHAVE_CONFIG_H -I.  -I./../common/src -I./../cardlayer/src -I./../dialogs/src 
-I./src/include/rsaref220 -I./../dialogs/src -pthread -I/usr/include/PCSC     
-march=native -mtune=native -pipe -O3 -c -o libbeidpkcs11_la-object.lo `test -f 
'src/object.c' || echo './'`src/object.c^M
src/log.c: In function 'log_init':^M
src/log.c:74:2: error: unknown type name 'DWORD'^M
src/log.c:75:2: error: unknown type name 'HKEY'^M
src/log.c:76:2: error: unknown type name 'BYTE'^M
src/log.c:77:2: error: unknown type name 'DWORD'^M
src/log.c:85:25: error: 'HKEY_LOCAL_MACHINE' undeclared (first use in this 
function)^M
src/log.c:85:25: note: each undeclared identifier is reported only once for 
each function it appears in^M
src/log.c:85:75: error: 'KEY_READ' undeclared (first use in this function)^M
src/log.c:87:15: error: 'ERROR_SUCCESS' undeclared (first use in this 
function)^M
src/log.c:100:5: error: 'LPBYTE' undeclared (first use in this function)^M
src/log.c:100:13: error: expected ')' before 'lpData'^M
src/log.c:107:19: error: 'LPSTR' undeclared (first use in this function)^M
src/log.c:107:25: error: expected ')' before 'lpData'^M
src/log.c:109:30: error: expected ')' before 'lpData'^M
src/log.c:111:30: error: expected ')' before 'lpData'^M
src/log.c:113:30: error: expected ')' before 'lpData'^M
src/log.c:115:30: error: expected ')' before 'lpData'^M
src/log.c:130:13: error: expected ')' before 'lpData'^M
make[3]: *** [libbeidpkcs11_la-log.lo] Error 1^M

What version of the product are you using? On what operating system?
eid-mw from trunk
Exherbo Linux/Linux 3.5.3/GCC 4.7.2

Please provide any additional information below.

Original issue reported on code.google.com by superhe...@gmail.com on 6 Oct 2012 at 5:31

GoogleCodeExporter commented 9 years ago
Sorry about that, I'll get to it right away.

Original comment by frederik...@gmail.com on 8 Oct 2012 at 8:01

GoogleCodeExporter commented 9 years ago
commented out the widows' specifics.

Thank you for reporting

Original comment by frederik...@gmail.com on 8 Oct 2012 at 9:27