2 Aug 2003 08:29
Re: lids error
Thanks for the bug report. Attached pls find the fix. The problem is the tty struct interface change but LIDS do not change. to use it, $ cd security/lids/ $ patch < /dir_to_patch_file/lids_sysctl.c.diff Thanks, Huagang On Thu, Jul 31, 2003 at 05:02:45AM -0400, Vincent Wemlinger, III wrote: > Help! > > I am using GCC 3.3 lids2.0.3rc3 and linux2.6.0-test2 and I get this error > on compile... > > CC [M] security/capability.o > CC [M] security/root_plug.o > LD security/lids/built-in.o > CC [M] security/lids/lids_lsm.o > CC [M] security/lids/lids_acl.o > CC [M] security/lids/lids_exec.o > CC [M] security/lids/lids_cap.o > CC [M] security/lids/lids_sysctl.o > security/lids/lids_sysctl.c: In function `lids_proc_locks_sysctl': > security/lids/lids_sysctl.c:275: error: request for member `type' in > something not a structure or union > make[2]: *** [security/lids/lids_sysctl.o] Error 1 > make[1]: *** [security/lids] Error 2 > make: *** [security] Error 2(Continue reading)
If you want to compile the turning off
debuging does the trick.
Greats,
Sander Klein
On Mon, 2003-08-04 at 19:19, Kevin Kwan wrote:
> Hi,
>
> I just recently downloaded the lids-1.1.2-2.4.21 (stable) package and tried
> compiling it with a fresh copy of the 2.4.21 Linux kernel but have been
> experiencing some problems. I'm currently using Slackware 9.0.
>
> The messages that I'm getting upon compiling are all based around the
> sched.h file, resulting in the following for example:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
> -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix
> include -DKBUILD_BASENAME=utils -c -o utils.o utils.c
> In file included from /usr/src/linux-2.4.21/include/asm/uaccess.h:8,
> from utils.c:24:
> /usr/src/linux-2.4.21/include/linux/sched.h:764:33: warning: pasting "": ""
RSS Feed