It worked almost perfect, I only had to apply the following changes:

diff -ur o2scr/etc/Makefile o2scr2/etc/Makefile
--- o2scr/etc/Makefile  2007-12-17 08:43:53.000000000 +0100
+++ o2scr2/etc/Makefile 2008-01-13 17:38:32.000000000 +0100
@@ -2,4 +2,5 @@
 
 install:
        install -D reader.conf $(PREFIX)/etc/reader.conf.d/o2scr.conf
+       chmod a-x  $(PREFIX)/etc/reader.conf.d/o2scr.conf
        update-reader.conf
diff -ur o2scr/src/ozctapi/Makefile o2scr2/src/ozctapi/Makefile
--- o2scr/src/ozctapi/Makefile  2007-12-17 08:44:13.000000000 +0100
+++ o2scr2/src/ozctapi/Makefile 2008-01-13 18:01:33.000000000 +0100
@@ -5,7 +5,7 @@
 #======================================================



-CFLAGS = -Wall -O2  -I/usr/include/PCSC -fPIC

+CFLAGS = -Wall -O2  -I/usr/include/PCSC -fPIC -fno-stack-protector

 OBJS   = ctapi.o ifdhandler.o

 TARGET = lib_OZSCR.so


diff -ur o2scr/src/ozscrlx/Makefile o2scr2/src/ozscrlx/Makefile
--- o2scr/src/ozscrlx/Makefile  2007-12-18 10:58:02.000000000 +0100
+++ o2scr2/src/ozscrlx/Makefile 2008-01-13 18:03:18.000000000 +0100
@@ -8,6 +8,7 @@
        EXTRA_CFLAGS+=-DPCMCIA_DEBUG
 endif
 
+EXTRA_CFLAGS+=-fno-stack-protector
 obj-m := o2scr.o
 
 o2scr-objs := ozscrlx.o

-- 
O2Micro Smartcard reader doesn't work, but the driver is available
https://bugs.launchpad.net/bugs/74724
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to