Date: Sat, 13 Dec 1997 16:19:00 -0800 (PST) From: asami@cs.berkeley.edu (Satoshi Asami) To: stable@freebsd.org Cc: nnd@nnd.itfs.nsk.su, jkh@freebsd.org Subject: make buildworld -j2 problems Message-ID: <199712140019.QAA10639@baloon.mimi.com>
next in thread | raw e-mail | index | archive | help
I've run parallel makes a few times an finally was able to get an
error:
===
:
--- scanner.c ---
lex -t /j/src/lib/libpcap/../../contrib/libpcap/scanner.l > scanner.c
--- pcap.3.gz ---
gzip -c /j/src/lib/libpcap/../../contrib/libpcap/pcap.3 > pcap.3.gz
--- grammar.c ---
yacc -d /j/src/lib/libpcap/../../contrib/libpcap/grammar.y
--- scanner.so ---
cc -nostdinc -fpic -DPIC -O2 -pipe -Wall -I. -I/j/src/lib/libpcap -Dyylval=pcap_lval -Dlint -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 -I/j/src/lib/libpcap/../../contrib/libpcap -I/j/src/lib/libpcap/../../contrib/libpcap/lbl -I/usr/obj/j/src/tmp/usr/include -c scanner.c -o scanner.so
/j/src/lib/libpcap/../../contrib/libpcap/scanner.l:38: tokdefs.h: No such file or directory
--- grammar.c ---
mv y.tab.c grammar.c
--- scanner.so ---
/j/src/lib/libpcap/../../contrib/libpcap/scanner.l:70: parse error before `pcap_lval'
:
===
Looking at src/lib/libpcap/Makefile, I see this piece:
===
scanner.o: tokdefs.h
.ORDER: grammar.c tokdefs.h
tokdefs.h: grammar.c
mv -f y.tab.h tokdefs.h
===
(1) Why is the .ORDER required? It seems to me that the line
immediately following it should enforce exactly that.
(2) I'll try again after adding a "scanner.so: tokdefs.h" line. But
it seems to me that there should be a more elegant way to handle
this. (Don't we need to add a ".po" line too?)
Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712140019.QAA10639>
