Re: [ANNOUNCE] WOLK v4.15s FINAL - Server Edition (aka get the 2.6 feeling with 2.4 :p)

Gary Peck <[email protected]> Tue, 29 Jun 2004 14:14:35 -0700
Newsgroups gmane.linux.wolk.devel
Message-ID <[email protected]>
Hi Marc,

Thanks for the new version. It seems to have lots of improvements :)

On Tue, Jun 29, 2004 at 03:27:35PM +0200, Marc-Christian Petersen wrote:
> 2.:	If someone finds a non-compilable thing, one beer for him/her ;)

My build won't compile. I don't necessarily need a beer. Just a patch :)
I get the following warnings (probably harmless):

gcc -D__KERNEL__
-I/home/gary/software/kernel/linux-2.4.20-wolk4.15s_elmer.1/include
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Wno-unused  -O2 -fomit-frame-pointer
-mpreferred-stack-boundary=2 -march=i686    -nostdinc -iwithprefix
include -DKBUILD_BASENAME=trustee  -c -o trustee.o trustee.c
trustee.c: In function `free_hash_element_list':
trustee.c:35: warning: assignment from incompatible pointer type
trustee.c: In function `get_trustee_mask_for_name':
trustee.c:202: warning: assignment from incompatible pointer type
trustee.c: In function `sys_set_trustee':
trustee.c:392: warning: assignment from incompatible pointer type
trustee.c:413: warning: assignment from incompatible pointer type

followed a few files down by the following errors which cause the build
to abort:

gcc -D__KERNEL__
-I/home/gary/software/kernel/linux-2.4.20-wolk4.15s_elmer.1/include
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Wno-unused  -O2 -fomit-frame-pointer
-mpreferred-stack-boundary=2 -march=i686    -nostdinc -iwithprefix
include -DKBUILD_BASENAME=binfmt_elf  -c -o binfmt_elf.o binfmt_elf.c
binfmt_elf.c: In function `set_brk':
binfmt_elf.c:108: warning: passing arg 2 of `__do_mmap_pgoff' makes pointer from integer without a cast
binfmt_elf.c:108: too few arguments to function `__do_mmap_pgoff'
binfmt_elf.c: In function `load_elf_binary':
binfmt_elf.c:986: warning: passing arg 1 of `__do_mmap_pgoff' from incompatible pointer type
binfmt_elf.c:986: warning: passing arg 2 of `__do_mmap_pgoff' makes pointer from integer without a cast
binfmt_elf.c:986: too few arguments to function `__do_mmap_pgoff'
binfmt_elf.c:1014: warning: passing arg 2 of `__do_mmap_pgoff' makes pointer from integer without a cast
binfmt_elf.c:1014: too few arguments to function `__do_mmap_pgoff'
binfmt_elf.c:1016: warning: passing arg 2 of `__do_mmap_pgoff' makes pointer from integer without a cast
binfmt_elf.c:1016: too few arguments to function `__do_mmap_pgoff'
binfmt_elf.c:1021: warning: passing arg 2 of `__do_mmap_pgoff' makes pointer from integer without a cast
binfmt_elf.c:1021: too few arguments to function `__do_mmap_pgoff'
make[3]: *** [binfmt_elf.o] Error 1

This is with gcc 2.95.4-14 on a mixed Debian system. My .config file is
attached.

Thanks,
Gary



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
WOLK - Working Overloaded Linux Kernel
[email protected]
https://lists.sourceforge.net/lists/listinfo/wolk-devel