[cmake-developers] Static Bootstrap: CCMake & GPM

Huebl, Axel a.huebl at hzdr.de
Tue Dec 8 03:59:20 EST 2015


Hello Gregor,

On 08.12.2015 09:33, Gregor Jasny wrote:
> Hello Axel,
> 
> On 08/12/15 01:53, Huebl, Axel wrote:
>>> My problem: I found that in the last step of linking ccmake against a
>>> static (pre-compiled, ubuntu 12.04) ncurses library leads to linker
>>> errors such as:
>>>
>>> /usr/lib/x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function
>>> `_nc_mouse_event':
> 
> Could you please post the content of
> /usr/lib/x86_64-linux-gnu/pkgconfig/ncurses.pc ?
> 
> 
> Thanks,
> Gregor
>

Thanks for the quick reply, it's:

$ cat /usr/lib/x86_64-linux-gnu/pkgconfig/ncurses.pc
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib/x86_64-linux-gnu
includedir=${prefix}/include
major_version=5
version=5.9.20110404

Name: ncurses
Description: ncurses 5.9 library
Version: ${version}
Requires: tinfo
Libs: -L${libdir} -lncurses
Cflags:


$ cat /usr/lib/x86_64-linux-gnu/pkgconfig/tinfo.pc
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib/x86_64-linux-gnu
includedir=${prefix}/include
major_version=5
version=5.9.20110404

Name: tinfo
Description: ncurses 5.9 terminal interface library
Version: ${version}
Requires:
Libs: -L${libdir} -ltinfo
Cflags:


Thanks,
Axel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5119 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151208/4c6ed9b7/attachment.bin>


More information about the cmake-developers mailing list