Re: error compiling gtk+-2.12.9



i have exported $PKG_CONFIG_PATH and $PKG_CONFIG ,LDFLAGS nad CPPFLAGS

On Sat, Nov 22, 2008 at 11:40 AM, tina nambiar <teena nambiar gmail com> wrote:
Hi all,

i tried configuring gtk+-2.12.9 with ./configure --build=arm-linux --host=i686-linux --prefix=/root/usr/cpusr/moz/  --disable-glibtest --with-gdktarget=directfb --without-x

and i get the following error

checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... yes
checking pixbuf loaders to build...
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... (cached) void
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for mediaLib 2.3... checking for mlib_ImageSetStruct in -lmlib... no
checking for x86 platform... yes
checking compiler support for MMX... no
checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource
checking for gtk-update-icon-cache... /usr/bin/gtk-update-icon-cache
checking for DirectFB... configure: error:
*** DirectFB 0.9.24 or newer and the cairo backend
*** are required. The latest version of DirectFB is always available
*** from http://www.directfb.org/.

The config.log says the following

configure:28597: checking for mediaLib 2.3
configure:28602: checking for mlib_ImageSetStruct in -lmlib
configure:28637: arm-linux-gnu-gcc -o conftest -g -O2 -Wall -I/root/usr/cpusr/moz/include -L/root/usr/cpusr/moz/lib conftest.c -lmlib    >&5
/usr/local/arm/arm/arm-gcc-3.4.4/gcc-3.4.4-glibc-2.3.3/arm-linux-gnu/bin/../lib/gcc/arm-linux-gnu/3.4.4/../../../../arm-linux-gnu/bin/ld: cannot find -lmlib
collect2: ld returned 1 exit status
configure:28643: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "gtk+"
| #define PACKAGE_TARNAME "gtk+"
| #define PACKAGE_VERSION "2.12.9"
| #define PACKAGE_STRING "gtk+ 2.12.9"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
| #define GETTEXT_PACKAGE "gtk20"
| #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 _FILE_OFFSET_BITS 64
| #define GTK_COMPILED_WITH_DEBUGGING "minimum"
| #define HAVE_LSTAT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FLOCKFILE 1
| #define HAVE_GETC_UNLOCKED 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE__NL_TIME_FIRST_WEEKDAY 1
| #define HAVE__NL_MEASUREMENT_MEASUREMENT 1
| #define HAVE__NL_PAPER_HEIGHT 1
| #define HAVE__NL_PAPER_WIDTH 1
| #define HAVE_SIGSETJMP 1
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
 #define GTK_LOCALEDIR "/root/usr/cpusr/moz//share/locale"
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_PWD_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FTW_H 1
| #define HAVE_FTW_H 1
| #define HAVE_GNU_FTW 1
| #define STDC_HEADERS 1
| #define RETSIGTYPE void
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MALLINFO 1
| #define HAVE_GETRESUID 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define USE_GMODULE 1
| #define HAVE_PROGRESSIVE_JPEG 1
| #define HAVE_SYS_WAIT_H 1
| #define RETSIGTYPE void
| #define HAVE_SYS_SYSINFO_H 1
| /* 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 mlib_ImageSetStruct ();
| int
| main ()
 {
| return mlib_ImageSetStruct ();
|   ;
|   return 0;
| }
configure:28661: result: no
configure:28781: checking for x86 platform
configure:28790: result: yes
configure:28798: checking compiler support for MMX
configure:28801: arm-linux-gnu-gcc -c -g -O2 -Wall -I/root/usr/cpusr/moz/include conftest.S >&5
scale_line_22_33_mmx.S: Assembler messages:
scale_line_22_33_mmx.S:23: Error: alignment too large: 15 assumed
scale_line_22_33_mmx.S:33: Error: unrecognized symbol type ""
conftest.S:58: Error: bad instruction `pushl %ebp'
conftest.S:59: Error: bad instruction `movl %esp,%ebp'
conftest.S:60: Error: bad instruction `subl $28,%esp'
conftest.S:61: Error: bad instruction `pushl %edi'
conftest.S:62: Error: bad instruction `pushl %esi'
conftest.S:63: Error: bad instruction `pushl %ebx'
conftest.S:73: Error: bad instruction `movl 32(%ebp),%ebx'
conftest.S:74: Error: bad instruction `movl 32(%ebp),%edx'
conftest.S:75: Error: bad instruction `sarl $16,%edx'
conftest.S:76: Error: bad instruction `movl 12(%ebp),%esi'
conftest.S:78: Error: bad instruction `cmpl 28(%ebp),%esi'
conftest.S:79: Error: bad instruction `jnb .out'
conftest.S:88: Error: bad instruction `leal (%edx,%edx,2),%edx#Multiply by 3'
conftest.S:90: Error: bad instruction `movl 16(%ebp),%edi'
conftest.S:91: Error: bad instruction `pxor %mm4,%mm4'
conftest.S:92: Error: bad instruction `movzbl 2(%edi,%edx),%ecx'
conftest.S:93: Error: bad instruction `shll $16,%ecx'
conftest.S:94: Error: bad instruction `movzwl (%edi,%edx),%eax'
conftest.S:95: Error: bad instruction `orl %eax,%ecx'
conftest.S:96: Error: bad instruction `movd %ecx,%mm1'
conftest.S:97: Error: bad instruction `punpcklbw %mm4,%mm1'
conftest.S:99: Error: bad instruction `movl 20(%ebp),%edi'
conftest.S:100: Error: bad instruction `movzbl 2(%edi,%edx),%ecx'
conftest.S:101: Error: bad instruction `shll $16,%ecx'
conftest.S:102: Error: bad instruction `movzwl (%edi,%edx),%eax'
conftest.S:103: Error: bad instruction `orl %eax,%ecx'
conftest.S:104: Error: bad instruction `movd %ecx,%mm3'
conftest.S:105: Error: bad instruction `punpcklbw %mm4,%mm3'
conftest.S:107: Error: bad instruction `addl $65536,%ebx'
conftest.S:108: Error: bad instruction `movl %ebx,%edx'
conftest.S:109: Error: bad instruction `sarl $16,%edx'
conftest.S:111: Error: bad instruction `jmp .newx'
conftest.S:117: Error: bad instruction `movl %ebx,%eax'
conftest.S:118: Error: bad instruction `andl $0xf000,%eax'
conftest.S:119: Error: bad instruction `shrl $7,%eax'
conftest.S:124: Error: bad instruction `movq (%edi,%eax),%mm4'
conftest.S:125: Error: bad instruction `pmullw %mm0,%mm4'
conftest.S:126: Error: bad instruction `movq 8(%edi,%eax),%mm5'
conftest.S:127: Error: bad instruction `pmullw %mm1,%mm5'
conftest.S:128: Error: bad instruction `movq 16(%edi,%eax),%mm6'
conftest.S:129: Error: bad instruction `movq 24(%edi,%eax),%mm7'
conftest.S:130: Error: bad instruction `pmullw %mm2,%mm6'
conftest.S:131: Error: bad instruction `pmullw %mm3,%mm7'
conftest.S:132: Error: bad instruction `paddw %mm4,%mm5'
conftest.S:133: Error: bad instruction `paddw %mm6,%mm7'
conftest.S:134: Error: bad instruction `paddw %mm5,%mm7'
conftest.S:138: Error: bad instruction `pxor %mm4,%mm4'
conftest.S:139: Error: bad instruction `movl $8421504,%eax#0x00808080'
conftest.S:140: Error: bad instruction `movd %eax,%mm6'
conftest.S:141: Error: bad instruction `punpcklbw %mm4,%mm6'
conftest.S:142: Error: bad instruction `paddw %mm6,%mm7'
conftest.S:143: Error: bad instruction `psrlw $8,%mm7'
conftest.S:147: Error: bad instruction `packuswb %mm7,%mm7'
conftest.S:148: Error: bad instruction `movd %mm7,%eax'
conftest.S:150: Error: bad instruction `movb %al,(%esi)'
conftest.S:151: Error: bad instruction `shrl $8,%eax'
conftest.S:152: Error: bad instruction `movw %ax,1(%esi)'
conftest.S:153: Error: bad instruction `addl $3,%esi'
conftest.S:155: Error: bad instruction `cmpl %esi,28(%ebp)'
conftest.S:156: Error: bad instruction `je .out'
conftest.S:159: Error: bad instruction `addl 24(%ebp),%ebx'
conftest.S:161: Error: bad instruction `movl %ebx,%edx'
conftest.S:162: Error: bad instruction `sarl $16,%edx'
conftest.S:164: Error: bad instruction `cmpl %edx,-24(%ebp)'
conftest.S:165: Error: bad instruction `je .loop'
conftest.S:168: Error: bad instruction `movl %edx,-24(%ebp)'
conftest.S:172: Error: bad instruction `movq %mm1,%mm0'
conftest.S:173: Error: bad instruction `movq %mm3,%mm2'
conftest.S:175: Error: bad instruction `leal (%edx,%edx,2),%edx#Multiply by 3'
conftest.S:177: Error: bad instruction `movl 16(%ebp),%edi'
conftest.S:178: Error: bad instruction `movzbl 2(%edi,%edx),%ecx'
conftest.S:179: Error: bad instruction `shll $16,%ecx'
conftest.S:180: Error: bad instruction `movzwl (%edi,%edx),%eax'
conftest.S:181: Error: bad instruction `orl %eax,%ecx'
conftest.S:182: Error: bad instruction `movd %ecx,%mm1'
conftest.S:183: Error: bad instruction `punpcklbw %mm4,%mm1'
conftest.S:185: Error: bad instruction `movl 20(%ebp),%edi'
conftest.S:186: Error: bad instruction `movzbl 2(%edi,%edx),%ecx'
conftest.S:187: Error: bad instruction `shll $16,%ecx'
conftest.S:188: Error: bad instruction `movzwl (%edi,%edx),%eax'
conftest.S:189: Error: bad instruction `orl %eax,%ecx'
conftest.S:190: Error: bad instruction `movd %ecx,%mm3'
conftest.S:191: Error: bad instruction `punpcklbw %mm4,%mm3'
conftest.S:193: Error: bad instruction `movl 8(%ebp),%edi'
conftest.S:195: Error: bad instruction `jmp .loop'
conftest.S:198: Error: bad instruction `movl %esi,%eax'
conftest.S:199: Error: bad instruction `emms'
conftest.S:200: Error: bad instruction `leal -40(%ebp),%esp'
conftest.S:201: Error: bad instruction `popl %ebx'
conftest.S:202: Error: bad instruction `popl %esi'
conftest.S:203: Error: bad instruction `popl %edi'
conftest.S:204: Error: bad instruction `movl %ebp,%esp'
conftest.S:205: Error: bad instruction `popl %ebp'
conftest.S:206: Error: bad instruction `ret'
configure:28804: $? = 1
configure:28820: result: no
configure:28856: checking for gdk-pixbuf-csource
configure:28874: found /usr/bin/gdk-pixbuf-csource
configure:28887: result: /usr/bin/gdk-pixbuf-csource
configure:28897: checking for gtk-update-icon-cache
configure:28915: found /usr/bin/gtk-update-icon-cache
configure:28928: result: /usr/bin/gtk-update-icon-cache
configure:32440: checking for DirectFB
configure:32453: error:
*** DirectFB 0.9.24 or newer and the cairo backend
*** are required. The latest version of DirectFB is always available
*** from http://www.directfb.org/.

the native system i work is fedoracore-7 . i have all the libraries installed in my prefix path including pango,cairo,directfb,tiff etc and i have exported pkg-config path also could someone help with this issue . why isnt the configuration script able to check directfb . will this be a  version problem of gtk .



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]