Zoneminder build failure
Mark Felder
feld at feld.me
Mon Jul 1 11:34:01 UTC 2013
On Sun, 30 Jun 2013 16:19:48 -0500, Saul A. Peebsen <jaglover at gmail.com>
wrote:
> Running -CURRENT, I'm getting this:
>
> c++ -O2 -pipe -march=core2 -fno-strict-aliasing -L/usr/local/lib
> -L/usr/local/lib/mysql -lpthread -o zmc zmc.o zm_box.o zm_buffer.o
> zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o
> zm_logger.o zm_event.o zm_exception.o zm_file_camera.o
> zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o
> zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o
> zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o
> zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o
> zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o
> zm_user.o zm_utils.o zm_zone.o -lz -lbz2 -lswscale -lavdevice
> -lavformat -lavcodec -lavutil -lz -lpcre -lcrypto -lc -lpthread -ljpeg
> -lmysqlclient zm_timer.o: In function `Timer::TimerThread::run()':
> zm_timer.cpp:(.text+0x428): undefined reference to
> `ThreadData<bool>::setValue(bool)' c++: error: linker command failed
> with exit code 1 (use -v to see invocation) *** Error code 1
>
> Is there a fix for it?
>
I haven't had a chance to look at that port or build it recently, but is
it being built by CLANG on current? If so, is it fixed if you tell it to
build with GCC?
More information about the freebsd-current
mailing list