HomeFreeBSD

MFH: r425964

Description

MFH: r425964

multimedia/kodi: Fix linking error on FreeBSD

gmake[3]: Leaving directory '/usr/ports/multimedia/kodi/work/xbmc-f4dda26/xbmc/cores/dvdplayer/DVDInputStreams'
CPP xbmc/guilib/TextureManager.o
CPP xbmc/guilib/VisibleEffect.o
CPP xbmc/guilib/XBTF.o
CPP xbmc/guilib/XBTFReader.o
CPP xbmc/guilib/TextureGL.o
CPP xbmc/guilib/GUIFontTTFGL.o
CPP xbmc/guilib/GUITextureGL.o
CPP xbmc/guilib/MatrixGLES.o
AR xbmc/guilib/guilib.a
gmake[3]: Leaving directory '/usr/ports/multimedia/kodi/work/xbmc-f4dda26/xbmc/guilib'
LD kodi.bin
xbmc/guilib/guilib.a(DDSImage.o): In function `CDDSImage::Compress(unsigned int, unsigned int, unsigned int, unsigned char const*, double)':
DDSImage.cpp:(.text+0x5b0): undefined reference to `squish::CompressImage(unsigned char const*, int, int, int, void*, int, float*)'
DDSImage.cpp:(.text+0x5e2): undefined reference to `squish::ComputeMSE(unsigned char const*, int, int, int, unsigned char const*, int, double&, double&)'
DDSImage.cpp:(.text+0x6ea): undefined reference to `squish::CompressImage(unsigned char const*, int, int, int, void*, int, float*)'
DDSImage.cpp:(.text+0x718): undefined reference to `squish::ComputeMSE(unsigned char const*, int, int, int, unsigned char const*, int, double&, double&)'
DDSImage.cpp:(.text+0x75f): undefined reference to `squish::CompressImage(unsigned char const*, int, int, int, void*, int, float*)'
DDSImage.cpp:(.text+0x78d): undefined reference to `squish::ComputeMSE(unsigned char const*, int, int, int, unsigned char const*, int, double&, double&)'
xbmc/guilib/guilib.a(DDSImage.o): In function `CDDSImage::Decompress(unsigned char*, unsigned int, unsigned int, unsigned int, unsigned char const*, unsigned int)':
DDSImage.cpp:(.text+0x9a5): undefined reference to `squish::DecompressImage(unsigned char*, int, int, int, void const*, int)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:486: recipe for target 'kodi.bin' failed
gmake[2]: *** [kodi.bin] Error 1
gmake[2]: Leaving directory '/usr/ports/multimedia/kodi/work/xbmc-f4dda26'

> Compilation failed unexpectedly.

Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.

  • Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/kodi

  • Error code 1

Stop.
make: stopped in /usr/ports/multimedia/kodi

PR: 204380
Submitted by: Tomasz Sowa <bugsfreebsd@ttmath.org>
Reported by: Andrew <andrew_terekhov@yahoo.com>
Reviewed by: feld, junovitch, koobs (mentors)
Approved by: Mickael Maillot (maintainer timeout, 9 months), feld, junovitch, koobs (mentors)

Approved by: ports-secteam (feld)

Details

Provenance
cpmAuthored on
Reviewer
feld
Parents
rP425966: - Update to 0.2.2
Branches
Unknown
Tags
Unknown