[Rspamd-Users] Rspamd 2.2 has been released

山本 伸一 s-yama at sinfonia.or.jp
Sun Nov 24 02:29:16 UTC 2019


Hello.
I always use Rspamd usefully.

By the way, I receive the announcement that Rspamd-2.2 was released and was 
going to update it at once, but make is not completed by the error such as follows.
cmake seems to be related, but does not know what I should do.

I expect the idea of everybody.

In addition, it is cmake .. It is finished without abnormality.


My Computer
Kernel linux-5.2.11
Distributor: Plamo-Linux (Japanease)
cmake 3.12.4
gcc 9.2

$make

-- snip --

Scanning dependencies of target snowball
[ 13%] Building C object contrib/snowball/CMakeFiles/snowball.dir/compiler/space.c.o
[ 13%] Building C object contrib/snowball/CMakeFiles/snowball.dir/compiler/tokeniser.c.o
[ 14%] Building C object contrib/snowball/CMakeFiles/snowball.dir/compiler/analyser.c.o
/home/s-yama/rspamd-2.2/contrib/snowball/compiler/analyser.c: 関数 ‘check_name_type’ 内:
/home/s-yama/rspamd-2.2/contrib/snowball/compiler/analyser.c:210:19: 警告: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  210 |         case 'r': if (p->type == t_routine ||
      |                   ^~
/home/s-yama/rspamd-2.2/contrib/snowball/compiler/analyser.c:211:54: 備考: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  211 |                       p->type == t_external) return; break;
      |                                                      ^~~~~
/home/s-yama/rspamd-2.2/contrib/snowball/compiler/analyser.c: 関数 ‘read_program’ 内:
/home/s-yama/rspamd-2.2/contrib/snowball/compiler/analyser.c:859:21: 警告: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  859 |                     if (q->used && q->definition == 0) error4(a, q); break;
      |                     ^~
/home/s-yama/rspamd-2.2/contrib/snowball/compiler/analyser.c:859:70: 備考: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  859 |                     if (q->used && q->definition == 0) error4(a, q); break;
      |                                                                      ^~~~~
/home/s-yama/rspamd-2.2/contrib/snowball/compiler/analyser.c:861:21: 警告: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  861 |                     if (q->used && q->grouping == 0) error4(a, q); break;
      |                     ^~
/home/s-yama/rspamd-2.2/contrib/snowball/compiler/analyser.c:861:68: 備考: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  861 |                     if (q->used && q->grouping == 0) error4(a, q); brea ;
      |                                                                    ^~~~
[ 14%] Building C object contrib/snowball/CMakeFiles/snowball.dir/compiler/generator.c.o
[ 14%] Building C object contrib/snowball/CMakeFiles/snowball.dir/compiler/driver.c.o
[ 15%] Building C object contrib/snowball/CMakeFiles/snowball.dir/compiler/generator_java.c.o
[ 15%] Linking C executable snowball
ld.lld: error: undefined symbol: main
>>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104)
>>>               /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/crt1.o:(_start)
collect2: エラー: ld はステータス 1 で終了しました
make[2]: *** [contrib/snowball/CMakeFiles/snowball.dir/build.make:159: contrib/snowball/snowball] エラー 1
make[1]: *** [CMakeFiles/Makefile2:634: contrib/snowball/CMakeFiles/snowball.dir/all] エラー 2
make: *** [Makefile:130: all] エラー 2


---
Shinichi Yamamoto


More information about the Users mailing list