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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
cschloemer
Posts: 1
Joined: 2011-01-18T14:57:08-07:00
Authentication code: 8675308

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

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

We have a patch in ImageMagick 6.6.7-2 Beta, available by sometime tomorrow, to fix the problem you reported. Thanks.
Post Reply