compiling 0.2.73 on OpenBSD (2.9-current)

Christophe Massiot massiot at via.ecp.fr
Mon Jun 4 20:26:57 CEST 2001


À (At) 22:51 +0200 3/06/01, Felix Kronlage écrivait (wrote) :

>Changed it to DL_LAZY. Seemed to work. Now it stops at the following
>point (still 0.2.73):

You will probably need to link against an extra library, like 
-lthreads or -lpthreads or whatever... (see man pthread_mutex_init)

>|gcc  -DSYS_OPENBSD2_9   -Iinclude -Iextras -I/usr/local/include 
>-Wall -Winline -D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math 
>-funroll-loops -fomit-frame-pointer -march=pentium -mcpu=pentium -o 
>vlc src/interface/main.o src/interface/interface.o 
>src/interface/intf_msg.o src/interface/intf_cmd.o 
>src/interface/intf_ctrl.o src/interface/intf_playlist.o 
>src/interface/intf_channels.o src/interface/intf_console.o 
>src/interface/intf_urldecode.o  src/input/input_ext-dec.o 
>src/input/input_ext-intf.o src/input/input_dec.o 
>src/input/input_programs.o src/input/input_netlist.o 
>src/input/input_clock.o src/input/input.o src/input/mpeg_system.o 
>src/video_output/video_output.o src/video_output/video_text.o 
>src/video_output/video_spu.o src/video_output/video_yuv.o 
>src/audio_output/audio_output.o src/audio_output/aout_fifo.o 
>src/audio_output/aout_u8.o src/audio_output/aout_s8.o 
>src/audio_output/aout_u16.o src/audio_output/aout_s16.o 
>src/ac3_decoder/ac3_decoder_thread.o src/ac3_decoder/ac3_decoder.o 
>src/ac3_decoder/ac3_parse.o src/ac3_decoder/ac3_exponent.o 
>src/ac3_decoder/ac3_bit_allocate.o src/ac3_decoder/ac3_mantissa.o 
>src/ac3_decoder/ac3_rematrix.o src/ac3_decoder/ac3_imdct.o 
>src/ac3_decoder/ac3_downmix.o src/ac3_decoder/ac3_downmix_c.o 
>src/lpcm_decoder/lpcm_decoder_thread.o 
>src/lpcm_decoder/lpcm_decoder.o src/audio_decoder/audio_decoder.o 
>src/audio_decoder/adec_generic.o src/audio_decoder/adec_layer1.o 
>src/audio_decoder/adec_layer2.o src/audio_decoder/adec_math.o 
>src/spu_decoder/spu_decoder.o  src/video_parser/video_parser.o 
>src/video_parser/vpar_headers.o src/video_parser/vpar_blocks.o 
>src/video_parser/vpar_synchro.o src/video_parser/video_fifo.o 
>src/video_decoder/video_decoder.o src/misc/mtime.o src/misc/tests.o 
>src/misc/rsc_files.o src/misc/modules.o src/misc/netutils.o 
>extras/GNUgetopt/getopt.o extras/GNUgetopt/getopt1.o   lib/es.a 
>lib/ps.a lib/ts.a lib/yuv.a lib/idct.a lib/idctclassic.a 
>lib/motion.a lib/dvd.a lib/dummy.a lib/null.a lib/rc.a -rdynamic 
>-L/usr/local/lib $LIB_ES $LIB_PS $LIB_TS $LIB_YUV $LIB_IDCT 
>$LIB_IDCTCLASSIC $LIB_MOTION $LIB_DVD $LIB_DUMMY $LIB_NULL $LIB_RC 
>-Wall --export-dynamic
>|src/interface/interface.o: Undefined symbol `_pthread_mutex_init' 
>referenced from text segment
>|src/interface/interface.o: Undefined symbol `_pthread_mutex_lock' 
>referenced from text segment
>|src/interface/interface.o: Undefined symbol `_pthread_mutex_unlock' 
>referenced from text segment
>|src/interface/interface.o: Undefined symbol 
>`_pthread_mutex_destroy' referenced from text segment
>|src/interface/intf_msg.o: Undefined symbol `_pthread_mutex_lock' 
>referenced from text segment
>|src/interface/intf_msg.o: Undefined symbol `_pthread_mutex_unlock' 
>referenced from text segment
>|src/interface/intf_msg.o: Undefined symbol `_pthread_mutex_init' 
>referenced from text segment
>|src/interface/intf_msg.o: Undefined symbol `_pthread_mutex_destroy' 
>referenced from text segment
>|src/interface/intf_msg.o: Undefined symbol `_pthread_mutex_lock' 
>referenced from text segment
>|src/interface/intf_msg.o: Undefined symbol `_pthread_mutex_unlock' 
>referenced from text segment
>|src/interface/intf_playlist.o: Undefined symbol 
>`_pthread_mutex_lock' referenced from text segment
>|src/interface/intf_playlist.o: Undefined symbol 
>`_pthread_mutex_unlock' referenced from text segment
>|src/interface/intf_playlist.o: Undefined symbol 
>`_pthread_mutex_unlock' referenced from text segment
>|src/interface/intf_playlist.o: Undefined symbol 
>`_pthread_mutex_lock' referenced from text segment
>|src/interface/intf_playlist.o: Undefined symbol 
>`_pthread_mutex_unlock' referenced from text segment
>
>-fkr
>--
>gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0  8A48 0D31 9BD3 D9AC 74D0
>   |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE  |
>   |all your base are belong to us  |  shame on me  | fkr at IRCnet |


-- 
Christophe Massiot.




More information about the vlc-devel mailing list