Re: Zoneminder build failure

From: Mark Felder <feld_at_feld.me>
Date: Mon, 01 Jul 2013 06:33:51 -0500
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?
Received on Mon Jul 01 2013 - 09:34:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC