[weston] Missing header file

Joaquim Duran jduran.gm at gmail.com
Thu Oct 8 00:37:06 PDT 2015


Hello,

> please keep the mailing list in CC.

Sorry.

I've commented the tests that they finished with an error. Finaly,
I've compiled weston.

Joaquim Duran

2015-10-07 13:05 GMT+02:00 Pekka Paalanen <ppaalanen at gmail.com>:
> On Wed, 7 Oct 2015 12:28:58 +0200
> Joaquim Duran <jduran.gm at gmail.com> wrote:
>
>> Hello,
>
> Hi,
>
> please keep the mailing list in CC.
>
>> The file protocol/presentation_timing-client-protocol.h is not generated:
>>
>> gem-med at gemmed-VirtualBox:~/Logic_BSPs/Linux_3.0/src/weston$ find .
>> -name "presentation_timing-client-protocol.h"
>> gem-med at gemmed-VirtualBox:~/Logic_BSPs/Linux_3.0/src/weston$
>
> Makefile.am definitely has this:
>
> presentation_weston_SOURCES =                   \
>         tests/presentation-test.c               \
>         shared/helpers.h
> nodist_presentation_weston_SOURCES =            \
>         protocol/presentation_timing-protocol.c \
>         protocol/presentation_timing-client-protocol.h
>
> The nodist files would be generated in the build tree, not the source
> tree, in case you are doing out-of-tree builds.
>
> Also weston-info and weston-presentation-shm clients  and
> libtoytoolkit.la use that header. Hmm, I suppose you are disabling
> those too.
>
> I suppose with all this disabling, the files listed in
> nodist_presentation_weston_SOURCES never get into BUILT_SOURCES.
>
> We should probably fix that, but if you intend also running Weston, you
> probably don't want --disable-clients. Removing that should work around
> the problem.
>
>> I've changed to cairo image backend, however the file
>> presentation_timing-client-protocol.h is not created.
>
> That was an unrelated issue I noticed.
>
>
> Thanks,
> pq
>
>> 2015-10-07 11:34 GMT+02:00 Pekka Paalanen <ppaalanen at gmail.com>:
>> > On Wed, 7 Oct 2015 11:02:30 +0200
>> > Joaquim Duran <jduran.gm at gmail.com> wrote:
>> >
>> >> Hello,
>> >>
>> >> I am cross compiling weston for arm architecture witn the following
>> >> configuration:
>> >>
>> >> ./autogen.sh \
>> >>     --disable-devdocs \
>> >>     --disable-dbus \
>> >>     --disable-xwayland \
>> >>     --disable-xwayland-test \
>> >>     --disable-x11-compositor \
>> >>     --disable-drm-compositor \
>> >>     --enable-wayland-compositor \
>> >>     --disable-headless-compositor \
>> >>     --disable-rpi-compositor \
>> >>     --disable-fbdev-compositor \
>> >>     --disable-rdp-compositor \
>> >>     --disable-systemd-login \
>> >>     --disable-weston-launch \
>> >>     --disable-wcap-tools \
>> >>     --disable-clients \
>> >>     --disable-simple-clients \
>> >>     --disable-simple-egl-clients \
>> >>     --with-cairo-glesv2 \
>> >>     --disable-tests \
>> >>     --build=i686-linux --host=arm-none-linux-gnueabi
>> >> --target=arm-none-linux-gnueabi \
>> >>     --prefix=$INSTALL_DIR --with-sysroot=${SYSROOT_DIR}
>> >>
>> >> When compiling the tests, the following error is shown:
>> >>
>> >>   CC     tests/presentation_weston-presentation-test.o
>> >> tests/presentation-test.c:36:49: fatal error:
>> >> presentation_timing-client-protocol.h: No such file or directory
>> >> compilation terminated.
>> >> make[1]: *** [tests/presentation_weston-presentation-test.o] Error 1
>> >> make[1]: Leaving directory `/home/gem-med/Logic_BSPs/Linux_3.0/src/weston'
>> >> make: *** [all] Error 2
>> >
>> > Hi,
>> >
>> > the file protocol/presentation_timing-client-protocol.h should be
>> > autogenerated with wayland-scanner.
>> >
>> > Is it not generated at all?
>> > Is it generated in a directory not passed to gcc when compiling
>> > tests/presentation-test.c?
>> >
>> > I also don't think --disable-tests is a thing.
>> >
>> > Please, do not use --with-cairo=glesv2 or --with-cairo=gl. I do not
>> > think --with-cairo-glesv2 is a thing, but if it once was, please do not
>> > use it. See lines 261 - 273 in:
>> > http://cgit.freedesktop.org/wayland/weston/tree/configure.ac#n261
>> >
>> >
>> > Thanks,
>> > pq
>


More information about the wayland-devel mailing list