Kerberos 5 compile error
01/26/2006, 10:10 - Open Source
When compile MIT kerberos 5 authentication server from source, I always got a error message:

prof_tree.c: In function `profile_verify_node':
prof_tree.c:126: error: `PROF_SECTION_WITH_VALUE' undeclared (first use in this function)
prof_tree.c:126: error: (Each undeclared identifier is reported only once
prof_tree.c:126: error: for each function it appears in.)
prof_tree.c:137: error: `PROF_BAD_PARENT_PTR' undeclared (first use in this function)
prof_tree.c: In function `profile_add_node':
prof_tree.c:157: error: `PROF_ADD_NOT_SECTION' undeclared (first use in this function)
prof_tree.c: In function `profile_set_relation_value':
prof_tree.c:638: error: `PROF_SET_SECTION_VALUE' undeclared (first use in this function)
make[2]: *** [prof_tree.so] Error 1

After search on net, and got the answer, that is because gawk problem, because I am use a locale that gawk can not understand. So if you got the same message like me, check your envioment variable and unset it.

>env:grep LC
LC_COLLATE=C
LC_CTYPE=zh_TW.Big5

>unset LC_CTYPE
./configure
then it can continue to next step.

發表回應 發表回應 ( 678預覽 )   |  [ 0 引用 ]   |  permalink   |   ( 3 / 1819 )


<<開始 <前一頁 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 下一頁> 最後>>