* [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors @ 2016-08-01 1:06 bugzilla at busybox.net 2016-08-01 1:10 ` [Buildroot] [Bug 9121] " bugzilla at busybox.net ` (11 more replies) 0 siblings, 12 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-01 1:06 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 Bug ID: 9121 Summary: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors Product: buildroot Version: 2016.05 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: rdghx at 163.com CC: buildroot at uclibc.org Target Milestone: --- gst1-imx-0.12.1.tar.gz: OK (sha256: d8a7357bc575e22d0d19d6d7cf547bd69cad5fc47adb93f09ead41b0124353fa) >>> gst1-imx 0.12.1 Extracting gzip -d -c /home/ganhx/work/buildroot/dl/gst1-imx-0.12.1.tar.gz | tar --strip-components=1 -C /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1 -xf - >>> gst1-imx 0.12.1 Patching >>> gst1-imx 0.12.1 Configuring cd /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1; PATH="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/bin:/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/sbin:/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin:/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/sbin:/home/ganhx/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/jdk1.6.0_45/bin:/opt/codesourcery/bin:/android-ndk-r7b:/opt/gcc-linaro/bin" AR="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-ar" AS="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-as" LD="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-ld" NM="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-nm" CC="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-gcc" GCC="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-gcc" CPP="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-cpp" CXX="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-g++" FC="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-gfortran" F77="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-gfortran" RANLIB="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-ranlib" READELF="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-readelf" STRIP="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-strip" OBJCOPY="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-objcopy" OBJDUMP="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/include" CFLAGS_FOR_BUILD="-O2 -I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/include" LDFLAGS_FOR_BUILD="-L/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/lib -L/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/lib -Wl,-rpath,/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-as" DEFAULT_LINKER="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/pkg-config" STAGING_DIR="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/arm-buildroot-linux-gnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl /home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/python2 ./waf configure --prefix="/usr" --kernel-headers="/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/linux-rel_imx_3.14.52_1.1.0_ga/include" --egl-platform=wayland Setting top to : /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1 Setting out to : /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/build Checking for 'gcc' (c compiler) : /home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-gcc Need to test compiler flags -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os Checking if building with these flags works : yes Checking for compiler switch -O2 : yes Checking for compiler switch -DPIC : yes Checking for compiler switch -fPIC : yes Checking for compiler switch -std=gnu99 : yes Checking for compiler switch -Wall : yes Checking for compiler switch -Wextra : yes Checking for compiler switch -Wno-sign-compare : yes Checking for compiler switch -Wno-missing-field-initializers : yes Checking for compiler switch -Wno-unused-parameter : yes Checking for compiler switch -Wno-cpp : yes Checking for program objdump : /home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-objdump Building for Android : no Checking for library dl : yes Checking for library m : yes Checking for library pthread : yes Checking for program pkg-config : /home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/pkg-config Checking for 'gstreamer-1.0' version : yes Checking for 'gstreamer-1.0 >= 1.2.0' : yes Checking for 'gstreamer-base-1.0 >= 1.2.0' : yes Checking for 'gstreamer-audio-1.0 >= 1.2.0' : yes Checking for 'gstreamer-video-1.0 >= 1.2.0' : yes Checking for library gstphotography-1.0 : yes checking whether or not the kernel version is greater than 3.5.0 : no Checking for library g2d : yes Checking for header g2d.h : yes G2D elements will be built checking for linux/pxp_device.h : no PxP elements will not be built - headers not found checking for linux/fb.h and the IPU header linux/ipu.h : no IPU elements will not be built - headers not found Checking for 'libimxvpuapi' : not found could not find installed imxvpuapi library - VPU elements will not be built Checking for 'wayland-client' : yes Checking for 'wayland-cursor' : yes Checking for 'wayland-egl' : yes Checking for library ['EGL'] : yes Checking for header EGL/egl.h : yes Checking for library GLESv2 : yes Checking for header GLES2/gl2.h : yes Checking for header ['GLES2/gl2.h', 'GLES2/gl2ext.h'] : yes EGL sink with Vivante direct textures will be built Selected EGL platform: wayland Checking for 'libfslaudiocodec' : yes Searching fslcodec plugin directory : found added AAC LC decoder (soname: lib_aacd_wrap_arm12_elinux.so.3) added MP3 decoder (soname: lib_mp3d_wrap_arm12_elinux.so.3) added Vorbis decoder (soname: lib_vorbisd_wrap_arm12_elinux.so.3) added narrowband AMR decoder (soname: lib_nbamrd_wrap_arm11_elinux.so.1) added wideband AMR decoder (soname: lib_wbamrd_wrap_arm12_elinux.so.1) could not add WMA decoder uniaudio decoder will be built Checking for library _mp3_enc_arm12_elinux : not found mp3 encoder will not be built 'configure' finished successfully (14.521s) >>> gst1-imx 0.12.1 Building cd /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1; /home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/python2 ./waf build -j 2 Waf: Entering directory `/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/build' [ 1/40] c: src/common/canvas.c -> build/src/common/canvas.c.1.o [ 2/40] c: src/common/fd_object.c -> build/src/common/fd_object.c.1.o [ 3/40] c: src/common/phys_mem_allocator.c -> build/src/common/phys_mem_allocator.c.1.o [ 4/40] c: src/common/phys_mem_buffer_pool.c -> build/src/common/phys_mem_buffer_pool.c.1.o [ 5/40] c: src/common/phys_mem_meta.c -> build/src/common/phys_mem_meta.c.1.o [ 6/40] c: src/common/region.c -> build/src/common/region.c.1.o [ 7/40] c: src/g2d/allocator.c -> build/src/g2d/allocator.c.1.o [ 8/40] c: src/g2d/blitter.c -> build/src/g2d/blitter.c.1.o [ 9/40] c: src/g2d/compositor.c -> build/src/g2d/compositor.c.1.o [10/40] c: src/g2d/plugin.c -> build/src/g2d/plugin.c.1.o [11/40] c: src/g2d/video_sink.c -> build/src/g2d/video_sink.c.1.o [12/40] c: src/g2d/video_transform.c -> build/src/g2d/video_transform.c.1.o [13/40] c: src/eglvivsink/eglvivsink.c -> build/src/eglvivsink/eglvivsink.c.1.o [14/40] c: src/eglvivsink/gl_headers.c -> build/src/eglvivsink/gl_headers.c.1.o [15/40] c: src/eglvivsink/gles2_renderer.c -> build/src/eglvivsink/gles2_renderer.c.1.o [16/40] c: src/eglvivsink/egl_misc.c -> build/src/eglvivsink/egl_misc.c.1.o [17/40] c: src/eglvivsink/plugin.c -> build/src/eglvivsink/plugin.c.1.o [18/40] c: src/eglvivsink/egl_platform_wayland.c -> build/src/eglvivsink/egl_platform_wayland.c.1.o [19/40] c: src/v4l2src/v4l2_buffer_pool.c -> build/src/v4l2src/v4l2_buffer_pool.c.1.o [20/40] c: src/v4l2src/v4l2src.c -> build/src/v4l2src/v4l2src.c.1.o In file included from ../src/v4l2src/v4l2src.c:24:0: ../../../host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/gstreamer-1.0/gst/interfaces/photography.h:28:2: warning: #warning "The GstPhotography interface is unstable API and may change in future." [-Wcpp] #warning "The GstPhotography interface is unstable API and may change in future." ^ ../../../host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/gstreamer-1.0/gst/interfaces/photography.h:29:2: warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning." [-Wcpp] #warning "You can define GST_USE_UNSTABLE_API to avoid this warning." ^ ../src/v4l2src/v4l2src.c: In function ?ctrl_name?: ../src/v4l2src/v4l2src.c:942:8: error: ?V4L2_CID_AUTO_FOCUS_RANGE? undeclared (first use in this function) case V4L2_CID_AUTO_FOCUS_RANGE: ^ ../src/v4l2src/v4l2src.c:942:8: note: each undeclared identifier is reported only once for each function it appears in ../src/v4l2src/v4l2src.c:944:8: error: ?V4L2_CID_AUTO_FOCUS_START? undeclared (first use in this function) case V4L2_CID_AUTO_FOCUS_START: ^ ../src/v4l2src/v4l2src.c:946:8: error: ?V4L2_CID_AUTO_FOCUS_STOP? undeclared (first use in this function) case V4L2_CID_AUTO_FOCUS_STOP: ^ ../src/v4l2src/v4l2src.c:948:8: error: ?V4L2_CID_AUTO_FOCUS_STATUS? undeclared (first use in this function) case V4L2_CID_AUTO_FOCUS_STATUS: ^ ../src/v4l2src/v4l2src.c:950:8: error: ?V4L2_CID_3A_LOCK? undeclared (first use in this function) case V4L2_CID_3A_LOCK: ^ ../src/v4l2src/v4l2src.c: In function ?gst_imx_v4l2src_apply_focus_settings?: ../src/v4l2src/v4l2src.c:1005:23: error: ?V4L2_CID_AUTO_FOCUS_STOP? undeclared (first use in this function) v4l2_s_ctrl(v4l2src, V4L2_CID_AUTO_FOCUS_STOP, 0); ^ ../src/v4l2src/v4l2src.c:1013:27: error: ?V4L2_CID_3A_LOCK? undeclared (first use in this function) if (v4l2_g_ctrl(v4l2src, V4L2_CID_3A_LOCK, &locks) == 0 && (locks & V4L2_LOCK_FOCUS)) ^ ../src/v4l2src/v4l2src.c:1013:70: error: ?V4L2_LOCK_FOCUS? undeclared (first use in this function) if (v4l2_g_ctrl(v4l2src, V4L2_CID_3A_LOCK, &locks) == 0 && (locks & V4L2_LOCK_FOCUS)) ^ ../src/v4l2src/v4l2src.c:1023:13: error: ?V4L2_AUTO_FOCUS_RANGE_AUTO? undeclared (first use in this function) range = V4L2_AUTO_FOCUS_RANGE_AUTO; ^ ../src/v4l2src/v4l2src.c:1026:13: error: ?V4L2_AUTO_FOCUS_RANGE_MACRO? undeclared (first use in this function) range = V4L2_AUTO_FOCUS_RANGE_MACRO; ^ ../src/v4l2src/v4l2src.c:1029:13: error: ?V4L2_AUTO_FOCUS_RANGE_INFINITY? undeclared (first use in this function) range = V4L2_AUTO_FOCUS_RANGE_INFINITY; ^ ../src/v4l2src/v4l2src.c:1032:13: error: ?V4L2_AUTO_FOCUS_RANGE_NORMAL? undeclared (first use in this function) range = V4L2_AUTO_FOCUS_RANGE_NORMAL; ^ ../src/v4l2src/v4l2src.c:1036:24: error: ?V4L2_CID_AUTO_FOCUS_RANGE? undeclared (first use in this function) v4l2_s_ctrl(v4l2src, V4L2_CID_AUTO_FOCUS_RANGE, range); ^ ../src/v4l2src/v4l2src.c: In function ?gst_imx_v4l2src_af_check_status?: ../src/v4l2src/v4l2src.c:1106:27: error: ?V4L2_CID_AUTO_FOCUS_STATUS? undeclared (first use in this function) if (v4l2_g_ctrl(v4l2src, V4L2_CID_AUTO_FOCUS_STATUS, &status) < 0) ^ ../src/v4l2src/v4l2src.c:1111:8: error: ?V4L2_AUTO_FOCUS_STATUS_IDLE? undeclared (first use in this function) case V4L2_AUTO_FOCUS_STATUS_IDLE: ^ ../src/v4l2src/v4l2src.c:1118:8: error: ?V4L2_AUTO_FOCUS_STATUS_BUSY? undeclared (first use in this function) case V4L2_AUTO_FOCUS_STATUS_BUSY: ^ ../src/v4l2src/v4l2src.c:1122:8: error: ?V4L2_AUTO_FOCUS_STATUS_REACHED? undeclared (first use in this function) case V4L2_AUTO_FOCUS_STATUS_REACHED: ^ ../src/v4l2src/v4l2src.c:1127:8: error: ?V4L2_AUTO_FOCUS_STATUS_FAILED? undeclared (first use in this function) case V4L2_AUTO_FOCUS_STATUS_FAILED: ^ ../src/v4l2src/v4l2src.c: In function ?gst_imx_v4l2src_set_autofocus?: ../src/v4l2src/v4l2src.c:1201:28: error: ?V4L2_CID_3A_LOCK? undeclared (first use in this function) if (v4l2_g_ctrl(v4l2src, V4L2_CID_3A_LOCK, &locks) == 0) ^ ../src/v4l2src/v4l2src.c:1203:24: error: ?V4L2_LOCK_FOCUS? undeclared (first use in this function) if (on && !(locks & V4L2_LOCK_FOCUS)) ^ ../src/v4l2src/v4l2src.c:1213:29: error: ?V4L2_CID_AUTO_FOCUS_START? undeclared (first use in this function) if (v4l2_s_ctrl(v4l2src, V4L2_CID_AUTO_FOCUS_START, 0) == 0) ^ ../src/v4l2src/v4l2src.c:1217:25: error: ?V4L2_CID_AUTO_FOCUS_STOP? undeclared (first use in this function) v4l2_s_ctrl(v4l2src, V4L2_CID_AUTO_FOCUS_STOP, 0); ^ Waf: Leaving directory `/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/build' Build failed -> task in 'gstimxv4l2videosrc' failed (exit status 1): {task 1087211724: c v4l2src.c -> v4l2src.c.1.o} ['/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-fPIC', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-Wno-unused-parameter', '-Wno-missing-field-initializers', '-Wno-sign-compare', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/build/src/v4l2src', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/src/v4l2src', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/build', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/gstreamer-1.0', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/gstreamer-1.0/include', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/glib-2.0', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/glib-2.0/include', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include', '../src/v4l2src/v4l2src.c', '-c', '-o', 'src/v4l2src/v4l2src.c.1.o'] make[1]: *** [/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/.stamp_built] Error 1 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net @ 2016-08-01 1:10 ` bugzilla at busybox.net 2016-08-01 1:59 ` bugzilla at busybox.net ` (10 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-01 1:10 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #1 from rdghx <rdghx@163.com> --- kernel-3.14.52-1.1.0 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net 2016-08-01 1:10 ` [Buildroot] [Bug 9121] " bugzilla at busybox.net @ 2016-08-01 1:59 ` bugzilla at busybox.net 2016-08-01 8:36 ` bugzilla at busybox.net ` (9 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-01 1:59 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #2 from rdghx <rdghx@163.com> --- Created attachment 6566 --> https://bugs.busybox.net/attachment.cgi?id=6566&action=edit gst1-imx config log -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net 2016-08-01 1:10 ` [Buildroot] [Bug 9121] " bugzilla at busybox.net 2016-08-01 1:59 ` bugzilla at busybox.net @ 2016-08-01 8:36 ` bugzilla at busybox.net 2016-08-01 8:48 ` bugzilla at busybox.net ` (8 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-01 8:36 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #3 from Gary Bisson <gary.bisson@boundarydevices.com> --- Hi, Can you share you defconfig? It looks like the issue is that the kernel used isn't a NXP kernel which is why the PXP/IPU headers are missing. But the fact that the PXP/IPU headers are missing isn't really a problem, it should just not compile the plugins for it. The issue is that the imxv4l2videosrc plugin also relies on some V4L2 IOCTL that are only found on NXP kernels. An update to the gst1-imx package will be made soon in order to select each plugin individually, we can then make v4l2src plugin depend on kernel too with a comment that says it requires a NXP-specific kernel. Regards, Gary -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (2 preceding siblings ...) 2016-08-01 8:36 ` bugzilla at busybox.net @ 2016-08-01 8:48 ` bugzilla at busybox.net 2016-08-02 1:11 ` bugzilla at busybox.net ` (7 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-01 8:48 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #4 from Gary Bisson <gary.bisson@boundarydevices.com> --- Hi, Actually your log states it uses the rel_imx_3.14.52_1.1.0_ga tag. Can you list the content of the following folder? /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/linux-rel_imx_3.14.52_1.1.0_ga/include What is strange is that the headers from the git repo are here as expected: http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/include/linux/ipu.h?id=rel_imx_3.14.52_1.1.0_ga http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/include/linux/pxp_device.h?id=rel_imx_3.14.52_1.1.0_ga http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/include/uapi/linux/v4l2-controls.h?id=rel_imx_3.14.52_1.1.0_ga Regards, Gary -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (3 preceding siblings ...) 2016-08-01 8:48 ` bugzilla at busybox.net @ 2016-08-02 1:11 ` bugzilla at busybox.net 2016-08-02 1:23 ` bugzilla at busybox.net ` (6 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-02 1:11 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #5 from rdghx <rdghx@163.com> --- include/linux/ipu.h, include/linux/pxp_device.h, include/uapi/linux/v4l2-controls.h all in its place. in the gst1-imx config.log, for the PXP, IPU test, there is no asm/linkage.h finded. actually the file is in arch/arm/include/asm/linkage.h. if you create a link : ln -s arch/arm/include/asm include/. there will be other errors. ['/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-Wno-cpp', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/linux-rel_imx_3.14.52_1.1.0_ga/include', '-DGSTREAMER_VERSION="1.8.2"', '-DHAVE_GSTREAMER=1', '-DHAVE_GSTREAMER_BASE=1', '-DHAVE_GSTREAMER_AUDIO=1', '-DHAVE_GSTREAMER_VIDEO=1', '-DGST_PACKAGE_NAME="Unknown package release"', '-DGST_PACKAGE_ORIGIN="Unknown package origin"', '-DPACKAGE="gstreamer-imx"', '-DPACKAGE_BUGREPORT="https://github.com/Freescale/gstreamer-imx"', '-DVERSION="0.12.1"', '-DHAVE_G2D_H=1', '../test.c', '-c', '-o', 'test.c.1.o'] err: In file included from /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/linux-rel_imx_3.14.52_1.1.0_ga/include/linux/kgdb.h:16:0, from /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/linux-rel_imx_3.14.52_1.1.0_ga/include/linux/fb.h:4, from ../test.c:3: /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/linux-rel_imx_3.14.52_1.1.0_ga/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory #include <asm/linkage.h> ^ compilation terminated. from /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/src/ipu: Test does not build: Traceback (most recent call last): File "/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/.waf-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Tools/c_config.py", line 459, in run_c_code bld.compile() File "/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/.waf-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Build.py", line 188, in compile raise Errors.BuildError(self.producer.error) BuildError: Build failed -> task in 'testprog' failed (exit status 1): {task 1087632876: c test.c -> test.c.1.o} -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (4 preceding siblings ...) 2016-08-02 1:11 ` bugzilla at busybox.net @ 2016-08-02 1:23 ` bugzilla at busybox.net 2016-08-02 9:51 ` bugzilla at busybox.net ` (5 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-02 1:23 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #6 from rdghx <rdghx@163.com> --- Created attachment 6571 --> https://bugs.busybox.net/attachment.cgi?id=6571&action=edit buildroot config file and linux/include info in the mx6.tar.gz mx6_config is the buildroot defconfig. include.txt and include_detail.txt is the linux/include list. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (5 preceding siblings ...) 2016-08-02 1:23 ` bugzilla at busybox.net @ 2016-08-02 9:51 ` bugzilla at busybox.net 2016-08-02 22:37 ` bugzilla at busybox.net ` (4 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-02 9:51 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #7 from Gary Bisson <gary.bisson@boundarydevices.com> --- Cannot reproduce your issue. Built your config, had to change the toolchain to use BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM instead of yours in /opt/xxx. If you haven't already, please 'make clean' before trying again. If still doesn't work, use the same toolchain as above. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (6 preceding siblings ...) 2016-08-02 9:51 ` bugzilla at busybox.net @ 2016-08-02 22:37 ` bugzilla at busybox.net 2016-08-03 0:54 ` bugzilla at busybox.net ` (3 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-02 22:37 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #8 from rdghx <rdghx@163.com> --- (In reply to Gary Bisson from comment #7) i have try agan, a full new process, use BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM tools, the errors is the same. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (7 preceding siblings ...) 2016-08-02 22:37 ` bugzilla at busybox.net @ 2016-08-03 0:54 ` bugzilla at busybox.net 2016-08-04 10:05 ` bugzilla at busybox.net ` (2 subsequent siblings) 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-03 0:54 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #9 from rdghx <rdghx@163.com> --- in the gst1_imx config.log, the version.h is not in the dir: include/linux. and in the include/generated/uapi/linux/version.h linux-rel_imx_3.14.52_1.1.0_ga kernel version test: ---------------------------------------------------------------- checking whether or not the kernel version is greater than 3.5.0 ==> #include <linux/version.h> int main() { #if LINUX_VERSION_CODE > KERNEL_VERSION(3, 5, 0) return 0; #else #error fail #endif } <== [1/2] [32mc: build/.conf_check_ccf59d1e456025ae0397810f052902cf/test.c -> build/.conf_check_ccf59d1e456025ae0397810f052902cf/testbuild/test.c.1.o [0m ['/home/ganhx/work/buildroot/qt5-buildroot/mx6output/host/usr/bin/arm-linux-gnueabihf-gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/linux-rel_imx_3.14.52_1.1.0_ga/include', '-I/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/linux-rel_imx_3.14.52_1.1.0_ga/usr/include', '-DGSTREAMER_VERSION="1.8.2"', '-DHAVE_GSTREAMER=1', '-DHAVE_GSTREAMER_BASE=1', '-DHAVE_GSTREAMER_AUDIO=1', '-DHAVE_GSTREAMER_VIDEO=1', '../test.c', '-c', '-o', 'test.c.1.o'] err: ../test.c: In function ?main?: ../test.c:7:4: error: #error fail #error fail ^ from /home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1: Test does not build: Traceback (most recent call last): File "/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/.waf-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Tools/c_config.py", line 459, in run_c_code bld.compile() File "/home/ganhx/work/buildroot/qt5-buildroot/mx6output/build/gst1-imx-0.12.1/.waf-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Build.py", line 188, in compile raise Errors.BuildError(self.producer.error) BuildError: Build failed -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (8 preceding siblings ...) 2016-08-03 0:54 ` bugzilla at busybox.net @ 2016-08-04 10:05 ` bugzilla at busybox.net 2016-08-31 1:39 ` bugzilla at busybox.net 2016-08-31 6:14 ` bugzilla at busybox.net 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-04 10:05 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 --- Comment #10 from Gary Bisson <gary.bisson@boundarydevices.com> --- (In reply to Gary Bisson from comment #7) nyma, from buildroot IRC channel, also tried to reproduce the issue without success. See his answer from Aug 4th: 13:52 < nyma> gbisson: No more luck on my autobuilder: it builds fine too. Do you have another (clean) machine or even a VM you can try this on? -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (9 preceding siblings ...) 2016-08-04 10:05 ` bugzilla at busybox.net @ 2016-08-31 1:39 ` bugzilla at busybox.net 2016-08-31 6:14 ` bugzilla at busybox.net 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-31 1:39 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 rdghx <rdghx@163.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from rdghx <rdghx@163.com> --- There are no errors when using tools with Sourcery CodeBench ARM 2014.05 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 9121] gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net ` (10 preceding siblings ...) 2016-08-31 1:39 ` bugzilla at busybox.net @ 2016-08-31 6:14 ` bugzilla at busybox.net 11 siblings, 0 replies; 13+ messages in thread From: bugzilla at busybox.net @ 2016-08-31 6:14 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9121 Peter Korsgaard <jacmet@uclibc.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |WORKSFORME -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2016-08-31 6:14 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-08-01 1:06 [Buildroot] [Bug 9121] New: gst1-imx for i.MX6 compile failed, cannot find PXP, IPU and other errors bugzilla at busybox.net 2016-08-01 1:10 ` [Buildroot] [Bug 9121] " bugzilla at busybox.net 2016-08-01 1:59 ` bugzilla at busybox.net 2016-08-01 8:36 ` bugzilla at busybox.net 2016-08-01 8:48 ` bugzilla at busybox.net 2016-08-02 1:11 ` bugzilla at busybox.net 2016-08-02 1:23 ` bugzilla at busybox.net 2016-08-02 9:51 ` bugzilla at busybox.net 2016-08-02 22:37 ` bugzilla at busybox.net 2016-08-03 0:54 ` bugzilla at busybox.net 2016-08-04 10:05 ` bugzilla at busybox.net 2016-08-31 1:39 ` bugzilla at busybox.net 2016-08-31 6:14 ` bugzilla at busybox.net
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.