I've done that of course, but it was still complaining during make phase about something in vfs code (see previous posts from me). After rm -rf /usr/src and complete new checkout from AnonCVS I was able to continue.
On Wed, Apr 20, 2011 at 4:30 PM, Amit Kulkarni <amitk...@gmail.com> wrote: > You have to rm -rf the kernel directory.... I always do it. The # is > always 0 in my case if I build it. > > rm -rf /usr/src/sys/arch/YOUR_ARCH/compile/GENERIC{.MP} > > On Wed, Apr 20, 2011 at 5:26 AM, Tomas Bodzar <tomas.bod...@gmail.com> wrote: >> Sorry, still same issue as yesterday even with latest sources so I >> can't build new kernel. I tried make clean && make depend && make too >> even as make depend is not needed anymore, but just to be sure. >> >> >> ERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DSOCKET_SPLICE -DTCP_SACK >> -DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP >> -DPPP_DEFLATE -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF -DKVM86 >> -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_LINUX -DCOMPAT_AOUT >> -DPROCFS -DNTFS -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE >> -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD >> -DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DX86EMU >> -DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL -MD -MP B -c >> ../../../../kern/vfs_vops.c >> ../../../../kern/vfs_vops.c: In function 'VOP_ISLOCKED': >> ../../../../kern/vfs_vops.c:66: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_LOOKUP': >> ../../../../kern/vfs_vops.c:81: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_CREATE': >> ../../../../kern/vfs_vops.c:99: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_MKNOD': >> ../../../../kern/vfs_vops.c:116: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_OPEN': >> ../../../../kern/vfs_vops.c:130: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_CLOSE': >> ../../../../kern/vfs_vops.c:146: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_ACCESS': >> ../../../../kern/vfs_vops.c:162: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_GETATTR': >> ../../../../kern/vfs_vops.c:177: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_SETATTR': >> ../../../../kern/vfs_vops.c:194: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_READ': >> ../../../../kern/vfs_vops.c:210: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_WRITE': >> ../../../../kern/vfs_vops.c:227: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_IOCTL': >> ../../../../kern/vfs_vops.c:244: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_POLL': >> ../../../../kern/vfs_vops.c:257: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_KQFILTER': >> ../../../../kern/vfs_vops.c:269: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_REVOKE': >> ../../../../kern/vfs_vops.c:281: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_FSYNC': >> ../../../../kern/vfs_vops.c:298: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_REMOVE': >> ../../../../kern/vfs_vops.c:314: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_LINK': >> ../../../../kern/vfs_vops.c:329: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_RENAME': >> ../../../../kern/vfs_vops.c:349: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_MKDIR': >> ../../../../kern/vfs_vops.c:366: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_RMDIR': >> ../../../../kern/vfs_vops.c:382: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_SYMLINK': >> ../../../../kern/vfs_vops.c:400: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_READDIR': >> ../../../../kern/vfs_vops.c:419: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_READLINK': >> ../../../../kern/vfs_vops.c:434: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_ABORTOP': >> ../../../../kern/vfs_vops.c:446: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_INACTIVE': >> ../../../../kern/vfs_vops.c:460: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_RECLAIM': >> ../../../../kern/vfs_vops.c:472: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_LOCK': >> ../../../../kern/vfs_vops.c:485: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_UNLOCK': >> ../../../../kern/vfs_vops.c:498: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_BMAP': >> ../../../../kern/vfs_vops.c:516: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_PRINT': >> ../../../../kern/vfs_vops.c:527: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_PATHCONF': >> ../../../../kern/vfs_vops.c:542: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_ADVLOCK': >> ../../../../kern/vfs_vops.c:557: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_REALLOCBLKS': >> ../../../../kern/vfs_vops.c:571: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_STRATEGY': >> ../../../../kern/vfs_vops.c:582: error: 'struct vops' has no member >> named 'vop_default' >> ../../../../kern/vfs_vops.c: In function 'VOP_BWRITE': >> ../../../../kern/vfs_vops.c:593: error: 'struct vops' has no member >> named 'vop_default' >> *** Error code 1 >> >> Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 92 of >> /usr/share/mk/sys.mk). >> # >> >> >> >> On Mon, Apr 18, 2011 at 4:57 PM, Paul Irofti <p...@irofti.net> wrote: >>> Try this, let me know what happens. >>> >>> Index: linux_exec.c >>> =================================================================== >>> RCS file: /cvs/src/sys/compat/linux/linux_exec.c,v >>> retrieving revision 1.33 >>> diff -u -p -r1.33 linux_exec.c >>> --- linux_exec.c B B B B B B B 5 Apr 2011 15:44:40 -0000 B B B B B B 1.33 >>> +++ linux_exec.c B B B B B B B 18 Apr 2011 13:50:37 -0000 >>> @@ -197,14 +197,17 @@ linux_e_proc_exit(struct proc *p) >>> B void >>> B linux_e_proc_fork(struct proc *p, struct proc *parent) >>> B { >>> - B B B B B B struct linux_emuldata *emul = p->p_emuldata; >>> - B B B B B B struct linux_emuldata *p_emul = parent->p_emuldata; >>> + B B B B B B struct linux_emuldata *emul; >>> + B B B B B B struct linux_emuldata *p_emul; >>> >>> B B B B B B B /* Allocate new emuldata for the new process. */ >>> B B B B B B B p->p_emuldata = NULL; >>> >>> B B B B B B B /* fork, use parent's vmspace (our vmspace may not be setup yet) >> */ >>> B B B B B B B linux_e_proc_init(p, parent->p_vmspace); >>> + >>> + B B B B B B emul = p->p_emuldata; >>> + B B B B B B p_emul = parent->p_emuldata; >>> >>> B B B B B B B emul->my_set_tid = p_emul->child_set_tid; >>> B B B B B B B emul->my_clear_tid = p_emul->child_clear_tid;