GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Have you faced the situation where some kind of bus error or some strange error like this occurrs:
make: Entering directory `/home/travis/build/Chilledheart/ccnet/net/daemon'
gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DCCNET_DAEMON -I../../net/common -I../../include -I../../include/ccnet -I../../lib -I../../include -I../../lib -pthread -I/usr/local/include -I/usr/local/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -g -O2 -MT rpc-service.o -MD -MP -MF .deps/rpc-service.Tpo -c -o rpc-service.o `test -f '../common/rpc-service.c' || echo './'`../common/rpc-service.c
In file included from ../common/rpc-service.c:41:0:
../../lib/searpc-marshal.h:1047:13: error: redefinition of ‘register_marshals’
../../lib/searpc-marshal.h:832:13: note: previous definition of ‘register_marshals’ was here
../../lib/searpc-marshal.h:832:13: warning: ‘register_marshals’ defined but not used [-Wunused-function]
You would probably execute make clean or git clean -xfd and ignore these annoying erros by just make -j1... until now.
git clean -xfd
After these works get merged, you can use make -jN safely (N>1)
All work ready for merge
I've merge them all. Now we can build libsearpc/ccnet/seafile with make -jN, cool!
Thanks for your test work, @lins05 !