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] build seafile concurrently #748

Closed
ghost opened this issue Jul 23, 2014 · 3 comments
Closed

[build] build seafile concurrently #748

ghost opened this issue Jul 23, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 23, 2014

Have you faced the situation where some kind of bus error or some strange error like this occurrs:

make[2]: 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.

PROGRESS

After these works get merged, you can use make -jN safely (N>1)

@ghost
Copy link
Author

ghost commented Aug 7, 2014

All work ready for merge

@lins05
Copy link
Contributor

lins05 commented Aug 10, 2014

I've merge them all. Now we can build libsearpc/ccnet/seafile with make -jN, cool!

@lins05 lins05 closed this as completed Aug 10, 2014
@ghost
Copy link
Author

ghost commented Aug 10, 2014

Great!
Thanks for your test work, @lins05 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant