| Detailed description |
If one tries to compile openvas-client with multiple threads ("make -jX" with X>1) it fails on
Mandriva 2009 x86_64
SLE 10 x86_64
openSUSE 10.2 x86_64
openSUSE 11.1 i586
openSUSE Factory i586
with the following error:
gcc -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall `sh ./cflags` -c pdf_output.c
pdf_output.c: In function 'arglist_to_pdf':
pdf_output.c:276: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
pdf_output.c:318: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
gcc -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall `sh ./cflags` -c prefs_dialog/readonly.c
/usr/bin/make -C ../src/util
make[2]: Entering directory `/usr/src/packages/BUILD/openvas-client-2.0.3/src/util'
gcc -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall `sh ./cflags` -c openvas_ssh_key_create.c
sh: ./cflags: No such file or directory
openvas_ssh_key_create.c:37:31: error: openvas_ssh_login.h: No such file or directory
In file included from openvas_ssh_key_create.c:38:
openvas_ssh_key_create.h:39:18: error: glib.h: No such file or directory
In file included from openvas_ssh_key_create.c:38:
openvas_ssh_key_create.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'openvas_ssh_key_create'
openvas_ssh_key_create.h:43: error: expected ')' before '*' token
openvas_ssh_key_create.h:44: error: expected ')' before '*' token
openvas_ssh_key_create.h:45: error: expected ')' before '*' token
openvas_ssh_key_create.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ensure_dir'
openvas_ssh_key_create.c:39:25: error: nessus_i18n.h: No such file or directory
openvas_ssh_key_create.c:40:23: error: error_dlg.h: No such file or directory
openvas_ssh_key_create.c:41:25: error: glib/gstdio.h: No such file or directory
openvas_ssh_key_create.c:42:21: error: context.h: No such file or directory
openvas_ssh_key_create.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ensure_single_dir'
openvas_ssh_key_create.c:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ensure_dir'
openvas_ssh_key_create.c:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'openvas_ssh_privkey_create'
openvas_ssh_key_create.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'openvas_ssh_pubkey_create'
openvas_ssh_key_create.c:274: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'openvas_ssh_key_create'
openvas_ssh_key_create.c:299: error: expected ')' before '*' token
openvas_ssh_key_create.c:335: error: expected ')' before '*' token
openvas_ssh_key_create.c:352: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make[2]: *** [openvas_ssh_key_create.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/packages/BUILD/openvas-client-2.0.3/src/util'
make[1]: *** [util] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/openvas-client-2.0.3/nessus'
make: *** [client] Error
It would be great if that could be fixed because multithreaded compilation speeds up the compilation process quite noticeable. |
|