deeponion-legacy: Error compiling the second time

Hi.

I’m having some problems if I try to compile the wallet again. I have done 3 times and always I have the same problem and I don’t know why (maybe is my fault)

The first time I do:

./autogen.sh
./configure --with-gui=qt5
make

and it compiles and works fine.

But I do the same a second time when I’m doing ‘make’ I get the following error:

 OBJCXXLD qt/DeepOnion-qt
qt/qt_DeepOnion_qt-bitcoin.o: In function `main':
/home/aitorp6/deeponion/src/qt/bitcoin.cpp:127: undefined reference to `qInitResources_bitcoin()'
collect2: error: ld returned 1 exit status
Makefile:2190: recipe for target 'qt/DeepOnion-qt' failed
make[1]: *** [qt/DeepOnion-qt] Error 1
make[1]: Leaving directory '/home/aitorp6/deeponion/src'
Makefile:536: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Any ideas?

I have tried doing:

make clean
./autogen.sh
./configure --with-gui=qt5
make

but still does not work.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Slightly confused about your comment. The command will modify the timestamp of the file so that the build tools think it has changed. That file is part of the source tree and will always exist, so if you type make and hit the error. run touch src/qt/bitcoin.qrc; make and it will build successfully.

There is a pull request that should fix this issue.

FYI - I’ve just worked around the issue by running this command

touch src/qt/bitcoin.qrc

I may get the make file to do it in the future.

Nice.

In a couple of days I will have the Spanish translation ready. I will do pull request.