viljanen@kreeta.cs.Helsinki.FI (Lea Viljanen) (03/28/89)
Has ../lib/lib.h been modified when ptrace-stuff was added in ST-Minix? During weekend I patched the kernel with ptrace, alltar.Z and fixes and tried to add the ptrace system call to libc.a... But ptrace.c won't compile. (undefined PTRACE or something). ptrace.c #includes only "lib.h" (which defines only FS & MM), but I can't find diffs for it anwywhere. Are there? If not, PTRACE was #defined 26 in ../h/callnro.h, is the same PTRACE? """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Lea 'LadyBug' Viljanen ____ University of Helsinki, Finland viljanen@finuha.bitnet \ / . ' Dept. of Computer Science viljanen@cs.helsinki.fi \/ |_ 'Small is beautiful'
hcj@lzaz.ATT.COM (HC Johnson) (03/28/89)
In article <874@hydra.cs.Helsinki.FI>, viljanen@kreeta.cs.Helsinki.FI (Lea Viljanen) writes: lib/lib.h just includes other header files. > During weekend I patched the kernel with ptrace, alltar.Z and fixes and Quote from the original ptrace posting: PLEASE NOTE: COPY h/com.h TO /usr/include/minix/com.h Here is the Makefile I use that will install the header files correctly. NOTE: LN=ln takes the least space. use LN=cp of in different file systems. ALSO NOTE: remove fcntl.h if you don't have such a file. Howard C. Johnson ATT Bell Labs att!lzaz!hcj hcj@lzaz.att.com ==============cut here for h/Makefile============== ALL = error.h SYS = stat.h fcntl.h KERNEL = const.h INCLUDE = sgtty.h signal.h MINIX = callnr.h com.h const.h type.h LN = ln INC= /usr/include all: $(MINIX) $(SYS) $(INCLUDE) $(ALL) cp cmp: all clean: install: installsys installkernel installtop installminix installsys: $(SYS) (cd /usr/include/sys; rm -f $(SYS)) for i in $(SYS); do $(LN) $$i $(INC)/sys; done installkernel: $(KERNEL) (cd /usr/include/kernel; rm -f $(KERNEL)) for i in $(KERNEL); do $(LN) $$i $(INC)/kernel; done installtop: $(INCLUDE) (cd /usr/include; rm -f $(INCLUDE)) for i in $(INCLUDE); do $(LN) $$i $(INC); done installminix: $(MINIX) (cd /usr/include/minix; rm -f $(MINIX)) for i in $(MINIX); do $(LN) $$i $(INC)/minix; done