On 12/08/16 07:46, Jan Stary wrote: > After and update to yesterday's current/amd64 and a cvs up, > make build fails in libedit, saying: > > cc -O2 -pipe -g -Wall -I. -I/usr/src/lib/libedit -I. -I/usr/src/lib/libedit > -c /usr/src/lib/libedit/chared.c -o chared.o > /usr/src/lib/libedit/chared.c:46:20: error: common.h: No such file or > directory > /usr/src/lib/libedit/chared.c:47:18: error: fcns.h: No such file or directory > /usr/src/lib/libedit/chared.c: In function 'ch_init': > /usr/src/lib/libedit/chared.c:418: error: 'ED_UNASSIGNED' undeclared (first > use in this function) > /usr/src/lib/libedit/chared.c:418: error: (Each undeclared identifier is > reported only once > /usr/src/lib/libedit/chared.c:418: error: for each function it appears in.) > /usr/src/lib/libedit/chared.c: In function 'ch_reset': > /usr/src/lib/libedit/chared.c:468: error: 'ED_UNASSIGNED' undeclared (first > use in this function) > /usr/src/lib/libedit/chared.c: In function 'ch_end': > /usr/src/lib/libedit/chared.c:579: error: 'ED_UNASSIGNED' undeclared (first > use in this function) > /usr/src/lib/libedit/chared.c: In function 'c_gets': > /usr/src/lib/libedit/chared.c:649: warning: implicit declaration of function > 'ed_end_of_file' > *** Error 1 in /usr/src/lib/libedit (<bsd.lib.mk>:41 'chared.o': @cc -O2 > -pipe -g -Wall -I. -I/usr/src/lib/libedit -I. -I/usr/src/lib/libe...) > > > Indeed, common.h is not there. > Am I missing something obvious? > > Jan > >
Those files are generated and should be in /usr/obj/lib/libedit $ ls -l /usr/obj/lib/libedit/ total 60 -rw-rw---- 1 build wobj 1832 Dec 8 08:09 common.h -rw-rw---- 1 build wobj 1317 Dec 8 08:09 emacs.h -rw-rw---- 1 build wobj 4219 Dec 8 08:09 fcns.h -rw-rw---- 1 build wobj 2920 Dec 8 08:09 func.h -rw-rw---- 1 build wobj 11490 Dec 8 08:09 help.h -rw-rw---- 1 build wobj 2856 Dec 8 08:09 vi.h They might not be generated if missed out first stage of building or had an earlier permissions issue, the above are from my build today, the files do get generated here.