Changes between Initial Version and Version 3 of Ticket #3144
- Timestamp:
- Mar 24, 2016, 2:08:58 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3144
-
Property
Status
changed from
new
toclosed
- Property Port cdrtools added
-
Property
Resolution
changed from
to
fixed
-
Property
Summary
changed from
cdrtools 2.01: cdda2wav does not build
toBUG: cdrtools 2.01: cdda2wav does not build
-
Property
Status
changed from
-
Ticket #3144 – Description
initial v3 1 PROBLEM 1 PROBLEM\\ 2 2 The cdda2wav program, part of the cdrtools 2.01 port, fails to link on Darwin 8.1.0 (Mac OS X 10.4) 3 3 with the error: 4 4 5 {{{ 5 6 ... 6 7 /usr/bin/ld: warning prebinding disabled because of undefined symbols … … 10 11 gnumake[1]: *** [OBJ/powerpc-darwin-cc/cdda2wav] Error 1 11 12 ... 13 }}} 12 14 13 15 The port continues to build and is installed successfully, with the exception of cdda2wav. 14 16 15 CAUSE 17 CAUSE\\ 16 18 System function sched_setscheduler is not available in Darwin 8.1.0; in /usr/include/unistd.h, 17 19 _POSIX_PRIORITY_SCHEDULING is defined to be -1. However, in cdda2wav.c there is only a check … … 19 21 sched_setscheduler is included in the code. 20 22 21 SOLUTION 23 SOLUTION\\ 22 24 Extend the check of _POSIX_PRIORITY_SCHEDULING with a test of its value, for example: 23 25 24 26 ======== patch for cdrtools-2.01/cdda2wav/cdda2wav.c ======== 27 {{{ 25 28 --- cdda2wav/cdda2wav.c.orig 2004-08-24 17:06:14.000000000 +0200 26 29 +++ cdda2wav/cdda2wav.c 2005-05-19 17:18:14.000000000 +0200 … … 34 37 35 38 static void 39 }}} 36 40 ======== end of patch for cdrtools-2.01/cdda2wav/cdda2wav.c ========