Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jul 2013 06:33:51 -0500
From:      "Mark Felder" <feld@feld.me>
To:        freebsd-current@freebsd.org
Subject:   Re: Zoneminder build failure
Message-ID:  <op.wzjjqpbm34t2sn@tech304.office.supranet.net>
In-Reply-To: <20130630161948.0d44c69d@zeus.saul.homeunix.org>
References:  <20130630161948.0d44c69d@zeus.saul.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Jun 2013 16:19:48 -0500, Saul A. Peebsen <jaglover@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wzjjqpbm34t2sn>