On Mon, 17 May 2021, Antoine Jacoutot wrote:

> On Sun, May 16, 2021 at 01:00:20AM -0600, Paco Esteban wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: [email protected]    2021/05/16 01:00:20
> > 
> > Modified files:
> >     www/hugo       : Makefile distinfo 
> > Added files:
> >     www/hugo       : modules.inc 
> > 
> > Log message:
> > update www/hugo to 0.83.1
> > while here moved MODGO_MODULES to modules.inc
> > 
> > tested by Ian Darwin (ian at darwinsys.com).
> > "looks good to me" abieber@
> 
> The extended FLAVOR failed to build for me.
> 
> github.com/bep/gowebp/internal/libwebp
> # github.com/bep/gowebp/internal/libwebp
> ld: error: undefined symbol: log10
> >>> referenced by frame_enc.c:555 (../../libwebp_src/src/enc/frame_enc.c:555)
> >>>               $WORK/b309/_x053.o:(VP8EncLoop)
> >>> referenced by frame_enc.c:555 (../../libwebp_src/src/enc/frame_enc.c:555)
> >>>               $WORK/b309/_x053.o:(VP8EncTokenLoop)
> >>> referenced by picture_psnr_enc.c:129 
> >>> (../../libwebp_src/src/enc/picture_psnr_enc.c:129)
> >>>               $WORK/b309/_x078.o:(WebPPlaneDistortion)
> >>> referenced 6 more times
> 
> ld: error: undefined symbol: log
> >>> referenced by lossless_enc.c:376 
> >>> (../../libwebp_src/src/dsp/lossless_enc.c:376)
> >>>               $WORK/b309/_x061.o:(FastLog2Slow_C)
> >>> referenced by lossless_enc.c:351 
> >>> (../../libwebp_src/src/dsp/lossless_enc.c:351)
> >>>               $WORK/b309/_x061.o:(FastSLog2Slow_C)
> >>> referenced by picture_psnr_enc.c:123 
> >>> (../../libwebp_src/src/enc/picture_psnr_enc.c:123)
> >>>               $WORK/b309/_x078.o:(WebPPlaneDistortion)
> >>> referenced 1 more times
> 
> ld: error: undefined symbol: pow
> >>> referenced by picture_csp_enc.c:201 
> >>> (../../libwebp_src/src/enc/picture_csp_enc.c:201)
> >>>               $WORK/b309/_x076.o:(ImportYUVAFromRGBA)
> >>> referenced by picture_csp_enc.c:100 
> >>> (../../libwebp_src/src/enc/picture_csp_enc.c:100)
> >>>               $WORK/b309/_x076.o:(ImportYUVAFromRGBA)
> >>> referenced by picture_csp_enc.c:100 
> >>> (../../libwebp_src/src/enc/picture_csp_enc.c:100)
> >>>               $WORK/b309/_x076.o:(ImportYUVAFromRGBA)
> >>> referenced 3 more times
> cc: error: linker command failed with exit code 1 (use -v to see invocation)

You're right, the extended FLAVOR was missing -lm on LDFLAGS
I committed a fix.

Thanks.

-- 
Paco Esteban.
0x5818130B8A6DBC03

Reply via email to