[FFmpeg-trac] #99(FFmpeg:new): Build failure on OpenBSD (wrt sem_timedwait)

FFmpeg trac at avcodec.org
Sat Apr 23 11:23:56 CEST 2011


#99: Build failure on OpenBSD (wrt sem_timedwait)
--------------------------+---------------------
  Reporter:  vext01       |      Owner:  michael
      Type:  defect       |     Status:  new
  Priority:  normal       |  Component:  FFmpeg
   Version:  unspecified  |   Keywords:  openbsd
Blocked By:               |   Blocking:
Reproduced:  0            |   Analyzed:  0
--------------------------+---------------------
 On today's git I get the following build failure:

 % V=1 gmake
 gcc -L"/home/edd/source/ffmpeg"/libavcodec
 -L"/home/edd/source/ffmpeg"/libavdevice
 -L"/home/edd/source/ffmpeg"/libavfilter
 -L"/home/edd/source/ffmpeg"/libavformat
 -L"/home/edd/source/ffmpeg"/libavutil
 -L"/home/edd/source/ffmpeg"/libpostproc
 -L"/home/edd/source/ffmpeg"/libswscale -L/usr/local/lib -Wl,--as-needed
 -Wl,--warn-common -Wl,-rpath-link,"/home/edd/source/ffmpeg"/libpostproc
 -Wl,-rpath-link,"/home/edd/source/ffmpeg"/libswscale -Wl,-rpath-
 link,"/home/edd/source/ffmpeg"/libavfilter -Wl,-rpath-
 link,"/home/edd/source/ffmpeg"/libavdevice -Wl,-rpath-
 link,"/home/edd/source/ffmpeg"/libavformat -Wl,-rpath-
 link,"/home/edd/source/ffmpeg"/libavcodec -Wl,-rpath-
 link,"/home/edd/source/ffmpeg"/libavutil -o ffmpeg_g ffmpeg.o cmdutils.o
 -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lavutil -lossaudio
 -lossaudio -lsndio -ljack -lmp3lame -lm -pthread -lbz2 -lz
 /home/edd/source/ffmpeg/libavformat/libavformat.a(avio.o)(.text+0x695): In
 function `url_alloc_for_protocol':
 libavformat/avio.c:100: warning: strcpy() is almost always misused, please
 use strlcpy()
 /usr/local/lib/libjack.so.0.0: warning: sprintf() is often misused, please
 use snprintf()
 /usr/local/lib/libjack.so.0.0: warning: strcat() is almost always misused,
 please use strlcat()
 /home/edd/source/ffmpeg/libavdevice/libavdevice.a(jack_audio.o)(.text+0x8a2):
 In function `audio_read_packet':
 libavdevice/jack_audio.c:277: undefined reference to `sem_timedwait'
 collect2: ld returned 1 exit status
 gmake: *** [ffmpeg_g] Error 1


 It seems OpenBSD does not implement sem_timedwait(). I am running OpenBSD-
 current.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/99>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list