Hello all:

I'm writing PAM modules for smartcard support. Got
it working on Linux, but I'm having compile errors with Solaris.

I am attempting to get pcsc-lite compiling on Solaris 8.
I'm using gcc 2.95.2 and I've tried pcsc-lite 0.7.8 to 0.8.9.
All return the same errors:

sys_unix.c: In function `SYS_LockFile':
sys_unix.c:55: `LOCK_EX' undeclared (first use in this function)
sys_unix.c:55: (Each undeclared identifier is reported only once
sys_unix.c:55: for each function it appears in.)
sys_unix.c:55: `LOCK_NB' undeclared (first use in this function)
make[1]: *** [sys_unix.o] Error 1
make[1]: Leaving directory `/export/home/peteri/SmartCard/pcsc-lite-0.8.9'
make: *** [solaris] Error 2

I thing its a Solaris problem. LOCK_EX and LOCK_NB should be defined
in sys/file.h. But they are not.

Any thoughts would be appreciated.
 
 

-- 
Peter Iannarelli                  | Tel: 1+ 613-599-2441 ext 230
CRYPTOCard Corporation            | Fax: 1+ 613-599-2442
Suite 304, 300 March Road         | Email: [EMAIL PROTECTED]
Kanata, Ontario, Canada  K2K 2E2  | Web: www.CRYPTOCard.com
 


Reply via email to