查看: 5308|回复: 7

[求助] 求助:关于i.MX6 编译视频编解码错误

[复制链接]

该用户从未签到

2

主题

11

帖子

0

新手上路

Rank: 1

积分
48
最后登录
2014-12-18
发表于 2014-12-8 15:49:08 | 显示全部楼层 |阅读模式
单编译LTIB成功,配置也成功。按照《i.MX_6_Series_Ubuntu_Multimedia_User's_Guide》文档编译了libfslcodec, libfslparser,libfslvpuwrap, gst-fsl-plugins, gst-plugins-gl, and fsl-alsa-plugins,gstreamer-plugins-good的包后总是提示这个错误! 请大虾们帮忙看看!万分感谢!

configure: *** checking feature: building of plug-ins with external deps ***
configure: building external plug-ins
checking size of void *... 4
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for arm-linux-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... ld
checking if the linker (ld) is GNU ld... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for valgrind... no
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
configure: Looking for Python version >= 2.1
checking for python... /usr/bin/python
checking "/usr/bin/python":... okay
checking local Python configuration... looks good
checking whether to build plugin documentation... no (gtk-doc disabled or not available)
checking for library containing strerror... none required
checking for cos in -lm... yes
checking for ANSI C header files... (cached) yes
checking for inline... inline
checking whether gcc -std=gnu99 implements __PRETTY_FUNCTION__... yes
checking whether gcc -std=gnu99 implements __FUNCTION__... yes
checking whether gcc -std=gnu99 implements __func__... yes
checking for GLIB... yes
host is arm-unknown-linux-gnu
checking for fbGetDisplay in -lEGL... no
checking for X... no
checking X11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
configure: cannot find X11 development files
checking EGL/egl.h usability... no
checking EGL/egl.h presence... no
checking for EGL/egl.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no

configure: error: GL or EGL is required, consider installing libgl1-mesa-dev
error: Bad exit status from /home/shkj-kelly/ltib/tmp/rpm-tmp.73736 (%build)


RPM build errors:
    Bad exit status from /home/shkj-kelly/ltib/tmp/rpm-tmp.73736 (%build)
Build time for gst-plugins-gl: 6 seconds

Failed building gst-plugins-gl


f_buildrpms() returned an error, exiting
traceback:
main:572


Started: Mon Dec  8 14:43:51 2014
Ended:   Mon Dec  8 14:49:11 2014
Elapsed: 320 seconds

These packages failed to build:
gst-plugins-gl

Build Failed

Exiting on error or interrupt


我知道答案 目前已有7人回答
回复

使用道具 举报

该用户从未签到

2

主题

11

帖子

0

新手上路

Rank: 1

积分
48
最后登录
2014-12-18
 楼主| 发表于 2014-12-10 10:51:35 | 显示全部楼层
本帖最后由 在那遥远的地方 于 2014-12-10 10:59 编辑

在gst-plugins-gl-0.10.3.1下查看了一下config.log。错误如下,请高手帮小女子看看,指教下,万分感谢!
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GStreamer OpenGL Plug-ins configure 0.10.3.1, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --disable-libvisual --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu-yfb
uname -m = i686
uname -r = 3.13.0-40-generic
uname -s = Linux
uname -v = #69-Ubuntu SMP Thu Nov 13 17:56:26 UTC 2014

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/shkj-kelly/ltib/bin
PATH: /opt/freescale/ltib/usr/spoof
PATH: /home/shkj-kelly/ltib/bin
PATH: /opt/freescale/ltib/usr/bin
PATH: /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin

回复 支持 反对

使用道具 举报

该用户从未签到

2

主题

11

帖子

0

新手上路

Rank: 1

积分
48
最后登录
2014-12-18
 楼主| 发表于 2014-12-10 10:57:43 | 显示全部楼层
## ----------- ##
## Core tests. ##
## ----------- ##

configure:3059: checking build system type
configure:3073: result: i686-pc-linux-gnu
configure:3093: checking host system type
configure:3106: result: arm-unknown-linux-gnu
configure:3126: checking target system type
configure:3139: result: arm-unknown-linux-gnu
configure:3185: checking for a BSD-compatible install
configure:3253: result: /usr/bin/install -c
configure:3264: checking whether build environment is sane
configure:3314: result: yes
configure:3363: checking for arm-linux-strip
configure:3379: found /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-strip
configure:3390: result: arm-linux-strip
configure:3455: checking for a thread-safe mkdir -p
configure:3494: result: /bin/mkdir -p
configure:3507: checking for gawk
configure:3537: result: no
configure:3507: checking for mawk
configure:3523: found /usr/bin/mawk
configure:3534: result: mawk
configure:3545: checking whether make sets $(MAKE)
configure:3567: result: yes
configure:3659: checking nano version
configure:3671: result: 1
configure:3693: checking whether to enable maintainer-specific portions of Makefiles
configure:3702: result: no
configure:4108: checking how to print strings
configure:4135: result: printf
configure:4168: checking for style of include used by make
configure:4196: result: GNU
configure:4226: checking for arm-linux-gcc
configure:4253: result: gcc
configure:4522: checking for C compiler version
configure:4531: gcc --version >&5
arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


回复 支持 反对

使用道具 举报

该用户从未签到

2

主题

11

帖子

0

新手上路

Rank: 1

积分
48
最后登录
2014-12-18
 楼主| 发表于 2014-12-10 10:58:50 | 显示全部楼层
configure:16519: $? = 0
configure:16508: gcc -v >&5
Using built-in specs.
COLLECT_GCC=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../libexec/gcc/arm-fsl-linux-gnueabi/4.6.2/lto-wrapper
Target: arm-fsl-linux-gnueabi
Configured with: /work/build/.build/src/gcc-linaro-4.6-2011.06-0/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-fsl-linux-gnueabi --prefix=/work/fsl-linaro-toolchain-2.13 --with-sysroot=/work/fsl-linaro-toolchain-2.13/arm-fsl-linux-gnueabi/multi-libs --enable-languages=c,c++ --with-pkgversion='Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --with-gmp=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-mpfr=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-mpc=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-ppl=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-cloog=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-libelf=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/work/build/.build/arm-fsl-linux-gnueabi/build/static/lib -lpwl' --enable-threads=posix --enable-target-optspace --enable-plugin --enable-multilib --with-local-prefix=/work/fsl-linaro-toolchain-2.13/arm-fsl-linux-gnueabi/multi-libs --disable-nls --enable-c99 --enable-long-long --with-system-zlib
Thread model: posix
gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20)
configure:16519: $? = 0
configure:16508: gcc -V >&5
arm-none-linux-gnueabi-gcc: error: unrecognized option '-V'
configure:16519: $? = 1
configure:16508: gcc -qversion >&5
arm-none-linux-gnueabi-gcc: error: unrecognized option '-qversion'
configure:16519: $? = 1
configure:16523: checking whether we are using the GNU C compiler
configure:16551: result: yes
configure:16560: checking whether gcc accepts -g
configure:16621: result: yes
configure:16638: checking for gcc option to accept ISO C89
configure:16715: result: none needed
configure:16737: checking dependency style of gcc
configure:16847: result: gcc3
configure:16866: checking for gcc option to accept ISO C99
configure:17015: gcc  -c -g -O2  conftest.c >&5
conftest.c:86:29: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:140:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:140:18: error: 'newvar' undeclared (first use in this function)
conftest.c:140:18: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:150:3: error: 'for' loop initial declarations are only allowed in C99 mode
conftest.c:150:3: note: use option -std=c99 or -std=gnu99 to compile your code
configure:17015: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GStreamer OpenGL Plug-ins"
| #define PACKAGE_TARNAME "gst-plugins-gl"
| #define PACKAGE_VERSION "0.10.3.1"
| #define PACKAGE_STRING "GStreamer OpenGL Plug-ins 0.10.3.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer"
| #define PACKAGE_URL ""
| #define PACKAGE "gst-plugins-gl"
| #define VERSION "0.10.3.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define GETTEXT_PACKAGE "gst-plugins-gl-0.10"
| #define LOCALEDIR "/usr/share/locale"
| #define GST_PACKAGE_NAME "GStreamer OpenGL Plug-ins git"
| #define GST_PACKAGE_ORIGIN "Unknown package origin"
| #define HAVE_EXTERNAL /**/
| #define SIZEOF_VOID_P 4
| #define HAVE_CPU_ARM 1
| #define HOST_CPU "arm"
| #define TARGET_CPU "arm"
| #define _FILE_OFFSET_BITS 64
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
|   int x = 1234;
|   int y = 5678;
|   debug ("Flag");
|   debug ("X = %d\n", x);
|   showlist (The first, second, and third items.);
|   report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
|   your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
|   your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
|   int datasize;
|   double data[];
| };
|
| struct named_init {
|   int number;
|   const wchar_t *name;
|   double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
|   // See if C++-style comments work.
|   // Iterate through items via the restricted pointer.
|   // Also check for declarations in for loops.
|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|     continue;
|   return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
|   va_list args;
|   va_start (args, format);
|   va_list args_copy;
|   va_copy (args_copy, args);
|
|   const char *str;
|   int number;
|   float fnumber;
|
|   while (*format)
|     {
|       switch (*format++)
|     {
|     case 's': // string
|       str = va_arg (args_copy, const char *);
|       break;
|     case 'd': // int
|       number = va_arg (args_copy, int);
|       break;
|     case 'f': // float
|       fnumber = va_arg (args_copy, double);
|       break;
|     default:
|       break;
|     }
|     }
|   va_end (args_copy);
|   va_end (args);
| }
|
| int
| main ()
| {
|
|   // Check bool.
|   _Bool success = false;
|
|   // Check restrict.
|   if (test_restrict ("String literal") == 0)
|     success = true;
|   char *restrict newvar = "Another string";
|
|   // Check varargs.
|   test_varargs ("s, d' f .", "string", 65, 34.234);
|   test_varargs_macros ();
|
|   // Check flexible array members.
|   struct incomplete_array *ia =
|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|   ia->datasize = 10;
|   for (int i = 0; i < ia->datasize; ++i)
|     ia->data[i] = i * 1.234;
|
|   // Check named initializers.
|   struct named_init ni = {
|     .number = 34,
|     .name = L"Test wide string",
|     .average = 543.34343,
|   };
|
|   ni.number = 58;
|
|   int dynamic_array[ni.number];
|   dynamic_array[ni.number - 1] = 543;
|
|   // work around unused variable warnings
|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|       || dynamic_array[ni.number - 1] != 543);
|
|   ;
|   return 0;
| }
回复 支持 反对

使用道具 举报

该用户从未签到

2

主题

11

帖子

0

新手上路

Rank: 1

积分
48
最后登录
2014-12-18
 楼主| 发表于 2014-12-10 10:59:48 | 显示全部楼层
configure:17015: gcc -std=gnu99 -c -g -O2  conftest.c >&5
configure:17015: $? = 0
configure:17035: result: -std=gnu99
configure:17137: checking for gcc -std=gnu99 option to accept ISO Standard C
configure:17151: result: -std=gnu99
configure:17267: checking for C++ compiler version
configure:17276: g++ --version >&5
arm-none-linux-gnueabi-g++ (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:17287: $? = 0
configure:17276: g++ -v >&5
Using built-in specs.
COLLECT_GCC=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-g++
COLLECT_LTO_WRAPPER=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../libexec/gcc/arm-fsl-linux-gnueabi/4.6.2/lto-wrapper
Target: arm-fsl-linux-gnueabi
Configured with: /work/build/.build/src/gcc-linaro-4.6-2011.06-0/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-fsl-linux-gnueabi --prefix=/work/fsl-linaro-toolchain-2.13 --with-sysroot=/work/fsl-linaro-toolchain-2.13/arm-fsl-linux-gnueabi/multi-libs --enable-languages=c,c++ --with-pkgversion='Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --with-gmp=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-mpfr=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-mpc=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-ppl=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-cloog=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-libelf=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/work/build/.build/arm-fsl-linux-gnueabi/build/static/lib -lpwl' --enable-threads=posix --enable-target-optspace --enable-plugin --enable-multilib --with-local-prefix=/work/fsl-linaro-toolchain-2.13/arm-fsl-linux-gnueabi/multi-libs --disable-nls --enable-c99 --enable-long-long --with-system-zlib
Thread model: posix
gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20)
configure:17287: $? = 0
configure:17276: g++ -V >&5
arm-none-linux-gnueabi-g++: error: unrecognized option '-V'
configure:17287: $? = 1
configure:17276: g++ -qversion >&5
arm-none-linux-gnueabi-g++: error: unrecognized option '-qversion'
configure:17287: $? = 1
configure:17291: checking whether we are using the GNU C++ compiler
configure:17310: g++ -c   conftest.cpp >&5
configure:17310: $? = 0
configure:17319: result: yes
configure:17328: checking whether g++ accepts -g
configure:17348: g++ -c -g  conftest.cpp >&5
configure:17348: $? = 0
configure:17389: result: yes
configure:17414: checking dependency style of g++
configure:17524: result: gcc3
configure:17557: checking how to run the C++ preprocessor
configure:17584: g++ -E  conftest.cpp
configure:17584: $? = 0
configure:17598: g++ -E  conftest.cpp
conftest.cpp:36:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:17598: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GStreamer OpenGL Plug-ins"
| #define PACKAGE_TARNAME "gst-plugins-gl"
| #define PACKAGE_VERSION "0.10.3.1"
| #define PACKAGE_STRING "GStreamer OpenGL Plug-ins 0.10.3.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer"
| #define PACKAGE_URL ""
| #define PACKAGE "gst-plugins-gl"
| #define VERSION "0.10.3.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define GETTEXT_PACKAGE "gst-plugins-gl-0.10"
| #define LOCALEDIR "/usr/share/locale"
| #define GST_PACKAGE_NAME "GStreamer OpenGL Plug-ins git"
| #define GST_PACKAGE_ORIGIN "Unknown package origin"
| #define HAVE_EXTERNAL /**/
| #define SIZEOF_VOID_P 4
| #define HAVE_CPU_ARM 1
| #define HOST_CPU "arm"
| #define TARGET_CPU "arm"
| #define _FILE_OFFSET_BITS 64
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
回复 支持 反对

使用道具 举报

该用户从未签到

2

主题

11

帖子

0

新手上路

Rank: 1

积分
48
最后登录
2014-12-18
 楼主| 发表于 2014-12-10 11:00:52 | 显示全部楼层
configure:17623: result: g++ -E
configure:17643: g++ -E  conftest.cpp
configure:17643: $? = 0
configure:17657: g++ -E  conftest.cpp
conftest.cpp:36:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:17657: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GStreamer OpenGL Plug-ins"
| #define PACKAGE_TARNAME "gst-plugins-gl"
| #define PACKAGE_VERSION "0.10.3.1"
| #define PACKAGE_STRING "GStreamer OpenGL Plug-ins 0.10.3.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer"
| #define PACKAGE_URL ""
| #define PACKAGE "gst-plugins-gl"
| #define VERSION "0.10.3.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define GETTEXT_PACKAGE "gst-plugins-gl-0.10"
| #define LOCALEDIR "/usr/share/locale"
| #define GST_PACKAGE_NAME "GStreamer OpenGL Plug-ins git"
| #define GST_PACKAGE_ORIGIN "Unknown package origin"
| #define HAVE_EXTERNAL /**/
| #define SIZEOF_VOID_P 4
| #define HAVE_CPU_ARM 1
| #define HOST_CPU "arm"
| #define TARGET_CPU "arm"
| #define _FILE_OFFSET_BITS 64
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:17827: checking for ld used by g++
configure:17894: result: ld
configure:17901: checking if the linker (ld) is GNU ld
configure:17916: result: yes
configure:17971: checking whether the g++ linker (ld) supports shared libraries
configure:18975: result: yes
configure:19010: g++ -c   conftest.cpp >&5
configure:19013: $? = 0
configure:19533: checking for g++ option to produce PIC
configure:19540: result: -fPIC -DPIC
configure:19548: checking if g++ PIC flag -fPIC -DPIC works
configure:19566: g++ -c   -fPIC -DPIC -DPIC conftest.cpp >&5
configure:19570: $? = 0
configure:19583: result: yes
configure:19606: checking if g++ static flag -static works
configure:19634: result: yes
configure:19646: checking if g++ supports -c -o file.o
configure:19667: g++ -c   -o out/conftest2.o conftest.cpp >&5
configure:19671: $? = 0
configure:19693: result: yes
configure:19698: checking if g++ supports -c -o file.o
configure:19745: result: yes
configure:19775: checking whether the g++ linker (ld) supports shared libraries
configure:19812: result: yes
configure:19955: checking dynamic linker characteristics
configure:20638: result: GNU/Linux ld.so
configure:20691: checking how to hardcode library paths into programs
configure:20716: result: immediate
configure:20758: checking whether gcc -std=gnu99 and cc understand -c and -o together
configure:20789: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:20793: $? = 0
configure:20799: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:20803: $? = 0
configure:20814: cc -c conftest.c >&5
configure:20818: $? = 0
configure:20826: cc -c conftest.c -o conftest2.o >&5
configure:20830: $? = 0
configure:20836: cc -c conftest.c -o conftest2.o >&5
configure:20840: $? = 0
configure:20858: result: yes
configure:20886: checking for valgrind
configure:20917: result: no
configure:21038: checking whether to build gtk-doc documentation
configure:21040: result: no
configure:21047: checking for gtkdoc-check
configure:21080: result: no
configure:21111: Looking for Python version >= 2.1
configure:21129: checking for python
configure:21147: found /usr/bin/python
configure:21159: result: /usr/bin/python
configure:21171: checking "/usr/bin/python":
configure:21173: result: okay
configure:21189: checking local Python configuration
configure:21226: result: looks good
configure:21234: checking whether to build plugin documentation
configure:21241: result: no (gtk-doc disabled or not available)
configure:21256: checking for library containing strerror
configure:21287: gcc -std=gnu99 -o conftest -g -O2   conftest.c  >&5
configure:21287: $? = 0
configure:21304: result: none required
configure:21401: checking for cos in -lm
configure:21426: gcc -std=gnu99 -o conftest -g -O2   conftest.c -lm   >&5
conftest.c:43:6: warning: conflicting types for built-in function 'cos' [enabled by default]
configure:21426: $? = 0
configure:21435: result: yes
configure:21448: checking for ANSI C header files
configure:21552: result: yes
configure:21564: checking for inline
configure:21580: gcc -std=gnu99 -c -g -O2  conftest.c >&5
configure:21580: $? = 0
configure:21588: result: inline
configure:21609: checking whether gcc -std=gnu99 implements __PRETTY_FUNCTION__
configure:21626: gcc -std=gnu99 -o conftest -g -O2   conftest.c  >&5
configure:21626: $? = 0
configure:21636: result: yes
configure:21644: checking whether gcc -std=gnu99 implements __FUNCTION__
configure:21661: gcc -std=gnu99 -o conftest -g -O2   conftest.c  >&5
configure:21661: $? = 0
configure:21671: result: yes
configure:21679: checking whether gcc -std=gnu99 implements __func__
configure:21696: gcc -std=gnu99 -o conftest -g -O2   conftest.c  >&5
configure:21696: $? = 0
configure:21706: result: yes
configure:21751: checking for GLIB
configure:21759: $PKG_CONFIG --exists --print-errors "$which"
configure:21762: $? = 0
configure:21777: $PKG_CONFIG --exists --print-errors "$which"
configure:21780: $? = 0
configure:21832: result: yes
configure:21911: checking for fbGetDisplay in -lEGL
回复 支持 反对

使用道具 举报

该用户从未签到

2

主题

11

帖子

0

新手上路

Rank: 1

积分
48
最后登录
2014-12-18
 楼主| 发表于 2014-12-10 11:01:07 | 显示全部楼层
configure:21936: gcc -std=gnu99 -o conftest -g -O2   conftest.c -lEGL   >&5
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -lEGL
collect2: ld returned 1 exit status
configure:21936: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GStreamer OpenGL Plug-ins"
| #define PACKAGE_TARNAME "gst-plugins-gl"
| #define PACKAGE_VERSION "0.10.3.1"
| #define PACKAGE_STRING "GStreamer OpenGL Plug-ins 0.10.3.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer"
| #define PACKAGE_URL ""
| #define PACKAGE "gst-plugins-gl"
| #define VERSION "0.10.3.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define GETTEXT_PACKAGE "gst-plugins-gl-0.10"
| #define LOCALEDIR "/usr/share/locale"
| #define GST_PACKAGE_NAME "GStreamer OpenGL Plug-ins git"
| #define GST_PACKAGE_ORIGIN "Unknown package origin"
| #define HAVE_EXTERNAL /**/
| #define SIZEOF_VOID_P 4
| #define HAVE_CPU_ARM 1
| #define HOST_CPU "arm"
| #define TARGET_CPU "arm"
| #define _FILE_OFFSET_BITS 64
| #define STDC_HEADERS 1
| #define HAVE_PRETTY_FUNCTION 1
| #define HAVE_FUNCTION 1
| #define HAVE_FUNC 1
| #define GST_FUNCTION __PRETTY_FUNCTION__
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fbGetDisplay ();
| int
| main ()
| {
| return fbGetDisplay ();
|   ;
|   return 0;
| }
configure:21945: result: no
configure:21959: checking for X
configure:22067: gcc -E  conftest.c
conftest.c:41:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
configure:22067: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GStreamer OpenGL Plug-ins"
| #define PACKAGE_TARNAME "gst-plugins-gl"
| #define PACKAGE_VERSION "0.10.3.1"
| #define PACKAGE_STRING "GStreamer OpenGL Plug-ins 0.10.3.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer"
| #define PACKAGE_URL ""
| #define PACKAGE "gst-plugins-gl"
| #define VERSION "0.10.3.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define GETTEXT_PACKAGE "gst-plugins-gl-0.10"
| #define LOCALEDIR "/usr/share/locale"
| #define GST_PACKAGE_NAME "GStreamer OpenGL Plug-ins git"
| #define GST_PACKAGE_ORIGIN "Unknown package origin"
| #define HAVE_EXTERNAL /**/
| #define SIZEOF_VOID_P 4
| #define HAVE_CPU_ARM 1
| #define HOST_CPU "arm"
| #define TARGET_CPU "arm"
| #define _FILE_OFFSET_BITS 64
| #define STDC_HEADERS 1
| #define HAVE_PRETTY_FUNCTION 1
| #define HAVE_FUNCTION 1
| #define HAVE_FUNC 1
| #define GST_FUNCTION __PRETTY_FUNCTION__
| /* end confdefs.h.  */
| #include <X11/Xlib.h>
configure:22098: gcc -std=gnu99 -o conftest -g -O2   conftest.c -lX11  >&5
conftest.c:41:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
configure:22098: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GStreamer OpenGL Plug-ins"
| #define PACKAGE_TARNAME "gst-plugins-gl"
| #define PACKAGE_VERSION "0.10.3.1"
| #define PACKAGE_STRING "GStreamer OpenGL Plug-ins 0.10.3.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer"
| #define PACKAGE_URL ""
| #define PACKAGE "gst-plugins-gl"
| #define VERSION "0.10.3.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define GETTEXT_PACKAGE "gst-plugins-gl-0.10"
| #define LOCALEDIR "/usr/share/locale"
| #define GST_PACKAGE_NAME "GStreamer OpenGL Plug-ins git"
| #define GST_PACKAGE_ORIGIN "Unknown package origin"
| #define HAVE_EXTERNAL /**/
| #define SIZEOF_VOID_P 4
| #define HAVE_CPU_ARM 1
| #define HOST_CPU "arm"
| #define TARGET_CPU "arm"
| #define _FILE_OFFSET_BITS 64
| #define STDC_HEADERS 1
| #define HAVE_PRETTY_FUNCTION 1
| #define HAVE_FUNCTION 1
| #define HAVE_FUNC 1
| #define GST_FUNCTION __PRETTY_FUNCTION__
| /* end confdefs.h.  */
| #include <X11/Xlib.h>
| int
| main ()
| {
| XrmInitialize ()
|   ;
|   return 0;
| }
回复 支持 反对

使用道具 举报

该用户从未签到

145

主题

4926

帖子

0

金牌会员

Rank: 6Rank: 6

积分
9267
最后登录
1970-1-1
发表于 2015-2-13 13:48:34 | 显示全部楼层
楼主你好
通过和我们I.MX工程师的沟通:
建议你将此问题按照帖子   飞思卡尔申请样片与购买的论坛VIP通道开通了,小伙伴速来!   提交一个服务请求:
如果你尚未注册飞思卡尔官网账号,请先点击注册按钮:右侧图标完成注册。
如果你已有飞思卡尔官网账号,可以点击申请SR按钮:右侧图标提交一个服务请求。
最好使用英文详细描述一下遇到的问题,以便国内外工程师都能够帮助到你
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-7-20 13:25 , Processed in 0.105746 second(s), 29 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表