dvd+rw tools (growisofs) problem

Steve O'Hara-Smith steve at sohara.org
Mon Mar 6 04:19:18 PST 2006


	I managed to get dvd+rw tools to build with a small change to
the existing pkgsrc patches (to exclude the call to mlockall for DragonFly as well as for NetBSD). Unfortunately it fails to work exiting with the error

:-( failed to create thread: Resource temporarily unavailable

	Which implies pthread_create failed with an EAGAIN error. This is on 1.5.0-PREVIEW. From my (admittedly limited) understanding of pthreads the
code and the compile options seem to be correct.

	The simple patch for patches/patch-ac that got it to compile is:

--- patch-ac    1 Feb 2006 12:51:27 -0000       1.3
+++ patch-ac    5 Mar 2006 15:48:08 -0000
@@ -24,7 +24,7 @@
      /* I'd rather do it right after I allocate ring buffer and fire off
       * threads, but I'll be running without extra privileges by then:-( */
-+#ifndef __NetBSD__
++#if (!defined (__NetBSD__)) && (!defined (__DragonFly__))

C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/

More information about the Users mailing list