On Fri, Apr 21, 2006 at 08:54:58AM +0200, Andreas Jellinghaus wrote:
> http://www.opensc-project.org/files/openct/testing/openct-0.6.7-rc1.tar.gz
> and
> http://www.opensc-project.org/files/opensc/testing/opensc-0.11.0-rc1.tar.gz
>
> documentation needs polishing and of course lots of testing. please give
> us a hand, and report any problem you find with these new releases.
>
> for openct I already updated the NEWS file with all changes I remember.
> please have a look, if I forgot anyone, please let me know.
Hello Andreas,
During compilation on OpenSolaris svn_37 (SPARC/x86) of the
openct-0.6.7-rc1 I encountered some minor build issues:
The PATH_MAX define isn't available while compiling src/ct/socket.c on
OpenSolaris. The patch below adds an include of limits.h specificly for
sun. You might consider to include limits.h anyway.
--- openct-0.6.7-rc1/src/ct/socket.c.orig 2006-04-21 08:37:58.000000000
+0200
+++ openct-0.6.7-rc1/src/ct/socket.c 2006-04-23 21:11:57.141988000 +0200
@@ -7,6 +7,9 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#ifdef sun
+#include <limits.h>
+#endif
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
The procedure ct_status_unlock has no return value but one execution path
returns NULL, which causes compile errors with the Sun Studio 10/11
compilers.
--- openct-0.6.7-rc1/src/ct/status.c.orgi Sun Apr 23 21:38:41 2006
+++ openct-0.6.7-rc1/src/ct/status.c Sun Apr 23 21:38:53 2006
@@ -207,7 +207,7 @@
char status_lock_path[PATH_MAX];
if (! ct_format_path(status_lock_path, PATH_MAX, "status.lock")) {
- return NULL;
+ return;
}
unlink(status_lock_path);
Furthermore some very small fixes in the sys-solaris.c to fix
missing return type on close_ep procedure and typo on the
"ifd_sysdep_usb_open" function name:
--- openct-0.6.7-rc1/src/ifd/sys-solaris.c.orig Fri Apr 21 08:37:58 2006
+++ openct-0.6.7-rc1/src/ifd/sys-solaris.c Sun Apr 23 22:02:54 2006
@@ -185,6 +185,7 @@
return 0;
}
+void
close_ep(int interface, int endpoint, int direction)
{
if (interfaces[interface][endpoint].ep_fd[direction]) {
@@ -528,7 +529,7 @@
return 0;
}
-int ifd_sysdep_usb:open(const char *device)
+int ifd_sysdep_usb_open(const char *device)
{
return open(device, O_RDWR);
}
I'll try to test these releases with some tokens/smartcards
later this evening.
Regards,
William Wanders
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel