`__NR_vfork' undeclared
Jack Howarth
howarth@bromo.med.uc.edu
Thu Apr 1 06:22:00 GMT 1999
Has anyone else run across this problem on glibc 2.1.1pre1. In building
the strace 3.1 on linuxppc (egcs 1.1.2, binutils 2.9.1.0.22b, Linux 2.2.4 and
glibc 2.1.1pre1) I am now finding a compile failure of...
gcc -b ppc-redhat-linux -Wall -DHAVE_CONFIG_H -I. -Ilinux/ppc -I./linux/ppc -Ilinux -I./linux -O2 -fsigned-char -c syscall.c
syscall.c: In function `internal_syscall':
syscall.c:489: `__NR_vfork' undeclared (first use in this function)
syscall.c:489: (Each undeclared identifier is reported only once
syscall.c:489: for each function it appears in.)
make: *** [syscall.o] Error 1
...which seems very odd since the header syscall.h in /usr/include/bits
has..
#define SYS_vfork __NR_vfork
the /usr/include/sys/syscall.h indicates that the linux headers should
provide these? Unfortunately I don't see this declared anywhere in
/usr/include/linux. Is anyone seeing this on other platforms?
Jack
--
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D. 231 Bethesda Avenue
NMR Facility Director Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics phone: (513) 558-4420
Univ. of Cincinnati College of Medicine fax: (513) 558-8474
More information about the Libc-alpha
mailing list