Created
October 21, 2011 22:24
-
-
Save rdp/1305144 to your computer and use it in GitHub Desktop.
trying to build mplayer (which apparently builds ffmpeg) on mingw/msys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mplayer svn checkout | |
even with --disable-pthread | |
CC libavcodec/pthread.o | |
libavcodec/pthread.c:39:7: warning: "HAVE_W32THREADS" is not defined | |
libavcodec/pthread.c:47:5: error: expected specifier-qualifier-list before 'pthread_t' | |
libavcodec/pthread.c:72:5: error: expected specifier-qualifier-list before 'pthread_t' | |
libavcodec/pthread.c:122:5: error: expected specifier-qualifier-list before 'pthread_mutex_t' | |
libavcodec/pthread.c: In function 'worker': | |
libavcodec/pthread.c:139:20: error: 'ThreadContext' has no member named 'job_count' | |
libavcodec/pthread.c:143:5: error: implicit declaration of function 'pthread_mutex_lock' | |
libavcodec/pthread.c:143:26: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:144:16: error: 'ThreadContext' has no member named 'current_job' | |
libavcodec/pthread.c:146:28: error: 'ThreadContext' has no member named 'job_count' | |
libavcodec/pthread.c:147:18: error: 'ThreadContext' has no member named 'current_job' | |
libavcodec/pthread.c:147:51: error: 'ThreadContext' has no member named 'job_count' | |
libavcodec/pthread.c:148:17: error: implicit declaration of function 'pthread_cond_signal' | |
libavcodec/pthread.c:148:39: error: 'ThreadContext' has no member named 'last_job_cond' | |
libavcodec/pthread.c:150:13: error: implicit declaration of function 'pthread_cond_wait' | |
libavcodec/pthread.c:150:33: error: 'ThreadContext' has no member named 'current_job_cond' | |
libavcodec/pthread.c:150:55: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:153:18: error: 'ThreadContext' has no member named 'done' | |
libavcodec/pthread.c:154:17: error: implicit declaration of function 'pthread_mutex_unlock' | |
libavcodec/pthread.c:154:40: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:158:32: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:160:10: error: 'ThreadContext' has no member named 'rets' | |
libavcodec/pthread.c:160:26: error: 'ThreadContext' has no member named 'rets_count' | |
libavcodec/pthread.c:160:43: error: 'ThreadContext' has no member named 'func' | |
libavcodec/pthread.c:160:53: error: 'ThreadContext' has no member named 'func' | |
libavcodec/pthread.c:160:75: error: 'ThreadContext' has no member named 'args' | |
libavcodec/pthread.c:160:93: error: 'ThreadContext' has no member named 'job_size' | |
libavcodec/pthread.c:161:53: error: 'ThreadContext' has no member named 'func2' | |
libavcodec/pthread.c:161:69: error: 'ThreadContext' has no member named 'args' | |
libavcodec/pthread.c:163:30: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:164:20: error: 'ThreadContext' has no member named 'current_job' | |
libavcodec/pthread.c: In function 'avcodec_thread_park_workers': | |
libavcodec/pthread.c:170:25: error: 'ThreadContext' has no member named 'last_job_cond' | |
libavcodec/pthread.c:170:44: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:171:28: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c: In function 'thread_free': | |
libavcodec/pthread.c:179:26: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:180:6: error: 'ThreadContext' has no member named 'done' | |
libavcodec/pthread.c:181:5: error: implicit declaration of function 'pthread_cond_broadcast' | |
libavcodec/pthread.c:181:30: error: 'ThreadContext' has no member named 'current_job_cond' | |
libavcodec/pthread.c:182:28: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:185:10: error: implicit declaration of function 'pthread_join' | |
libavcodec/pthread.c:185:24: error: 'ThreadContext' has no member named 'workers' | |
libavcodec/pthread.c:187:5: error: implicit declaration of function 'pthread_mutex_destroy' | |
libavcodec/pthread.c:187:29: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:188:5: error: implicit declaration of function 'pthread_cond_destroy' | |
libavcodec/pthread.c:188:28: error: 'ThreadContext' has no member named 'current_job_cond' | |
libavcodec/pthread.c:189:28: error: 'ThreadContext' has no member named 'last_job_cond' | |
libavcodec/pthread.c:190:14: error: 'ThreadContext' has no member named 'workers' | |
libavcodec/pthread.c: In function 'avcodec_thread_execute': | |
libavcodec/pthread.c:205:26: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:207:6: error: 'ThreadContext' has no member named 'current_job' | |
libavcodec/pthread.c:208:6: error: 'ThreadContext' has no member named 'job_count' | |
libavcodec/pthread.c:209:6: error: 'ThreadContext' has no member named 'job_size' | |
libavcodec/pthread.c:210:6: error: 'ThreadContext' has no member named 'args' | |
libavcodec/pthread.c:211:6: error: 'ThreadContext' has no member named 'func' | |
libavcodec/pthread.c:213:10: error: 'ThreadContext' has no member named 'rets' | |
libavcodec/pthread.c:214:10: error: 'ThreadContext' has no member named 'rets_count' | |
libavcodec/pthread.c:216:10: error: 'ThreadContext' has no member named 'rets' | |
libavcodec/pthread.c:217:10: error: 'ThreadContext' has no member named 'rets_count' | |
libavcodec/pthread.c:219:30: error: 'ThreadContext' has no member named 'current_job_cond' | |
libavcodec/pthread.c: In function 'avcodec_thread_execute2': | |
libavcodec/pthread.c:229:6: error: 'ThreadContext' has no member named 'func2' | |
libavcodec/pthread.c: In function 'thread_init': | |
libavcodec/pthread.c:246:6: error: 'ThreadContext' has no member named 'workers' | |
libavcodec/pthread.c:246:36: error: 'pthread_t' undeclared (first use in this function) | |
libavcodec/pthread.c:246:36: note: each undeclared identifier is reported only once for each function it appears in | |
libavcodec/pthread.c:247:11: error: 'ThreadContext' has no member named 'workers' | |
libavcodec/pthread.c:253:6: error: 'ThreadContext' has no member named 'current_job' | |
libavcodec/pthread.c:254:6: error: 'ThreadContext' has no member named 'job_count' | |
libavcodec/pthread.c:255:6: error: 'ThreadContext' has no member named 'job_size' | |
libavcodec/pthread.c:256:6: error: 'ThreadContext' has no member named 'done' | |
libavcodec/pthread.c:257:5: error: implicit declaration of function 'pthread_cond_init' | |
libavcodec/pthread.c:257:25: error: 'ThreadContext' has no member named 'current_job_cond' | |
libavcodec/pthread.c:258:25: error: 'ThreadContext' has no member named 'last_job_cond' | |
libavcodec/pthread.c:259:5: error: implicit declaration of function 'pthread_mutex_init' | |
libavcodec/pthread.c:259:26: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:260:26: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c:262:9: error: implicit declaration of function 'pthread_create' | |
libavcodec/pthread.c:262:29: error: 'ThreadContext' has no member named 'workers' | |
libavcodec/pthread.c:264:35: error: 'ThreadContext' has no member named 'current_job_lock' | |
libavcodec/pthread.c: In function 'frame_worker_thread': | |
libavcodec/pthread.c:288:30: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:292:14: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:292:25: error: 'STATE_INPUT_READY' undeclared (first use in this function) | |
libavcodec/pthread.c:292:51: error: 'FrameThreadContext' has no member named 'die' | |
libavcodec/pthread.c:293:34: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:294:21: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:294:58: error: 'FrameThreadContext' has no member named 'die' | |
libavcodec/pthread.c:295:37: error: 'PerThreadContext' has no member named 'input_cond' | |
libavcodec/pthread.c:295:53: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:296:36: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:299:17: error: 'FrameThreadContext' has no member named 'die' | |
libavcodec/pthread.c:304:30: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:305:38: error: 'PerThreadContext' has no member named 'frame' | |
libavcodec/pthread.c:306:10: error: 'PerThreadContext' has no member named 'got_frame' | |
libavcodec/pthread.c:307:10: error: 'PerThreadContext' has no member named 'result' | |
libavcodec/pthread.c:307:44: error: 'PerThreadContext' has no member named 'frame' | |
libavcodec/pthread.c:307:55: error: 'PerThreadContext' has no member named 'got_frame' | |
libavcodec/pthread.c:307:70: error: 'PerThreadContext' has no member named 'avpkt' | |
libavcodec/pthread.c:309:14: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:309:25: error: 'STATE_SETTING_UP' undeclared (first use in this function) | |
libavcodec/pthread.c:311:10: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:313:30: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:314:31: error: 'PerThreadContext' has no member named 'output_cond' | |
libavcodec/pthread.c:315:32: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:317:32: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c: In function 'free_progress': | |
libavcodec/pthread.c:411:6: error: 'PerThreadContext' has no member named 'progress_used' | |
libavcodec/pthread.c:411:35: error: 'PerThreadContext' has no member named 'progress' | |
libavcodec/pthread.c: In function 'release_delayed_buffers': | |
libavcodec/pthread.c:419:13: error: 'PerThreadContext' has no member named 'num_released_buffers' | |
libavcodec/pthread.c:422:33: error: 'FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c:423:15: error: 'PerThreadContext' has no member named 'released_buffers' | |
libavcodec/pthread.c:423:37: error: 'PerThreadContext' has no member named 'num_released_buffers' | |
libavcodec/pthread.c:428:35: error: 'FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c: In function 'submit_packet': | |
libavcodec/pthread.c:436:23: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:437:21: error: 'PerThreadContext' has no member named 'avpkt' | |
libavcodec/pthread.c:441:26: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:447:24: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:447:35: error: 'STATE_SETTING_UP' undeclared (first use in this function) | |
libavcodec/pthread.c:448:44: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:449:31: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:450:47: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:450:76: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:451:46: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:454:43: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:454:63: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:456:36: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:461:28: error: 'PerThreadContext' has no member named 'allocated_buf_size' | |
libavcodec/pthread.c:462:6: error: 'PerThreadContext' has no member named 'avpkt' | |
libavcodec/pthread.c:463:6: error: 'PerThreadContext' has no member named 'avpkt' | |
libavcodec/pthread.c:467:6: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:468:27: error: 'PerThreadContext' has no member named 'input_cond' | |
libavcodec/pthread.c:469:28: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:477:11: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:478:11: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:479:17: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:479:28: error: 'STATE_SETUP_FINISHED' undeclared (first use in this function) | |
libavcodec/pthread.c:479:53: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:479:64: error: 'STATE_INPUT_READY' undeclared (first use in this function) | |
libavcodec/pthread.c:480:34: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:481:21: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:482:37: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:482:56: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:484:18: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:484:29: error: 'STATE_GET_BUFFER' undeclared (first use in this function) | |
libavcodec/pthread.c:485:18: error: 'PerThreadContext' has no member named 'result' | |
libavcodec/pthread.c:485:30: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:485:51: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:485:61: error: 'PerThreadContext' has no member named 'requested_frame' | |
libavcodec/pthread.c:486:18: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:487:39: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:489:36: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c: In function 'ff_thread_decode_frame': | |
libavcodec/pthread.c:503:24: error: 'FrameThreadContext' has no member named 'next_finished' | |
libavcodec/pthread.c:511:28: error: 'FrameThreadContext' has no member named 'next_decoding' | |
libavcodec/pthread.c:512:31: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:516:9: error: 'FrameThreadContext' has no member named 'next_decoding' | |
libavcodec/pthread.c:522:13: error: 'FrameThreadContext' has no member named 'delaying' | |
libavcodec/pthread.c:523:17: error: 'FrameThreadContext' has no member named 'next_decoding' | |
libavcodec/pthread.c:523:65: error: 'FrameThreadContext' has no member named 'delaying' | |
libavcodec/pthread.c:539:14: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:539:25: error: 'STATE_INPUT_READY' undeclared (first use in this function) | |
libavcodec/pthread.c:540:34: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:541:21: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:542:37: error: 'PerThreadContext' has no member named 'output_cond' | |
libavcodec/pthread.c:542:54: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:543:36: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:546:21: error: 'PerThreadContext' has no member named 'frame' | |
libavcodec/pthread.c:547:29: error: 'PerThreadContext' has no member named 'got_frame' | |
libavcodec/pthread.c:548:29: error: 'PerThreadContext' has no member named 'avpkt' | |
libavcodec/pthread.c:556:10: error: 'PerThreadContext' has no member named 'got_frame' | |
libavcodec/pthread.c:559:67: error: 'FrameThreadContext' has no member named 'next_finished' | |
libavcodec/pthread.c:561:40: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:563:13: error: 'FrameThreadContext' has no member named 'next_decoding' | |
libavcodec/pthread.c:563:57: error: 'FrameThreadContext' has no member named 'next_decoding' | |
libavcodec/pthread.c:565:9: error: 'FrameThreadContext' has no member named 'next_finished' | |
libavcodec/pthread.c:567:13: error: 'PerThreadContext' has no member named 'result' | |
libavcodec/pthread.c: In function 'ff_thread_report_progress': | |
libavcodec/pthread.c:582:26: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:584:30: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:585:28: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c: In function 'ff_thread_await_progress': | |
libavcodec/pthread.c:600:26: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:602:29: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:602:48: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:603:28: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c: In function 'ff_thread_finish_setup': | |
libavcodec/pthread.c:611:9: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:611:20: error: 'STATE_SETUP_FINISHED' undeclared (first use in this function) | |
libavcodec/pthread.c:615:26: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:616:6: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:617:30: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:618:28: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c: In function 'park_frame_worker_threads': | |
libavcodec/pthread.c:629:14: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:629:25: error: 'STATE_INPUT_READY' undeclared (first use in this function) | |
libavcodec/pthread.c:630:34: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:631:21: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:632:37: error: 'PerThreadContext' has no member named 'output_cond' | |
libavcodec/pthread.c:632:54: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:633:36: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c: In function 'frame_thread_free': | |
libavcodec/pthread.c:647:49: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:647:75: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:649:9: error: 'FrameThreadContext' has no member named 'die' | |
libavcodec/pthread.c:654:30: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:655:31: error: 'PerThreadContext' has no member named 'input_cond' | |
libavcodec/pthread.c:656:32: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:658:23: error: 'PerThreadContext' has no member named 'thread' | |
libavcodec/pthread.c:661:27: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:671:39: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:673:33: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:674:33: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:675:32: error: 'PerThreadContext' has no member named 'input_cond' | |
libavcodec/pthread.c:676:32: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:677:32: error: 'PerThreadContext' has no member named 'output_cond' | |
libavcodec/pthread.c:678:20: error: 'PerThreadContext' has no member named 'avpkt' | |
libavcodec/pthread.c:681:24: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:683:20: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:687:32: error: 'FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c: In function 'frame_thread_init': | |
libavcodec/pthread.c:707:29: error: 'FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c:708:9: error: 'FrameThreadContext' has no member named 'delaying' | |
libavcodec/pthread.c:714:30: error: 'PerThreadContext' has no member named 'mutex' | |
libavcodec/pthread.c:715:30: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:716:29: error: 'PerThreadContext' has no member named 'input_cond' | |
libavcodec/pthread.c:717:29: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:718:29: error: 'PerThreadContext' has no member named 'output_cond' | |
libavcodec/pthread.c:721:10: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:725:23: error: 'PerThreadContext' has no member named 'avpkt' | |
libavcodec/pthread.c:745:26: error: 'PerThreadContext' has no member named 'thread' | |
libavcodec/pthread.c: In function 'ff_thread_flush': | |
libavcodec/pthread.c:765:56: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:765:81: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:767:49: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:770:9: error: 'FrameThreadContext' has no member named 'next_decoding' | |
libavcodec/pthread.c:770:31: error: 'FrameThreadContext' has no member named 'next_finished' | |
libavcodec/pthread.c:771:9: error: 'FrameThreadContext' has no member named 'delaying' | |
libavcodec/pthread.c: In function 'allocate_progress': | |
libavcodec/pthread.c:780:15: error: 'PerThreadContext' has no member named 'progress_used' | |
libavcodec/pthread.c:783:17: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:787:6: error: 'PerThreadContext' has no member named 'progress_used' | |
libavcodec/pthread.c:789:13: error: 'PerThreadContext' has no member named 'progress' | |
libavcodec/pthread.c: In function 'ff_thread_get_buffer': | |
libavcodec/pthread.c:806:10: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:806:21: error: 'STATE_SETTING_UP' undeclared (first use in this function) | |
libavcodec/pthread.c:812:34: error: 'struct FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c:816:40: error: 'struct FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c:827:10: error: 'PerThreadContext' has no member named 'requested_frame' | |
libavcodec/pthread.c:828:10: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:828:20: error: 'STATE_GET_BUFFER' undeclared (first use in this function) | |
libavcodec/pthread.c:829:30: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:830:31: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:832:17: error: 'PerThreadContext' has no member named 'state' | |
libavcodec/pthread.c:833:33: error: 'PerThreadContext' has no member named 'progress_cond' | |
libavcodec/pthread.c:833:52: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:835:16: error: 'PerThreadContext' has no member named 'result' | |
libavcodec/pthread.c:837:32: error: 'PerThreadContext' has no member named 'progress_mutex' | |
libavcodec/pthread.c:843:36: error: 'struct FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c: In function 'ff_thread_release_buffer': | |
libavcodec/pthread.c:865:10: error: 'PerThreadContext' has no member named 'num_released_buffers' | |
libavcodec/pthread.c:866:17: error: 'PerThreadContext' has no member named 'avctx' | |
libavcodec/pthread.c:875:29: error: 'FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c:876:6: error: 'PerThreadContext' has no member named 'released_buffers' | |
libavcodec/pthread.c:876:26: error: 'PerThreadContext' has no member named 'num_released_buffers' | |
libavcodec/pthread.c:877:31: error: 'FrameThreadContext' has no member named 'buffer_mutex' | |
libavcodec/pthread.c: In function 'ff_thread_init': | |
libavcodec/pthread.c:913:5: warning: "HAVE_W32THREADS" is not defined | |
libavcodec/pthread.c: In function 'allocate_progress': | |
libavcodec/pthread.c:790:1: warning: control reaches end of non-void function | |
libavcodec/pthread.c: In function 'ff_thread_decode_frame': | |
libavcodec/pthread.c:568:1: warning: control reaches end of non-void function | |
make[1]: *** [libavcodec/pthread.o] Error 1 | |
make[1]: Leaving directory `/c/dev/ruby/downloads/mplayer-checkout-2011-10-21/ffmpeg' | |
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2 | |
bash-3.1$ ./configure --help | grep pthread | |
--disable-pthreads disable Posix threads support [autodetect] | |
bash-3.1$ ./configure --disable-iconv --yasm='' --disable-pthreads | |
fix: | |
add | |
#define HAVE_W32THREADS 1 | |
to top of libavcodec\pthread.c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment