Quantcast

xenocara build broken on sparc64 - libdrm fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

xenocara build broken on sparc64 - libdrm fails

Markus Lude-3
Hello,

the xenocara sets in snapshots are more than one month old, so I tried
to build xenocara from cvs. One week ago the build was fine. Now it
errors out at libdrm:

cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/include/dev/pci/drm  -DX_PRIVSEP  -DHAVE_VISIBILITY -c /usr/xenocara/lib/libdrm/xf86drmHash.c -o xf86drmHash.o
cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/include/dev/pci/drm  -DX_PRIVSEP  -DHAVE_VISIBILITY -c /usr/xenocara/lib/libdrm/xf86drmMode.c -o xf86drmMode.o
In file included from /usr/xenocara/lib/libdrm/xf86drmMode.c:48:
/usr/xenocara/lib/libdrm/xf86drmMode.h: In function 'drm_property_type_is':
/usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: 'DRM_MODE_PROP_EXTENDED_TYPE' undeclared (first use in this function)
/usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: (Each undeclared identifier is reported only once
/usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: for each function it appears in.)
*** Error 1 in lib/libdrm (<bsd.lib.mk>:40 'xf86drmMode.o': @cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/inc...)
*** Error 1 in lib/libdrm (/usr/X11R6/share/mk/bsd.xorg.mk:211 'build')
*** Error 1 in lib (<bsd.subdir.mk>:48 'build')
*** Error 1 in . (<bsd.subdir.mk>:48 'realbuild')
*** Error 1 in /usr/xenocara (Makefile:36 'build')

Regards,
Markus

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: xenocara build broken on sparc64 - libdrm fails

Matthieu Herrb-7
On Sun, Feb 08, 2015 at 02:34:38PM +0100, Markus Lude wrote:

> Hello,
>
> the xenocara sets in snapshots are more than one month old, so I tried
> to build xenocara from cvs. One week ago the build was fine. Now it
> errors out at libdrm:
>
> cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/include/dev/pci/drm  -DX_PRIVSEP  -DHAVE_VISIBILITY -c /usr/xenocara/lib/libdrm/xf86drmHash.c -o xf86drmHash.o
> cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/include/dev/pci/drm  -DX_PRIVSEP  -DHAVE_VISIBILITY -c /usr/xenocara/lib/libdrm/xf86drmMode.c -o xf86drmMode.o
> In file included from /usr/xenocara/lib/libdrm/xf86drmMode.c:48:
> /usr/xenocara/lib/libdrm/xf86drmMode.h: In function 'drm_property_type_is':
> /usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: 'DRM_MODE_PROP_EXTENDED_TYPE' undeclared (first use in this function)
> /usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: (Each undeclared identifier is reported only once
> /usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: for each function it appears in.)
> *** Error 1 in lib/libdrm (<bsd.lib.mk>:40 'xf86drmMode.o': @cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/inc...)
> *** Error 1 in lib/libdrm (/usr/X11R6/share/mk/bsd.xorg.mk:211 'build')
> *** Error 1 in lib (<bsd.subdir.mk>:48 'build')
> *** Error 1 in . (<bsd.subdir.mk>:48 'realbuild')
> *** Error 1 in /usr/xenocara (Makefile:36 'build')
>

Hi,

you forgot to do a build in /usr/src first to install new libdrm
headers from the kernel.
--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: xenocara build broken on sparc64 - libdrm fails

Markus Lude-3
On Sun, Feb 08, 2015 at 09:51:02PM +0100, Matthieu Herrb wrote:

> On Sun, Feb 08, 2015 at 02:34:38PM +0100, Markus Lude wrote:
> > Hello,
> >
> > the xenocara sets in snapshots are more than one month old, so I tried
> > to build xenocara from cvs. One week ago the build was fine. Now it
> > errors out at libdrm:
> >
> > cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/include/dev/pci/drm  -DX_PRIVSEP  -DHAVE_VISIBILITY -c /usr/xenocara/lib/libdrm/xf86drmHash.c -o xf86drmHash.o
> > cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/include/dev/pci/drm  -DX_PRIVSEP  -DHAVE_VISIBILITY -c /usr/xenocara/lib/libdrm/xf86drmMode.c -o xf86drmMode.o
> > In file included from /usr/xenocara/lib/libdrm/xf86drmMode.c:48:
> > /usr/xenocara/lib/libdrm/xf86drmMode.h: In function 'drm_property_type_is':
> > /usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: 'DRM_MODE_PROP_EXTENDED_TYPE' undeclared (first use in this function)
> > /usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: (Each undeclared identifier is reported only once
> > /usr/xenocara/lib/libdrm/xf86drmMode.h:247: error: for each function it appears in.)
> > *** Error 1 in lib/libdrm (<bsd.lib.mk>:40 'xf86drmMode.o': @cc -O2 -pipe -g    -I/usr/xenocara/lib/libdrm  -I/usr/X11R6/include -I/usr/inc...)
> > *** Error 1 in lib/libdrm (/usr/X11R6/share/mk/bsd.xorg.mk:211 'build')
> > *** Error 1 in lib (<bsd.subdir.mk>:48 'build')
> > *** Error 1 in . (<bsd.subdir.mk>:48 'realbuild')
> > *** Error 1 in /usr/xenocara (Makefile:36 'build')
> >
>
> Hi,
>
> you forgot to do a build in /usr/src first to install new libdrm
> headers from the kernel.

Right. Now I found the define there.

Thanks for the hint!

Regards,
Markus

Loading...