From owner-freebsd-current Sat Nov 4 15:15: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id C1C8F37B4CF for ; Sat, 4 Nov 2000 15:15:02 -0800 (PST) Received: from luanda-20.budapest.interware.hu ([195.70.51.20] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 13sCWV-0006FW-00 for ; Sun, 05 Nov 2000 00:14:57 +0100 Message-ID: <3A049857.D3BB6C36@elischer.org> Date: Sat, 04 Nov 2000 15:14:31 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org Subject: silly dependencies Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following dependencies seem to be wrong in the code.. if you do not define inet, (e.g for a process controller with no networking) then uipc_accf.o will not link because it (wrongly) has it's sysctl linked off 'net.inet' instead of 'net'. once you get around that one you also find the following minimal config: ------------ machine i386 cpu I586_CPU ident MINIMUM maxusers 16 hints "GENERIC.hints" #Default places to look for devices. options FFS options FFS_ROOT #FFS usable as root device [keep this!] device isa device fdc device npx device sio ------------ fails to compile due to: c -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/machdep.c ../../i386/i386/machdep.c:761: warning: function declaration isn't a prototype ../../i386/i386/machdep.c: In function `osigreturn': ../../i386/i386/machdep.c:771: dereferencing pointer to incomplete type ../../i386/i386/machdep.c:767: warning: `scp' might be used uninitialized in this function *** Error code 1 because osigreturn_args is defined only in COMPAT_43. (making it not really an option) This is in the function int osigreturn(p, uap) (Old_sigreturn)... surely this should also be made conditional on COMPAT_43? The trouble with that is tha the new sigreturn calls the osigreturn in some cases if (((struct osigcontext *)ucp)->sc_trapno == 0x01d516) to be exact.. this needs cleaning up. Who understands this stuff? It is interesting to see that there is NO way to disable all networking (e.g unix domain sockets) -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message