Hello List, Yesterday I tried to compile my own Bering-Kernel. I took the Bering-1.2-patched-kernel-source from the LEAF download section and the Bering-2.4.20.config from http://leaf.sourceforge.net/devel/jnilo/bering/latest/development/kernel/ I used the standard woody environment: gcc version 2.95.4 20011002 (Debian prerelease) GNU Make version 3.79.1 GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux and a correct link from /usr/src/linux to linux-bering-1.2 in my home directory.
When compiling grsecurity, I got the errors mentioned at the end of this posting. Does anyone have an idea? Any hint will be much appreciated. Regards Thomas gracl.c: In function _real_path': gracl.c:88: hild_reaper' undeclared (first use in this function) gracl.c:88: (Each undeclared identifier is reported only once gracl.c:88: for each function it appears in.) gracl.c: In function ree_variables': gracl.c:412: structure has no member named cl_admin' gracl.c:413: structure has no member named cl_admin_id' gracl.c:414: structure has no member named cl' gracl.c: In function racl_init': gracl.c:688: warning: implicit declaration of function ecurity_alert_good' gracl.c:688: R_INITF_ACL_MSG' undeclared (first use in this function) gracl.c:688: R_INITF_ACL_FLD' undeclared (first use in this function) gracl.c:698: warning: implicit declaration of function r_set_acls' gracl.c: In function hk_obj_label': gracl.c:723: hild_reaper' undeclared (first use in this function) gracl.c: In function hk_subj_label': gracl.c:790: hild_reaper' undeclared (first use in this function) gracl.c: In function r_log_learn': gracl.c:853: warning: implicit declaration of function ecurity_learn' gracl.c:853: R_LEARN_AUDIT_MSG' undeclared (first use in this function) gracl.c: In function r_check_link': gracl.c:874: structure has no member named cl' gracl.c:876: structure has no member named cl' gracl.c:880: warning: implicit declaration of function r_check_create' gracl.c:885: structure has no member named cl' gracl.c:886: structure has no member named cl' gracl.c: In function r_search_file': gracl.c:905: structure has no member named cl' gracl.c:900: warning: urracl' might be used uninitialized in this function gracl.c: At top level: gracl.c:928: warning: type mismatch with previous implicit declaration gracl.c:880: warning: previous implicit declaration of r_check_create' gracl.c:928: warning: r_check_create' was previously implicitly declared to return nt' gracl.c: In function r_check_create': gracl.c:942: structure has no member named cl' gracl.c:965: structure has no member named cl' gracl.c:931: warning: urracl' might be used uninitialized in this function gracl.c: In function r_check_hidden_task': gracl.c:989: structure has no member named cl' gracl.c:989: structure has no member named cl' gracl.c: In function r_check_protected_task': gracl.c:1001: structure has no member named cl' gracl.c:1001: structure has no member named cl' gracl.c: In function r_copy_label': gracl.c:1014: structure has no member named sed_accept' gracl.c:1015: structure has no member named sed_connect' gracl.c:1016: structure has no member named cl_admin' gracl.c:1017: structure has no member named cl_admin_id' gracl.c:1017: structure has no member named cl_admin_id' gracl.c:1018: structure has no member named cl' gracl.c:1018: structure has no member named cl' gracl.c:1019: structure has no member named xec_file' gracl.c:1020: structure has no member named xec_file' gracl.c:1021: structure has no member named xec_file' gracl.c:1021: structure has no member named xec_file' gracl.c:1022: structure has no member named urr_ip' gracl.c:1022: structure has no member named urr_ip' gracl.c:1023: structure has no member named sed_accept' gracl.c:1024: structure has no member named urr_ip' gracl.c: In function r_set_proc_res': gracl.c:1035: structure has no member named cl' gracl.c: In function r_set_pax_flags': gracl.c:1059: structure has no member named cl' gracl.c:1054: warning: roc' might be used uninitialized in this function gracl.c: In function r_set_proc_label': gracl.c:1090: structure has no member named cl' gracl.c:1093: structure has no member named cl' gracl.c:1095: warning: implicit declaration of function ecurity_audit' gracl.c:1095: R_INHERIT_ACL_MSG' undeclared (first use in this function) gracl.c:1095: structure has no member named cl' gracl.c:1096: EFAULTSECARGS' undeclared (first use in this function) gracl.c:1032: warning: roc' might be used uninitialized in this function gracl.c: In function r_proc_handler': gracl.c:1358: R_PROC_ACL_MSG' undeclared (first use in this function) gracl.c:1358: R_PROC_ACL_FLD' undeclared (first use in this function) gracl.c:1386: R_SHUTS_ACL_MSG' undeclared (first use in this function) gracl.c:1386: R_SHUTS_ACL_FLD' undeclared (first use in this function) gracl.c:1387: EFAULTSECARGS' undeclared (first use in this function) gracl.c:1392: warning: implicit declaration of function ecurity_alert' gracl.c:1392: R_SHUTF_ACL_MSG' undeclared (first use in this function) gracl.c:1392: R_SHUTF_ACL_FLD' undeclared (first use in this function) gracl.c:1396: R_SHUTI_ACL_MSG' undeclared (first use in this function) gracl.c:1396: R_SHUTI_ACL_FLD' undeclared (first use in this function) gracl.c:1403: R_ENABLE_ACL_MSG' undeclared (first use in this function) gracl.c:1404: R_ENABLE_ACL_FLD' undeclared (first use in this function) gracl.c:1410: R_ENABLEF_ACL_MSG' undeclared (first use in this function) gracl.c:1410: R_ENABLEF_ACL_FLD' undeclared (first use in this function) gracl.c:1416: R_RELOADI_ACL_MSG' undeclared (first use in this function) gracl.c:1417: R_RELOADI_ACL_FLD' undeclared (first use in this function) gracl.c:1423: R_RELOAD_ACL_MSG' undeclared (first use in this function) gracl.c:1424: R_RELOAD_ACL_FLD' undeclared (first use in this function) gracl.c:1428: R_RELOADF_ACL_MSG' undeclared (first use in this function) gracl.c:1429: R_RELOADF_ACL_FLD' undeclared (first use in this function) gracl.c:1441: R_SEGVMODI_ACL_MSG' undeclared (first use in this function) gracl.c:1442: R_SEGVMODI_ACL_FLD' undeclared (first use in this function) gracl.c:1449: R_SEGVMODS_ACL_MSG' undeclared (first use in this function) gracl.c:1450: R_SEGVMODS_ACL_FLD' undeclared (first use in this function) gracl.c:1465: R_SEGVMODF_ACL_MSG' undeclared (first use in this function) gracl.c:1465: R_SEGVMODF_ACL_FLD' undeclared (first use in this function) gracl.c:1472: R_ADMINI_ACL_MSG' undeclared (first use in this function) gracl.c:1473: R_ADMINI_ACL_FLD' undeclared (first use in this function) gracl.c:1480: R_ADMINS_ACL_MSG' undeclared (first use in this function) gracl.c:1481: R_ADMINS_ACL_FLD' undeclared (first use in this function) gracl.c:1485: structure has no member named cl' gracl.c:1487: structure has no member named cl_admin' gracl.c:1488: structure has no member named cl_admin_id' gracl.c:1492: R_ADMINF_ACL_MSG' undeclared (first use in this function) gracl.c:1492: R_ADMINF_ACL_FLD' undeclared (first use in this function) gracl.c:1499: R_INVMODE_ACL_MSG' undeclared (first use in this function) gracl.c:1499: R_INVMODE_ACL_FLD' undeclared (first use in this function) gracl.c:1510: ONFIG_GRKERNSEC_ACL_MAXTRIES' undeclared (first use in this function) gracl.c:1511: R_MAXPW_ACL_MSG' undeclared (first use in this function) gracl.c:1511: R_MAXPW_ACL_FLD' undeclared (first use in this function) gracl.c:1516: ONFIG_GRKERNSEC_ACL_TIMEOUT' undeclared (first use in this function) gracl.c: In function r_set_acls': gracl.c:1538: structure has no member named cl_admin_id' gracl.c:1538: structure has no member named cl_admin_id' gracl.c:1541: structure has no member named cl_admin_id' gracl.c:1543: structure has no member named xec_file' gracl.c:1544: structure has no member named cl' gracl.c:1546: structure has no member named cl' gracl.c:1548: structure has no member named cl' gracl.c:1562: R_DEFACL_MSG' undeclared (first use in this function) gracl.c:1563: R_DEFACL_FLD' undeclared (first use in this function) gracl.c:1572: structure has no member named cl' gracl.c: In function r_learn_resource': gracl.c:1586: structure has no member named cl' gracl.c:1586: structure has no member named cl' gracl.c:1597: structure has no member named cl' gracl.c:1648: R_LEARN_AUDIT_MSG' undeclared (first use in this function) gracl.c:1583: warning: cl' might be used uninitialized in this function gracl.c: In function r_handle_sysctl': gracl.c:1719: structure has no member named cl' gracl.c:1721: structure has no member named cl' gracl.c:1727: structure has no member named cl' gracl.c:1729: R_SYSCTL_ACL_MSG' undeclared (first use in this function) gracl.c:1729: R_SYSCTL_ACL_FLD' undeclared (first use in this function) gracl.c:1732: EFAULTSECARGS' undeclared (first use in this function) gracl.c: In function r_handle_ptrace': gracl.c:1759: structure has no member named xec_file' gracl.c:1785: structure has no member named cl' gracl.c:1786: structure has no member named cl' gracl.c:1786: structure has no member named cl' gracl.c:1786: structure has no member named cl' gracl.c:1787: structure has no member named cl' gracl.c:1790: R_PTRACE_ACL_MSG' undeclared (first use in this function) gracl.c:1790: R_PTRACE_ACL_FLD' undeclared (first use in this function) gracl.c:1792: EFAULTSECARGS' undeclared (first use in this function) gracl.c:1754: warning: ilp' might be used uninitialized in this function gracl.c: In function r_handle_ptrace_exec': gracl.c:1810: structure has no member named cl' gracl.c:1817: structure has no member named cl' gracl.c:1818: structure has no member named cl' gracl.c:1819: R_PTRACE_EXEC_ACL_MSG' undeclared (first use in this function) gracl.c:1819: R_PTRACE_EXEC_ACL_FLD' undeclared (first use in this function) gracl.c:1820: EFAULTSECARGS' undeclared (first use in this function) gracl.c: In function r_handle_mmap': gracl.c:1833: structure has no member named cl' gracl.c:1837: structure has no member named xec_file' gracl.c:1848: R_WRITLIB_ACL_MSG' undeclared (first use in this function) gracl.c:1848: R_WRITLIB_ACL_FLD' undeclared (first use in this function) gracl.c:1850: EFAULTSECARGS' undeclared (first use in this function) gracl.c: In function r_acl_handle_mmap': gracl.c:1871: R_MMAP_ACL_MSG' undeclared (first use in this function) gracl.c:1871: R_MMAP_ACL_FLD' undeclared (first use in this function) gracl.c:1873: EFAULTSECARGS' undeclared (first use in this function) gracl.c: In function r_acl_handle_mprotect': gracl.c:1901: R_MPROTECT_ACL_MSG' undeclared (first use in this function) gracl.c:1901: R_MPROTECT_ACL_FLD' undeclared (first use in this function) gracl.c:1904: EFAULTSECARGS' undeclared (first use in this function) gracl.c: In function r_acl_handle_psacct': gracl.c:1930: structure has no member named cl' gracl.c:1931: structure has no member named cl' gracl.c:1952: R_ACL_PROCACCT_MSG' undeclared (first use in this function) gracl.c:1953: structure has no member named urr_ip' gracl.c:1953: structure has no member named urr_ip' gracl.c:1953: structure has no member named urr_ip' gracl.c:1953: structure has no member named urr_ip' gracl.c:1960: structure has no member named urr_ip' gracl.c:1960: structure has no member named urr_ip' gracl.c:1960: structure has no member named urr_ip' gracl.c:1960: structure has no member named urr_ip' gracl.c: In function r_set_kernel_label': gracl.c:1971: structure has no member named cl' make[2]: *** [gracl.o] Fehler 1 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html