<div dir="ltr">Hi,<br><br>I followed the building instructions found in rtems-libbsd/libbsd.txt but when I tried to make rtems-libbsd, I faced these errors:<br><br>[saeed@GREY rtems-libbsd]$ make<br>i386-rtems4.10-gcc --pipe -B/home/saeed/RTEMS/src/rtems-4.10.2/b-pc386/bsp-install/i386-rtems4.10/pc386/lib/ -specs bsp_specs -qrtems -g -Wall -O2 -g -g -ffreestanding -I . -I rtemsbsd -I rtemsbsd/i386/include -I freebsd/i386/include -I contrib/altq -I contrib/pf -I copied/rtemsbsd/i386/include -w -std=gnu99 -MT rtemsbsd/src/rtems-bsd-thread0-ucred.o -MD -MP -MF rtemsbsd/src/rtems-bsd-thread0-ucred.d -mtune=i386 -c -o rtemsbsd/src/rtems-bsd-thread0-ucred.o rtemsbsd/src/rtems-bsd-thread0-ucred.c<br>
In file included from ./freebsd/sys/systm.h:42,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:37:<br>freebsd/i386/include/freebsd/machine/cpufunc.h:42:2: error: #error this file needs sys/cdefs.h as a prerequisite<br>
In file included from rtemsbsd/src/rtems-bsd-thread0-ucred.c:37:<br>./freebsd/sys/systm.h: In function 'longjmp':<br>./freebsd/sys/systm.h:152: error: expected declaration specifiers before '__dead2'<br>./freebsd/sys/systm.h:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__dead2'<br>
./freebsd/sys/systm.h:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>./freebsd/sys/systm.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>
./freebsd/sys/systm.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>./freebsd/sys/systm.h:187: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>
./freebsd/sys/systm.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>./freebsd/sys/systm.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>
./freebsd/sys/systm.h:190: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>./freebsd/sys/systm.h:191: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>
./freebsd/sys/systm.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>./freebsd/sys/systm.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>
./freebsd/sys/systm.h:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>./freebsd/sys/systm.h:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:196: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>./freebsd/sys/systm.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>./freebsd/sys/systm.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:200: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>./freebsd/sys/systm.h:201: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__printflike'<br>
./freebsd/sys/systm.h:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>./freebsd/sys/systm.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>./freebsd/sys/systm.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>./freebsd/sys/systm.h:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>./freebsd/sys/systm.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:271: error: storage class specified for parameter 'cpu_tick_f'<br>./freebsd/sys/systm.h:272: error: expected ')' before '*' token<br>./freebsd/sys/systm.h:273: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token<br>
In file included from ./freebsd/sys/systm.h:282,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:37:<br>./freebsd/sys/libkern.h:52: error: storage class specified for parameter 'bcd2bin_data'<br>./freebsd/sys/libkern.h:53: error: storage class specified for parameter 'bin2bcd_data'<br>
./freebsd/sys/libkern.h:54: error: storage class specified for parameter 'hex2ascii_data'<br>./freebsd/sys/libkern.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/libkern.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/libkern.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/libkern.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/libkern.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/libkern.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/libkern.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/libkern.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/libkern.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/libkern.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/libkern.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/libkern.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/libkern.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/libkern.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/libkern.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/libkern.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__pure'<br>./freebsd/sys/libkern.h:127: error: storage class specified for parameter 'crc32_tab'<br>
./freebsd/sys/libkern.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/libkern.h:141: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
In file included from rtemsbsd/src/rtems-bsd-thread0-ucred.c:37:<br>./freebsd/sys/systm.h:293: error: storage class specified for parameter 'timeout_t'<br>./freebsd/sys/systm.h:298: error: expected ')' before '*' token<br>
./freebsd/sys/systm.h:299: error: expected ')' before '*' token<br>./freebsd/sys/systm.h:304: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/systm.h:305: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/systm.h:306: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/systm.h:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/systm.h:308: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/systm.h:309: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/systm.h:310: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/systm.h:311: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/systm.h:312: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/systm.h:313: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/systm.h:314: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/systm.h:315: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/systm.h:316: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/systm.h:317: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/systm.h:318: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/systm.h:319: error: expected ';', ',' or ')' before '__unused'<br>./freebsd/sys/systm.h:326: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>./freebsd/sys/systm.h:334: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>
./freebsd/sys/systm.h:335: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nonnull'<br>In file included from rtemsbsd/src/rtems-bsd-thread0-ucred.c:37:<br>
./freebsd/sys/systm.h:413: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>In file included from ./freebsd/sys/proc.h:42,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>
./freebsd/sys/event.h:242: error: storage class specified for parameter 'knote'<br>./freebsd/sys/event.h:243: error: storage class specified for parameter 'knote_fork'<br>./freebsd/sys/event.h:244: error: storage class specified for parameter 'knlist_add'<br>
./freebsd/sys/event.h:245: error: storage class specified for parameter 'knlist_remove'<br>./freebsd/sys/event.h:246: error: storage class specified for parameter 'knlist_remove_inevent'<br>./freebsd/sys/event.h:247: error: storage class specified for parameter 'knlist_empty'<br>
./freebsd/sys/event.h:250: error: storage class specified for parameter 'knlist_init'<br>./freebsd/sys/event.h:251: error: storage class specified for parameter 'knlist_init_mtx'<br>./freebsd/sys/event.h:252: error: storage class specified for parameter 'knlist_destroy'<br>
./freebsd/sys/event.h:254: error: storage class specified for parameter 'knlist_cleardel'<br>./freebsd/sys/event.h:259: error: storage class specified for parameter 'knote_fdclose'<br>./freebsd/sys/event.h:261: error: storage class specified for parameter 'kqfd_register'<br>
./freebsd/sys/event.h:262: error: storage class specified for parameter 'kqueue_add_filteropts'<br>./freebsd/sys/event.h:263: error: storage class specified for parameter 'kqueue_del_filteropts'<br>In file included from ./freebsd/sys/proc.h:51,<br>
from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>./freebsd/sys/osd.h:53: error: storage class specified for parameter 'osd_destructor_t'<br>./freebsd/sys/osd.h:54: error: storage class specified for parameter 'osd_method_t'<br>
./freebsd/sys/osd.h:56: error: expected declaration specifiers or '...' before 'osd_destructor_t'<br>./freebsd/sys/osd.h:57: error: expected declaration specifiers or '...' before 'osd_method_t'<br>
In file included from ./freebsd/sys/runq.h:32,<br> from ./freebsd/sys/proc.h:54,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>rtemsbsd/freebsd/machine/runq.h:39: error: storage class specified for parameter 'rqb_word_t'<br>
In file included from ./freebsd/sys/proc.h:54,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>./freebsd/sys/runq.h:53: error: expected specifier-qualifier-list before 'rqb_word_t'<br>In file included from ./freebsd/sys/proc.h:55,<br>
from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>./freebsd/sys/resource.h:161: error: storage class specified for parameter 'averunnable'<br>In file included from ./freebsd/sys/pcpu.h:45,<br> from ./freebsd/sys/proc.h:62,<br>
from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>rtemsbsd/freebsd/machine/pcpu.h:32: error: storage class specified for parameter 'pcpup'<br>In file included from ./freebsd/sys/proc.h:62,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>
./freebsd/sys/pcpu.h:50: error: storage class specified for parameter '__start_set_pcpu'<br>./freebsd/sys/pcpu.h:51: error: storage class specified for parameter '__stop_set_pcpu'<br>./freebsd/sys/pcpu.h:56: error: storage class specified for parameter '_bsd_dpcpu_off'<br>
./freebsd/sys/pcpu.h:193: error: expected declaration specifiers or '...' before numeric constant<br>./freebsd/sys/pcpu.h:199: error: storage class specified for parameter 'cpuhead'<br>./freebsd/sys/pcpu.h:200: error: storage class specified for parameter 'cpuid_to_pcpu'<br>
In file included from ./freebsd/sys/ucontext.h:35,<br> from ./freebsd/sys/proc.h:64,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>rtemsbsd/freebsd/machine/ucontext.h:30: error: storage class specified for parameter 'mcontext_t'<br>
In file included from ./freebsd/sys/proc.h:64,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>./freebsd/sys/ucontext.h:47: error: expected specifier-qualifier-list before 'mcontext_t'<br>./freebsd/sys/ucontext.h:54: error: storage class specified for parameter 'ucontext_t'<br>
./freebsd/sys/ucontext.h:94: error: expected declaration specifiers or '...' before 'mcontext_t'<br>./freebsd/sys/ucontext.h:95: error: expected ';', ',' or ')' before '*' token<br>
In file included from ./freebsd/sys/ucred.h:36,<br> from ./freebsd/sys/proc.h:65,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>./freebsd/bsm/audit.h:171: error: storage class specified for parameter 'au_id_t'<br>
./freebsd/bsm/audit.h:172: error: storage class specified for parameter 'au_asid_t'<br>./freebsd/bsm/audit.h:173: error: storage class specified for parameter 'au_event_t'<br>./freebsd/bsm/audit.h:174: error: storage class specified for parameter 'au_emod_t'<br>
./freebsd/bsm/audit.h:175: error: storage class specified for parameter 'au_class_t'<br>./freebsd/bsm/audit.h:176: error: storage class specified for parameter 'au_asflgs_t'<br>./freebsd/bsm/audit.h:176: error: alignment may not be specified for 'au_asflgs_t'<br>
./freebsd/bsm/audit.h:182: error: storage class specified for parameter 'au_tid_t'<br>./freebsd/bsm/audit.h:189: error: storage class specified for parameter 'au_tid_addr_t'<br>./freebsd/bsm/audit.h:195: error: storage class specified for parameter 'au_mask_t'<br>
./freebsd/bsm/audit.h:198: error: expected specifier-qualifier-list before 'au_id_t'<br>./freebsd/bsm/audit.h:203: error: storage class specified for parameter 'auditinfo_t'<br>./freebsd/bsm/audit.h:206: error: expected specifier-qualifier-list before 'au_id_t'<br>
./freebsd/bsm/audit.h:212: error: storage class specified for parameter 'auditinfo_addr_t'<br>./freebsd/bsm/audit.h:216: error: expected specifier-qualifier-list before 'au_id_t'<br>./freebsd/bsm/audit.h:221: error: storage class specified for parameter 'auditpinfo_t'<br>
./freebsd/bsm/audit.h:225: error: expected specifier-qualifier-list before 'au_id_t'<br>./freebsd/bsm/audit.h:231: error: storage class specified for parameter 'auditpinfo_addr_t'<br>./freebsd/bsm/audit.h:234: error: expected specifier-qualifier-list before 'auditinfo_addr_t'<br>
./freebsd/bsm/audit.h:237: error: storage class specified for parameter 'au_session_t'<br>./freebsd/bsm/audit.h:242: error: storage class specified for parameter 'token_t'<br>./freebsd/bsm/audit.h:263: error: storage class specified for parameter 'au_qctrl_t'<br>
./freebsd/bsm/audit.h:284: error: storage class specified for parameter 'au_stat_t'<br>./freebsd/bsm/audit.h:293: error: storage class specified for parameter 'au_fstat_t'<br>./freebsd/bsm/audit.h:299: error: expected specifier-qualifier-list before 'au_event_t'<br>
./freebsd/bsm/audit.h:302: error: storage class specified for parameter 'au_evclass_map_t'<br>In file included from rtemsbsd/src/rtems-bsd-thread0-ucred.c:38:<br>./freebsd/sys/proc.h:788: error: storage class specified for parameter 'pidhashtbl'<br>
./freebsd/sys/proc.h:789: error: storage class specified for parameter 'pidhash'<br>./freebsd/sys/proc.h:792: error: storage class specified for parameter 'pgrphashtbl'<br>./freebsd/sys/proc.h:793: error: storage class specified for parameter 'pgrphash'<br>
./freebsd/sys/proc.h:795: error: storage class specified for parameter 'allproc_lock'<br>./freebsd/sys/proc.h:796: error: storage class specified for parameter 'proctree_lock'<br>./freebsd/sys/proc.h:797: error: storage class specified for parameter 'ppeers_lock'<br>
./freebsd/sys/proc.h:798: error: storage class specified for parameter 'proc0'<br>./freebsd/sys/proc.h:802: error: storage class specified for parameter 'rtems_bsd_thread0_ucred'<br>./freebsd/sys/proc.h:804: error: storage class specified for parameter 'vmspace0'<br>
./freebsd/sys/proc.h:805: error: storage class specified for parameter '_bsd_hogticks'<br>./freebsd/sys/proc.h:806: error: storage class specified for parameter 'lastpid'<br>./freebsd/sys/proc.h:807: error: storage class specified for parameter 'nprocs'<br>
./freebsd/sys/proc.h:807: error: storage class specified for parameter '_bsd_maxproc'<br>./freebsd/sys/proc.h:808: error: storage class specified for parameter 'maxprocperuid'<br>./freebsd/sys/proc.h:809: error: storage class specified for parameter 'ps_arg_cache_limit'<br>
./freebsd/sys/proc.h:814: error: storage class specified for parameter 'allproc'<br>./freebsd/sys/proc.h:815: error: storage class specified for parameter 'zombproc'<br>./freebsd/sys/proc.h:816: error: storage class specified for parameter 'initproc'<br>
./freebsd/sys/proc.h:816: error: storage class specified for parameter 'pageproc'<br>./freebsd/sys/proc.h:818: error: storage class specified for parameter 'proc_zone'<br>./freebsd/sys/proc.h:868: error: storage class specified for parameter 'cpu_idle_hook'<br>
./freebsd/sys/proc.h:870: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__dead2'<br>./freebsd/sys/proc.h:878: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__dead2'<br>
./freebsd/sys/proc.h:886: error: expected declaration specifiers or '...' before 'stack_t'<br>./freebsd/sys/proc.h:896: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__dead2'<br>
In file included from ./freebsd/sys/jail.h:120,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:39:<br>./freebsd/sys/sysctl.h:678: error: storage class specified for parameter '_bsd_sysctl__children'<br>
./freebsd/sys/sysctl.h:679: error: storage class specified for parameter '_bsd_sysctl__kern_children'<br>./freebsd/sys/sysctl.h:680: error: storage class specified for parameter '_bsd_sysctl__kern_features_children'<br>
./freebsd/sys/sysctl.h:681: error: storage class specified for parameter '_bsd_sysctl__kern_ipc_children'<br>./freebsd/sys/sysctl.h:682: error: storage class specified for parameter '_bsd_sysctl__kern_proc_children'<br>
./freebsd/sys/sysctl.h:683: error: storage class specified for parameter '_bsd_sysctl__kern_sched_children'<br>./freebsd/sys/sysctl.h:684: error: storage class specified for parameter '_bsd_sysctl__kern_sched_stats_children'<br>
./freebsd/sys/sysctl.h:685: error: storage class specified for parameter '_bsd_sysctl__sysctl_children'<br>./freebsd/sys/sysctl.h:686: error: storage class specified for parameter '_bsd_sysctl__vm_children'<br>
./freebsd/sys/sysctl.h:687: error: storage class specified for parameter '_bsd_sysctl__vm_stats_children'<br>./freebsd/sys/sysctl.h:688: error: storage class specified for parameter '_bsd_sysctl__vm_stats_misc_children'<br>
./freebsd/sys/sysctl.h:689: error: storage class specified for parameter '_bsd_sysctl__vfs_children'<br>./freebsd/sys/sysctl.h:690: error: storage class specified for parameter '_bsd_sysctl__net_children'<br>
./freebsd/sys/sysctl.h:691: error: storage class specified for parameter '_bsd_sysctl__debug_children'<br>./freebsd/sys/sysctl.h:692: error: storage class specified for parameter '_bsd_sysctl__debug_sizeof_children'<br>
./freebsd/sys/sysctl.h:693: error: storage class specified for parameter '_bsd_sysctl__dev_children'<br>./freebsd/sys/sysctl.h:694: error: storage class specified for parameter '_bsd_sysctl__hw_children'<br>
./freebsd/sys/sysctl.h:695: error: storage class specified for parameter '_bsd_sysctl__hw_bus_children'<br>./freebsd/sys/sysctl.h:696: error: storage class specified for parameter '_bsd_sysctl__hw_bus_devices_children'<br>
./freebsd/sys/sysctl.h:697: error: storage class specified for parameter '_bsd_sysctl__hw_bus_info_children'<br>./freebsd/sys/sysctl.h:698: error: storage class specified for parameter '_bsd_sysctl__machdep_children'<br>
./freebsd/sys/sysctl.h:699: error: storage class specified for parameter '_bsd_sysctl__user_children'<br>./freebsd/sys/sysctl.h:700: error: storage class specified for parameter '_bsd_sysctl__compat_children'<br>
./freebsd/sys/sysctl.h:701: error: storage class specified for parameter '_bsd_sysctl__regression_children'<br>./freebsd/sys/sysctl.h:702: error: storage class specified for parameter '_bsd_sysctl__security_children'<br>
./freebsd/sys/sysctl.h:703: error: storage class specified for parameter '_bsd_sysctl__security_bsd_children'<br>./freebsd/sys/sysctl.h:705: error: storage class specified for parameter 'machine'<br>./freebsd/sys/sysctl.h:706: error: storage class specified for parameter 'osrelease'<br>
./freebsd/sys/sysctl.h:707: error: storage class specified for parameter 'ostype'<br>./freebsd/sys/sysctl.h:708: error: storage class specified for parameter 'kern_ident'<br>In file included from ./freebsd/sys/jail.h:121,<br>
from rtemsbsd/src/rtems-bsd-thread0-ucred.c:39:<br>./freebsd/sys/lock.h:190: error: storage class specified for parameter 'lock_class_mtx_sleep'<br>./freebsd/sys/lock.h:191: error: storage class specified for parameter 'lock_class_mtx_spin'<br>
./freebsd/sys/lock.h:192: error: storage class specified for parameter 'lock_class_sx'<br>./freebsd/sys/lock.h:193: error: storage class specified for parameter 'lock_class_rw'<br>./freebsd/sys/lock.h:194: error: storage class specified for parameter 'lock_class_rm'<br>
./freebsd/sys/lock.h:195: error: storage class specified for parameter 'lock_class_lockmgr'<br>./freebsd/sys/lock.h:197: error: storage class specified for parameter 'lock_classes'<br>In file included from ./freebsd/sys/mutex.h:43,<br>
from ./freebsd/sys/jail.h:122,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:39:<br>./freebsd/sys/lockstat.h:152: error: storage class specified for parameter 'lockstat_probemap'<br>
./freebsd/sys/lockstat.h:154: error: storage class specified for parameter 'lockstat_probe_func_t'<br>./freebsd/sys/lockstat.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lockstat_probe_func'<br>
./freebsd/sys/lockstat.h:156: error: storage class specified for parameter 'lockstat_nsecs'<br>In file included from ./freebsd/sys/jail.h:122,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:39:<br>
./freebsd/sys/mutex.h:336: error: storage class specified for parameter 'mtxpool_lockbuilder'<br>./freebsd/sys/mutex.h:337: error: storage class specified for parameter 'mtxpool_sleep'<br>./freebsd/sys/mutex.h:384: error: storage class specified for parameter 'Giant'<br>
./freebsd/sys/mutex.h:385: error: storage class specified for parameter 'blocked_lock'<br>In file included from ./freebsd/sys/jail.h:123,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:39:<br>./freebsd/sys/_task.h:40: error: storage class specified for parameter 'task_fn_t'<br>
./freebsd/sys/_task.h:46: error: expected specifier-qualifier-list before 'task_fn_t'<br>In file included from rtemsbsd/src/rtems-bsd-thread0-ucred.c:39:<br>./freebsd/sys/jail.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>
./freebsd/sys/jail.h:241: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>./freebsd/sys/jail.h:305: error: storage class specified for parameter 'prison0'<br>
./freebsd/sys/jail.h:308: error: storage class specified for parameter 'allprison'<br>./freebsd/sys/jail.h:309: error: storage class specified for parameter 'allprison_lock'<br>./freebsd/sys/jail.h:314: error: storage class specified for parameter '_bsd_sysctl__security_jail_param_children'<br>
In file included from ./freebsd/sys/kernel.h:48,<br> from rtemsbsd/src/rtems-bsd-thread0-ucred.c:40:<br>./freebsd/sys/linker_set.h:34:2: error: #error this file needs sys/cdefs.h as a prerequisite<br>./freebsd/sys/linker_set.h:58:2: error: #error this file needs to be ported to your compiler<br>
In file included from rtemsbsd/src/rtems-bsd-thread0-ucred.c:40:<br>./freebsd/sys/kernel.h:62: error: storage class specified for parameter 'tick'<br>./freebsd/sys/kernel.h:63: error: storage class specified for parameter 'hz'<br>
./freebsd/sys/kernel.h:64: error: storage class specified for parameter 'psratio'<br>./freebsd/sys/kernel.h:65: error: storage class specified for parameter 'stathz'<br>./freebsd/sys/kernel.h:66: error: storage class specified for parameter 'profhz'<br>
./freebsd/sys/kernel.h:67: error: storage class specified for parameter 'profprocs'<br>./freebsd/sys/kernel.h:216: error: storage class specified for parameter 'sysinit_nfunc_t'<br>./freebsd/sys/kernel.h:217: error: storage class specified for parameter 'sysinit_cfunc_t'<br>
./freebsd/sys/kernel.h:222: error: expected specifier-qualifier-list before 'sysinit_cfunc_t'<br>rtemsbsd/src/rtems-bsd-thread0-ucred.c:42: error: redefinition of parameter 'rtems_bsd_thread0_ucred'<br>./freebsd/sys/proc.h:802: note: previous definition of 'rtems_bsd_thread0_ucred' was here<br>
rtemsbsd/src/rtems-bsd-thread0-ucred.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br>rtemsbsd/src/rtems-bsd-thread0-ucred.c:53: error: parameter '_bsd_cpu_sys_init' is initialized<br>
rtemsbsd/src/rtems-bsd-thread0-ucred.c:53: error: expected '}' before 'rtems_bsd_thread0_ucred_init'<br>rtemsbsd/src/rtems-bsd-thread0-ucred.c:53: error: storage class specified for parameter '__set_sysinit_set_sym__bsd_cpu_sys_init'<br>
./freebsd/sys/systm.h:152: error: old-style parameter declarations in prototyped function definition<br>./freebsd/sys/systm.h:152: error: parameter name omitted<br>./freebsd/sys/systm.h:152: error: parameter name omitted<br>
rtemsbsd/src/rtems-bsd-thread0-ucred.c:53: error: expected '{' at end of input<br>make: *** [rtemsbsd/src/rtems-bsd-thread0-ucred.o] Error 1<br><br><br><br>Am I wrong in my configuration? What is the problem?<br><br>
Thanks in advance,<br>SAeeD<br><br><br></div>