Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed on Ubuntu #26

Closed
khunpoum opened this issue Nov 28, 2018 · 1 comment

Comments

@khunpoum
Copy link

@khunpoum khunpoum commented Nov 28, 2018

i try to build from sources of current master branch a938862
under Ubuntu 16
and follow manual https://anoncoin.github.io/How_to_build_Anoncoin_from_source/
but after cmd

git clone https://github.com/Anoncoin/anoncoin.git
cd anoncoin
./autogen.sh
cd depends
make -j 2

i getting these build errors

....
      from io/qfilesystemwatcher_inotify.cpp:43:
../../include/QtCore/../../src/corelib/tools/qmap.h: In instantiation of ‘T& QMap<Key, T>::operator[](const Key&) [with Key = int; T = inotify_event]’:
io/qfilesystemwatcher_inotify.cpp:364:33:   required from here
../../include/QtCore/../../src/corelib/tools/qmap.h:509:45: error: value-initialization of incomplete type ‘char []’
         node = node_create(d, update, akey, T());
                                             ^~~
../../include/QtCore/../../src/corelib/tools/qmap.h: In instantiation of ‘struct QMapNode<int, inotify_event>’:
...

Makefile:15479: recipe for target '.obj/release-shared/qfilesystemwatcher_inotify.o' failed
make[2]: *** [.obj/release-shared/qfilesystemwatcher_inotify.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/user/anoncoin/depends/work/build/x86_64-unknown-linux-gnu/qt46/4.6.4-7c3aea64b4a/src/corelib'
Makefile:139: recipe for target 'sub-corelib-make_default' failed
make[1]: *** [sub-corelib-make_default] Error 2
make[1]: Leaving directory '/home/user/anoncoin/depends/work/build/x86_64-unknown-linux-gnu/qt46/4.6.4-7c3aea64b4a/src'
funcs.mk:231: recipe for target '/home/user/anoncoin/depends/work/build/x86_64-unknown-linux-gnu/qt46/4.6.4-7c3aea64b4a/./.stamp_built' failed
make: *** [/home/user/anoncoin/depends/work/build/x86_64-unknown-linux-gnu/qt46/4.6.4-7c3aea64b4a/./.stamp_built] Error 2
@khunpoum

This comment has been minimized.

Copy link
Author

@khunpoum khunpoum commented Nov 28, 2018

i solve pb - in manual i go follow to "Ubuntu 64 bit or Debian 8 - Without toolchain" and build is ok.

@khunpoum khunpoum closed this Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.