Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Mar 2005 15:11:25 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        "Vanilla I. Shu" <vanilla@fatpipi.cirx.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: imlib2 port broken on RELENG_4?
Message-ID:  <200503071511.26128.ringworm01@gmail.com>
In-Reply-To: <20050307225525.GA53136@fatpipi.cirx.org>
References:  <1110223267.1739.64.camel@think> <20050307225122.GA53015@fatpipi.cirx.org> <20050307225525.GA53136@fatpipi.cirx.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 07 March 2005 02:55 pm, you wrote:
> On Tue, Mar 08, 2005 at 06:51:22AM +0800, Vanilla I. Shu wrote:
> > On Mon, Mar 07, 2005 at 12:35:20PM -0800, Michael C. Shultz wrote:
> > > On Monday 07 March 2005 12:05 pm, Michael C. Shultz wrote:
> > > > version 4.11 but it is in /usr/include/math.h in version 5.3. 
> > > > I cc'ed the maintainer.
> > > >
> > > > -Mike
> > >
> > > I have a little more info:
> > > FreeBSD 4.11 lround doesn't seem to be in /usr/lib/libm.so.2
> > > FreeBSD 5.3 lround is in libm.so.3 (/usr/lib/libm.so)
> > > So maybe the newest imlib2 is no longer feasible on 4.11?
> > > I noticed the previous version compiled fine on 4.11.
> >
> > Hi:
> > Could you try this fix?
> > http://mail-index.netbsd.org/pkgsrc-bugs/2005/01/16/0009.html
>
> or
>
> sed -e 's|lround|(long int)rint|g' color_helpers.c
> --
> storlen from ports/biology/xdrawchem/Makefile.

I made the patch, it applied cleanly but I get this error now :(

c -O -pipe -march=k6 -o .libs/imlib2_conv imlib2_conv.o  
-L/usr/local/lib -L/usr/X11R6/lib ../../src/lib/.libs/libImlib2.so 
-lfreetype -lz -lX11 -lXext -lm -Wl,--rpath -Wl,/usr/X11R6/lib
../../src/lib/.libs/libImlib2.so: undefined reference to `round'
*** Error code 1

Stop in /tmp/ad1/ports/graphics/imlib2/work/imlib2-1.2.0/src/bin.
*** Error code 1

Stop in /tmp/ad1/ports/graphics/imlib2/work/imlib2-1.2.0/src.
*** Error code 1

Stop in /tmp/ad1/ports/graphics/imlib2/work/imlib2-1.2.0.
*** Error code 1

Stop in /tmp/ad1/ports/graphics/imlib2/work/imlib2-1.2.0.



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