Problems gone when i reinstalled libc6-dev, now hello world compiling fine,
but the problem is that after removing lib6c-dev a lot of other packages
was deleted and when I trying to install them back I have error (Unable to
correct problems, you have held broken packages)

Anyway, thanks a lot, I finally figured it out

2017-10-19 1:20 GMT+06:00 <to...@tuxteam.de>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, Oct 19, 2017 at 01:04:05AM +0600, Evgeny wrote:
> > Thanks all for answers, libc6-dev was installed. And more intresting, any
> > "bits/locale.h" among indlude files that you listed have already existed
> in
> > my system. but g++ continue give me error message that there is no such
> > file or directory
> >
> > even if I use -I/usr/include/x86_64-linux-gnu/ flag or add directory in
> > cmake include directories
> >
> > What can it be?
>
> Strange. I'd try to eliminate actors one by one. What happens if you bypass
> cmake and call g++ directly?
>
> Another approach is to call g++ under strace and see what files it tries
> to open (caution: this will produce copious output: use the -o option
> to let strace write to a file, and the -f option to follow the process
> forks, I'd expect g++ to spawn quite a few subprocesses).
>
> Or just re-install g++ and all the "interesting" libs: likely there's
> something broken in your setup.
>
> Are you sure you're calling the g++ you think you are calling?
>
> Cheers
> - -- tomás
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlnnqYUACgkQBcgs9XrR2kaTsQCeJFZ7BLtE7yquaj7sxrIMGGWQ
> mjUAn2bvDioeqkd4JcbG/VgGTLH6Gdu4
> =O6jp
> -----END PGP SIGNATURE-----
>

Reply via email to