linprocfs.c:94:24: opt_compat.h: No such file or directory

Paul Seniura pdseniura at techie.com
Tue Aug 17 06:33:43 PDT 2004


Seems the recent linux patches have now broken
building modules-with-world:

[...]
===> sys/modules/linprocfs
@ -> /src/sys
machine -> /src/sys/i386/include
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/obj/src/i386/usr/include /src/sys/modules/linprocfs/../../compat/linprocfs/linprocfs.c
/src/sys/modules/linprocfs/../../compat/linprocfs/linprocfs.c:94:24: opt_compat.h: No such file or directory
mkdep: compile failed
*** Error code 1 (continuing)
`depend' not remade because of errors.
===> sys/modules/linux
[...]
===> sys/modules/linprocfs
cc -O -pipe -march=pentium2 -pipe -Os -march=pentium2 -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /src/sys/modules/linprocfs/../../compat/linprocfs/linprocfs.c
/src/sys/modules/linprocfs/../../compat/linprocfs/linprocfs.c:94:24: opt_compat.h: No such file or directory
*** Error code 1 (continuing)
`all' not remade because of errors.
===> sys/modules/linux
[...]


# uname -a
FreeBSD techpc04.okladot.state.ok.us 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Wed Aug 11 09:28:02 CDT 2004     root at techpc04.okladot.state.ok.us:/usr/obj/src/sys/IBM300SY_4BSD_Os  i386

# ident /src/sys/compat/linprocfs/linprocfs.c
/src/sys/compat/linprocfs/linprocfs.c:
     $FreeBSD: src/sys/compat/linprocfs/linprocfs.c,v 1.84 2004/08/16 08:19:18 tjr Exp $

We've been busy getting 543(!) ports recompiled with gcc342. 
We got 'em down to a couple handfuls, so we now need to try
Soren's ata-* patches committed yesterday re: PR/64637.

The /usr/obj/* was blown away and all NOCLEAN env-vars in
/etc/make.conf were all commented-out.

Building linux options in kernel seem to be okay as of
these overnight runs.

We must follow -Current via CTM due to political firewall. 
This build includes deltas thru late yesterday evening (CDT). 
I'm awaiting this morning's bucket but I see no commits
mentioned in the cvs-src@ maillist that seem to deal with
this particular new problem.

Please advise.


  --  thx, Paul Seniura
           System Specialist
           State of Okla. D.O.T.



More information about the freebsd-current mailing list