Page 1 of 1

undefined reference to carg (bug?) and workaround for FBSD7

Posted: 2011-01-18T15:06:32-07:00
by cschloemer
Hi, folks, I had a build problem with the latest release, and I was able to find a workaround I'd like to share with everyone.

Here's my output from "convert --version":

Version: ImageMagick 6.6.7-1 2011-01-18 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP

...and the output from "uname -a":

FreeBSD fezzik 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Mon Jan 18 16:54:19 CST 2010 root@fezzik:/usr/src/sys/amd64/compile/FEZZIK amd64

During the build, make complains thusly:

undefined reference to `carg'

This is an older release of FreeBSD, and apparently carg is something that was added to the version 8 releases. There's a patch here:

http://lists.freebsd.org/pipermail/free ... 56450.html

After applying that, everything builds just fine. I searched the bugs forum to see if anyone had posted about carg, but didn't see anything. I hope this is helpful. :-)

cs

Re: undefined reference to carg (bug?) and workaround for FB

Posted: 2011-01-18T15:28:46-07:00
by magick
We have a patch in ImageMagick 6.6.7-2 Beta, available by sometime tomorrow, to fix the problem you reported. Thanks.