Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure for in-tree xorg



Hello,

On Fri, 6 Jan 2017 07:55:52 +0800 (PHT)
Paul Goyette <paul%whooppee.com@localhost> wrote:

> Hmmm, cvs claimed that the file was up-to-date and that there were no 
> differences between my local copy and the repo.
> 
> Yet, I removed it and re-fetched via cvs update, and sure enough the 
> build is moving again!

That was an #include <sys/mman.h> that I accidentally #ifdef
HAVE_ISA-ed. Martin fixed it.

have fun
Michael

> On Thu, 5 Jan 2017, bch wrote:
> 
> > I just nuked that file and re-CVS'd it and made out alright. I looked for
> > its obj, but couldn't conclusively find it and did the nuke/restore in
> > meantime, then things built. A touch (1) alone might push it along?
> >
> > On Jan 5, 2017 15:36, "Paul Goyette" <paul%whooppee.com@localhost> wrote:
> >  
> >> With up-to-date sources, and a totally clean $OBJDIR I am getting
> >>
> >> /build/netbsd-local/xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:
> >> In function 'chipsMapMem':
> >> /build/netbsd-local/xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:6870:14:
> >> error: implicit declaration of function 'mmap'
> >> [-Werror=implicit-function-declaration]
> >>     *result = mmap(NULL,
> >>               ^
> >> /build/netbsd-local/xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:6872:15:
> >> error: 'PROT_READ' undeclared (first use in this function)
> >>                PROT_READ | PROT_WRITE,
> >>                ^
> >> /build/netbsd-local/xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:6872:15:
> >> note: each undeclared identifier is reported only once for each function it
> >> appears in
> >> /build/netbsd-local/xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:6872:27:
> >> error: 'PROT_WRITE' undeclared (first use in this function)
> >>                PROT_READ | PROT_WRITE,
> >>                            ^
> >> /build/netbsd-local/xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:6873:15:
> >> error: 'MAP_SHARED' undeclared (first use in this function)
> >>                MAP_SHARED,
> >>                ^
> >> /build/netbsd-local/xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:6876:22:
> >> error: 'MAP_FAILED' undeclared (first use in this function)
> >>     err = (*result == MAP_FAILED);
> >>                       ^
> >> ...
> >>
> >>
> >>
> >>
> >>
> >>
> >> +------------------+--------------------------+------------------------+
> >> | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
> >> | (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
> >> | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
> >> +------------------+--------------------------+------------------------+
> >>  
> >
> >
> > !DSPAM:586edb8014332552212206!
> >  
> 
> +------------------+--------------------------+------------------------+
> | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
> | (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
> | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
> +------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index