[rsbac] Error building tools

kang kang at rsbac.org
Fri Sep 30 18:24:30 CEST 2005


Andrea Pasquinucci wrote:

>I built the kernel 2.6.13.2 with PaX and your patch for DAZ, but trying 
>to build the tools I get
>
>
>[rsbac-admin-1.2.5]$ make build
>
> Building RSBAC Libraries...
> -------------------------------------
>  LIB           helpers/acl_getname.c
>helpers/getname.c: In function âget_attribute_value_nameâ:
>helpers/getname.c:779: warning: incompatible implicit declaration of 
>built-in function âsnprintfâ
>helpers/getname.c: In function âget_target_nameâ:
>helpers/getname.c:1178: warning: incompatible implicit declaration of 
>built-in function âsprintfâ
>helpers/getname.c:1200: warning: pointer targets in passing argument 2 
>of â__builtin_strncpyâ differ in signedness
>helpers/helpers.c: In function âerror_exitâ:
>helpers/helpers.c:224: warning: incompatible implicit declaration of 
>built-in function âexitâ
>helpers/net_getname.c: In function ârsbac_get_net_protocol_nameâ:
>helpers/net_getname.c:221: warning: incompatible implicit declaration of 
>built-in function âsprintfâ
>helpers/pax_getname.c: In function âpax_print_flagsâ:
>helpers/pax_getname.c:22: warning: incompatible implicit declaration of 
>built-in function âsprintfâ
>In file included from helpers/syscall_wrapper.c:14:
>../headers/rsbac/syscall_rsbac.h: In function ârsbacâ:
>../headers/rsbac/syscall_rsbac.h:24: error: syntax error before âintâ
>make[1]: *** [librsbac.so.1.2.5] Error 1
>make: *** [libs] Error 2
>
>
>[rsbac-admin-1.2.5]$ rpm -q gcc
>gcc-4.0.1-4.fc4
>
>
>I tried with gcc32 but it stops even before.
>
>Andrea
>  
>
Please use the bugtracker for bug reports :)

You entry has been assigned id #57
http://bugtracker.rsbac.org/view.php?id=57

I will not be able to test on gcc4+fedora before tuesday, however you
can try compiling 1.2.4 tools with 1.2.4 kernel (or maybe you did
already and report if its successful (on the bugtracker please :)

Thanks!


More information about the rsbac mailing list