Subject: kern/1658: _getppid missing in machdep_freebsd.o
To: None <gnats-bugs@gnats.netbsd.org>
From: None <toor@wipux2.wifo.uni-mannheim.de>
List: netbsd-bugs
Date: 10/20/1995 15:47:38
>Number:         1658
>Category:       kern
>Synopsis:       kernel doesn't compile with COMPAT_FREEBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 20 11:20:01 1995
>Last-Modified:
>Originator:     Peppermint Lucy
>Organization:
Bankers do it with interest (penalty for early withdrawal).
Intelligence is the capability of receiving, decrypting information
and then transferring it in usable form.
Stupidity is the interuption of this process at any given point.
>Release:        19.Okt.
>Environment:
	
System: NetBSD wipux2 1.0A NetBSD 1.0A (WIPOOL) #0: Thu Oct 5 02:23:03 MET 1995 toor@wipux2:/mit/src/sys/arch/i386/compile/WIPOOL i386


>Description:
	Comping a kernel with COMPAT_FREEBSD enabled results in:
	
making sure the kern library is up to date...
`libkern.o' is up to date.
making sure the compat library is up to date...
`libcompat.a' is up to date.
sh ../../../../conf/newvers.sh
cc  -O6 -Werror -I. -I../../../../arch -I../../../.. -I../../../../sys -DI586_CPU -DXSERVER -DUCONSOLE -DINSECURE -DMACHINE_NONCONTIG -DTIMEZONE="0" -DDST="0" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DDDB -DDIAGNOSTIC -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_NOMID -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DFFS -DQUOTA -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660 -DMSDOSFS -DFIFO -DINET -DPCVT_24LINESDEF -DPCVT_SYSBEEPF="0x91a6f" -DWIPUX -D_KERNEL -Di386 -c vers.c
rm -f netbsd
ld -x -z -T F8100000 -o netbsd -e start ${SYSTEM_OBJ} vers.o
freebsd_sysent.o: Undefined symbol `_getppid' referenced from data segment
*** Error code 1

Stop.
>How-To-Repeat:
config WIPOOL
make depend && make
If you REALLY can't repeat this my config file is in ~ftp/pub/incoming/WIPOOL
on wipux2.wifo.uni-mannheim.de
>Fix:
	Remove COMPAT_FREEBSD or add getppid.
>Audit-Trail:
>Unformatted: