* build failure on ubuntu 14.04.1 LTS
@ 2015-01-19 12:32 Vincent McIntyre
2015-01-19 12:45 ` Hans Verkuil
2015-01-19 14:10 ` Francesco Other
0 siblings, 2 replies; 4+ messages in thread
From: Vincent McIntyre @ 2015-01-19 12:32 UTC (permalink / raw)
To: linux-media
Hi
I am seeing build failures since 11 January.
A build I did on 22 December worked fine.
My build procedure and the error are shown below.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
$ uname -a
Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux
$ make distclean
$ rm v4l/.config
$ git pull
$ git log |head
commit de98549b53c938b44f578833fe8440b92f4a8c64
Author: Hans Verkuil <hans.verkuil@cisco.com>
Date: Mon Jan 12 10:53:27 2015 +0100
Update v3.11_dev_groups.patch
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
commit 3886d538f89948d49b652465e0d52e6e9a7329ab
Author: Hans Verkuil <hans.verkuil@cisco.com>
$ ./build --main-git
...
CC [M] /home/me/git/clones/media_build/v4l/smiapp-core.o
/home/me/git/clones/media_build/v4l/smiapp-core.c: In function 'smiapp_get_pdata':
/home/me/git/clones/media_build/v4l/smiapp-core.c:3061:3: error: implicit declaration of function 'of_read_number' [-Werror=implicit-function-declaration]
pdata->op_sys_clock[i] = of_read_number(val + i * 2, 2);
^
cc1: some warnings being treated as errors
make[3]: *** [/home/me/git/clones/media_build/v4l/smiapp-core.o] Error 1
make[2]: *** [_module_/home/me/git/clones/media_build/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-37-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/me/git/clones/media_build/v4l'
make: *** [all] Error 2
build failed at ./build line 491, <IN> line 4.
$ grep -ilr "implicit-function-declaration" . |grep -v o.cmd
./media/tools/thermal/tmon/Makefile
./media/arch/parisc/math-emu/Makefile
./media/Makefile
It's not clear to me whether this a problem with the media_tree code
or the media_build code.
media/Makefile contains this definition
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration \
-Wno-format-security \
-std=gnu89
Regards
Vince
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: build failure on ubuntu 14.04.1 LTS
2015-01-19 12:32 build failure on ubuntu 14.04.1 LTS Vincent McIntyre
@ 2015-01-19 12:45 ` Hans Verkuil
2015-01-20 10:06 ` Vincent McIntyre
2015-01-19 14:10 ` Francesco Other
1 sibling, 1 reply; 4+ messages in thread
From: Hans Verkuil @ 2015-01-19 12:45 UTC (permalink / raw)
To: Vincent McIntyre, linux-media
On 01/19/2015 01:32 PM, Vincent McIntyre wrote:
> Hi
>
> I am seeing build failures since 11 January.
> A build I did on 22 December worked fine.
> My build procedure and the error are shown below.
I've just updated media_build to stop compiling the smiapp driver for kernels
< 3.20. So if you do 'git pull' in your media_build directory and try again
it should work.
Regards,
Hans
>
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
> $ uname -a
> Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux
> $ make distclean
> $ rm v4l/.config
> $ git pull
> $ git log |head
> commit de98549b53c938b44f578833fe8440b92f4a8c64
> Author: Hans Verkuil <hans.verkuil@cisco.com>
> Date: Mon Jan 12 10:53:27 2015 +0100
>
> Update v3.11_dev_groups.patch
>
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
>
> commit 3886d538f89948d49b652465e0d52e6e9a7329ab
> Author: Hans Verkuil <hans.verkuil@cisco.com>
>
> $ ./build --main-git
> ...
> CC [M] /home/me/git/clones/media_build/v4l/smiapp-core.o
> /home/me/git/clones/media_build/v4l/smiapp-core.c: In function 'smiapp_get_pdata':
> /home/me/git/clones/media_build/v4l/smiapp-core.c:3061:3: error: implicit declaration of function 'of_read_number' [-Werror=implicit-function-declaration]
> pdata->op_sys_clock[i] = of_read_number(val + i * 2, 2);
> ^
> cc1: some warnings being treated as errors
> make[3]: *** [/home/me/git/clones/media_build/v4l/smiapp-core.o] Error 1
> make[2]: *** [_module_/home/me/git/clones/media_build/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-37-generic'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/me/git/clones/media_build/v4l'
> make: *** [all] Error 2
> build failed at ./build line 491, <IN> line 4.
>
> $ grep -ilr "implicit-function-declaration" . |grep -v o.cmd
> ./media/tools/thermal/tmon/Makefile
> ./media/arch/parisc/math-emu/Makefile
> ./media/Makefile
>
> It's not clear to me whether this a problem with the media_tree code
> or the media_build code.
>
> media/Makefile contains this definition
>
> KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
> -fno-strict-aliasing -fno-common \
> -Werror-implicit-function-declaration \
> -Wno-format-security \
> -std=gnu89
>
> Regards
> Vince
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: build failure on ubuntu 14.04.1 LTS
2015-01-19 12:32 build failure on ubuntu 14.04.1 LTS Vincent McIntyre
2015-01-19 12:45 ` Hans Verkuil
@ 2015-01-19 14:10 ` Francesco Other
1 sibling, 0 replies; 4+ messages in thread
From: Francesco Other @ 2015-01-19 14:10 UTC (permalink / raw)
To: Vincent McIntyre; +Cc: linux-media
Hi Vincent,
you may use this workaround, I have the same problem:
https://github.com/ljalves/linux_media/issues/68
Reagrds
Francesco
2015-01-19 13:32 GMT+01:00 Vincent McIntyre <vincent.mcintyre@gmail.com>:
> Hi
>
> I am seeing build failures since 11 January.
> A build I did on 22 December worked fine.
> My build procedure and the error are shown below.
>
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
> $ uname -a
> Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux
> $ make distclean
> $ rm v4l/.config
> $ git pull
> $ git log |head
> commit de98549b53c938b44f578833fe8440b92f4a8c64
> Author: Hans Verkuil <hans.verkuil@cisco.com>
> Date: Mon Jan 12 10:53:27 2015 +0100
>
> Update v3.11_dev_groups.patch
>
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
>
> commit 3886d538f89948d49b652465e0d52e6e9a7329ab
> Author: Hans Verkuil <hans.verkuil@cisco.com>
>
> $ ./build --main-git
> ...
> CC [M] /home/me/git/clones/media_build/v4l/smiapp-core.o
> /home/me/git/clones/media_build/v4l/smiapp-core.c: In function 'smiapp_get_pdata':
> /home/me/git/clones/media_build/v4l/smiapp-core.c:3061:3: error: implicit declaration of function 'of_read_number' [-Werror=implicit-function-declaration]
> pdata->op_sys_clock[i] = of_read_number(val + i * 2, 2);
> ^
> cc1: some warnings being treated as errors
> make[3]: *** [/home/me/git/clones/media_build/v4l/smiapp-core.o] Error 1
> make[2]: *** [_module_/home/me/git/clones/media_build/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-37-generic'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/me/git/clones/media_build/v4l'
> make: *** [all] Error 2
> build failed at ./build line 491, <IN> line 4.
>
> $ grep -ilr "implicit-function-declaration" . |grep -v o.cmd
> ./media/tools/thermal/tmon/Makefile
> ./media/arch/parisc/math-emu/Makefile
> ./media/Makefile
>
> It's not clear to me whether this a problem with the media_tree code
> or the media_build code.
>
> media/Makefile contains this definition
>
> KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
> -fno-strict-aliasing -fno-common \
> -Werror-implicit-function-declaration \
> -Wno-format-security \
> -std=gnu89
>
> Regards
> Vince
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: build failure on ubuntu 14.04.1 LTS
2015-01-19 12:45 ` Hans Verkuil
@ 2015-01-20 10:06 ` Vincent McIntyre
0 siblings, 0 replies; 4+ messages in thread
From: Vincent McIntyre @ 2015-01-20 10:06 UTC (permalink / raw)
To: Hans Verkuil; +Cc: linux-media
On Mon, Jan 19, 2015 at 01:45:44PM +0100, Hans Verkuil wrote:
> On 01/19/2015 01:32 PM, Vincent McIntyre wrote:
> > Hi
> >
> > I am seeing build failures since 11 January.
> > A build I did on 22 December worked fine.
> > My build procedure and the error are shown below.
>
> I've just updated media_build to stop compiling the smiapp driver for kernels
> < 3.20. So if you do 'git pull' in your media_build directory and try again
> it should work.
I can confirm that it does work now.
Thanks for the quick turnaround, much appreciated.
Vince
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-20 10:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 12:32 build failure on ubuntu 14.04.1 LTS Vincent McIntyre
2015-01-19 12:45 ` Hans Verkuil
2015-01-20 10:06 ` Vincent McIntyre
2015-01-19 14:10 ` Francesco Other
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox