Re: trouble while cross-compiling gtk+-2.10.13



Hello Maarten

Thanks for your reply.

Here again, the configure output:

cd /home/project/src/gtk+-2.10.13 && CPPFLAGS="-I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f//usr/include -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f//include" ./configure --host=arm-marvell-linux-gnueabi --prefix=/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-marvell-linux-gnueabi-strip... arm-marvell-linux-gnueabi-strip
checking build system type... i686-pc-linux-gnu
checking host system type... arm-marvell-linux-gnueabi
checking for native Win32... no
checking for arm-marvell-linux-gnueabi-gcc... arm-marvell-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-marvell-linux-gnueabi-gcc accepts -g... yes
checking for arm-marvell-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-marvell-linux-gnueabi-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by arm-marvell-linux-gnueabi-gcc... arm-marvell-linux-gnueabi-ld
checking if the linker (arm-marvell-linux-gnueabi-ld) is GNU ld... yes
checking for arm-marvell-linux-gnueabi-ld option to reload object files... -r
checking for BSD-compatible nm... arm-marvell-linux-gnueabi-nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... arm-marvell-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for arm-marvell-linux-gnueabi-g++... arm-marvell-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-marvell-linux-gnueabi-g++ accepts -g... yes
checking dependency style of arm-marvell-linux-gnueabi-g++... gcc3
checking how to run the C++ preprocessor... arm-marvell-linux-gnueabi-g++ -E
checking for arm-marvell-linux-gnueabi-g77... no
checking for arm-marvell-linux-gnueabi-f77... no
checking for arm-marvell-linux-gnueabi-xlf... no
checking for arm-marvell-linux-gnueabi-frt... no
checking for arm-marvell-linux-gnueabi-pgf77... no
checking for arm-marvell-linux-gnueabi-cf77... no
checking for arm-marvell-linux-gnueabi-fort77... no
checking for arm-marvell-linux-gnueabi-fl32... no
checking for arm-marvell-linux-gnueabi-af77... no
checking for arm-marvell-linux-gnueabi-f90... no
checking for arm-marvell-linux-gnueabi-xlf90... no
checking for arm-marvell-linux-gnueabi-pgf90... no
checking for arm-marvell-linux-gnueabi-pghpf... no
checking for arm-marvell-linux-gnueabi-epcf90... no
checking for arm-marvell-linux-gnueabi-gfortran... no
checking for arm-marvell-linux-gnueabi-g95... no
checking for arm-marvell-linux-gnueabi-f95... no
checking for arm-marvell-linux-gnueabi-fort... no
checking for arm-marvell-linux-gnueabi-xlf95... no
checking for arm-marvell-linux-gnueabi-ifort... no
checking for arm-marvell-linux-gnueabi-ifc... no
checking for arm-marvell-linux-gnueabi-efc... no
checking for arm-marvell-linux-gnueabi-pgf95... no
checking for arm-marvell-linux-gnueabi-lf95... no
checking for arm-marvell-linux-gnueabi-ftn... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse arm-marvell-linux-gnueabi-nm output from arm-marvell-linux-gnueabi-gcc object... ok
checking for objdir... .libs
checking for arm-marvell-linux-gnueabi-ar... arm-marvell-linux-gnueabi-ar
checking for arm-marvell-linux-gnueabi-ranlib... arm-marvell-linux-gnueabi-ranlib checking for arm-marvell-linux-gnueabi-strip... (cached) arm-marvell-linux-gnueabi-strip checking if arm-marvell-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-marvell-linux-gnueabi-gcc option to produce PIC... -fPIC
checking if arm-marvell-linux-gnueabi-gcc PIC flag -fPIC works... yes
checking if arm-marvell-linux-gnueabi-gcc static flag -static works... yes
checking if arm-marvell-linux-gnueabi-gcc supports -c -o file.o... yes
checking whether the arm-marvell-linux-gnueabi-gcc linker (arm-marvell-linux-gnueabi-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by arm-marvell-linux-gnueabi-g++... arm-marvell-linux-gnueabi-ld
checking if the linker (arm-marvell-linux-gnueabi-ld) is GNU ld... yes
checking whether the arm-marvell-linux-gnueabi-g++ linker (arm-marvell-linux-gnueabi-ld) supports shared libraries... yes
checking for arm-marvell-linux-gnueabi-g++ option to produce PIC... -fPIC
checking if arm-marvell-linux-gnueabi-g++ PIC flag -fPIC works... yes
checking if arm-marvell-linux-gnueabi-g++ static flag -static works... yes
checking if arm-marvell-linux-gnueabi-g++ supports -c -o file.o... yes
checking whether the arm-marvell-linux-gnueabi-g++ linker (arm-marvell-linux-gnueabi-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for nm... /usr/bin/nm
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for arm-marvell-linux-gnueabi-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for arm-marvell-linux-gnueabi-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf gnu org.
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... yes
checking Whether to write dependencies into .pc files... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for indent... no
checking for lstat... yes
checking for mkstemp... yes
checking for flockfile... yes
checking for getc_unlocked... yes
checking for _NL_TIME_FIRST_WEEKDAY... yes
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking for _NL_PAPER_HEIGHT... yes
checking for _NL_PAPER_WIDTH... yes
checking for sigsetjmp... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... af am ang ar as az az_IR be be@latin bg bn bn_IN br bs ca cs cy da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy ia id is it ja ka ko ku li lt lv mi mk ml mn mr ms nb ne nl nn nso or pa pl pt pt_BR ro ru rw si sk sl sq sr sr@Latn sr@ije sv ta te th tk tr tt uk ur uz uz@Latn vi wa xh yi zh_CN zh_HK zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for HP-UX... no
checking for extra flags for POSIX compliance... none needed
checking for arm-marvell-linux-gnueabi-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.12.0... cross compiling; assumed OK...
yes (version 2.27.2)
checking for bind_textdomain_codeset... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for mallinfo... yes
checking for getresuid... yes
checking for uid_t in sys/types.h... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking for uxtheme.h... no
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
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 for x86 platform... no
checking for gdk-pixbuf-csource... no
checking for gtk-update-icon-cache... /usr/bin/gtk-update-icon-cache
checking for XOpenDisplay... yes
checking for XextFindDisplay... yes
checking for XRenderQueryExtension... yes
checking if <X11/extensions/XIproto.h> is needed for xReply... no
checking for XConvertCase... yes
checking for XInternAtoms... yes
checking for XAddConnectionWatch... yes
checking for XkbQueryExtension... yes
checking for XShapeCombineMask... yes
checking for XSyncQueryExtension... yes
checking for X11/extensions/sync.h... yes
checking for XShmAttach... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking for Xinerama support on XFree86... yes
checking Pango flags... -pthread -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr/include/pango-1.0 -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f//usr/include/glib-2.0 -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f//usr/lib/glib-2.0/include -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr/include/cairo -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr/include/freetype2 -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr/include -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr/include/libpng12 -pthread -L/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr/lib -L/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f//usr/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 checking ATK flags... -pthread -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr/include/atk-1.0 -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f//usr/include/glib-2.0 -I/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f//usr/lib/glib-2.0/include -pthread -L/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f/usr/lib -L/opt/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/marvell-f//usr/lib -latk-1.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
checking for cups-config... no
checking cairo-pdf.h usability... yes
checking cairo-pdf.h presence... yes
checking for cairo-pdf.h... yes
checking cairo-ps.h usability... yes
checking cairo-ps.h presence... yes
checking for cairo-ps.h... yes
checking for db2html... false
configure: creating ./config.status
config.status: creating config.h.win32
config.status: creating gtk-zip.sh
config.status: creating Makefile
config.status: creating gdk-pixbuf-2.0.pc
config.status: creating gdk-2.0.pc
config.status: creating gtk+-2.0.pc
config.status: creating gtk+-unix-print-2.0.pc
config.status: creating gdk-pixbuf-2.0-uninstalled.pc
config.status: creating gdk-2.0-uninstalled.pc
config.status: creating gtk+-2.0-uninstalled.pc
config.status: creating m4macros/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating po-properties/Makefile.in
config.status: WARNING: po-properties/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating demos/Makefile
config.status: creating demos/gtk-demo/Makefile
config.status: creating demos/gtk-demo/geninclude.pl
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/gdk-pixbuf/Makefile
config.status: creating docs/reference/gdk-pixbuf/version.xml
config.status: creating docs/reference/gdk/Makefile
config.status: creating docs/reference/gdk/version.xml
config.status: creating docs/reference/gtk/Makefile
config.status: creating docs/reference/gtk/version.xml
config.status: creating docs/faq/Makefile
config.status: creating docs/tools/Makefile
config.status: creating docs/tutorial/Makefile
config.status: creating gdk-pixbuf/Makefile
config.status: creating gdk-pixbuf/gdk_pixbuf.rc
config.status: creating gdk-pixbuf/gdk-pixbuf-features.h
config.status: creating gdk-pixbuf/pixops/Makefile
config.status: creating gdk/Makefile
config.status: creating gdk/x11/Makefile
config.status: creating gdk/win32/Makefile
config.status: creating gdk/win32/rc/Makefile
config.status: creating gdk/win32/rc/gdk.rc
config.status: creating gdk/linux-fb/Makefile
config.status: creating gdk/quartz/Makefile
config.status: creating gdk/directfb/Makefile
config.status: creating gtk/Makefile
config.status: creating gtk/makefile.msc
config.status: creating gtk/gtkversion.h
config.status: creating gtk/gtk-win32.rc
config.status: creating gtk/theme-bits/Makefile
config.status: creating gtk/xdgmime/Makefile
config.status: creating modules/Makefile
config.status: creating modules/input/Makefile
config.status: creating modules/engines/Makefile
config.status: creating modules/engines/pixbuf/Makefile
config.status: creating modules/engines/ms-windows/Makefile
config.status: creating modules/engines/ms-windows/Theme/Makefile
config.status: creating modules/engines/ms-windows/Theme/gtk-2.0/Makefile
config.status: creating modules/printbackends/Makefile
config.status: creating modules/printbackends/cups/Makefile
config.status: creating modules/printbackends/lpr/Makefile
config.status: creating modules/printbackends/file/Makefile
config.status: creating perf/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing gdk/gdkconfig.h commands
configuration:

At the moment I can compiles with the solution you have mentioned. (replace demos from SUBDIRS).

But I hope to find a better way...

Best regards

Dominik

Am 05.08.2011 13:03, schrieb Maarten Bosmans:
2011/8/5 Dominik Schröder<dominik schroeder bh-informativ de>:
Hello Maarten

I need this version, because the application is running in an industrial
environment. And unfortunately there we are fixed on most software-versions.

The output of ./configure unfortunately din`t gives me any more ideas... :-(
Well, you didn't post it so we cannot check for ourselves.

Try figuring out which command was missing by inspecting the Makefile
(or perhaps better Makefile.am) which command is missing. (which
variable that is supposed to hold a command contains 'no')

If all else fails, you can remove demos from SUBDIRS in the toplevel
Makefile.am and rerun autogen.sh.

Maarten

Thanks and
Best regards

Dominik Schröder

Am 05.08.2011 09:35, schrieb Maarten Bosmans:
2011/8/5 Dominik Schröder<dominik schroeder bh-informativ de>:
Hello list,

at the moment I have some trouble while compiling gtk+-2.10.13 for an ARM
processor.
Why such an old version? You will find it easier to get support on
this list if you at least try it with a current version. Chances are
that any bugs you'll encounter in 2.10 are already fixed in a later
version.

I think nearly at the end of the compile process there is a problem with
the
demos.
One solution could be to compile without the demos, but I haven`t found a
switch to turn of the demos.

Eventually there is another more "perfect" solution for this problem.

Here is my compile-output:

...

Making all in demos
make[3]: Betrete Verzeichnis '/home/project/src/gtk+-2.10.13/demos'
no --raw --build-list        \
Why is the no command used here?
Probably the output of ./configure should tell you more.

            apple_red  ./apple-red.png    \
                gnome_foot ./gnome-foot.png    \
test-inline-pixbufs.h                \
    || (rm -f test-inline-pixbufs.h&&    false)
/bin/bash: no: Command not found.
make[3]: *** [test-inline-pixbufs.h] Fehler 1
make[3]: Verlasse Verzeichnis '/home/project/src/gtk+-2.10.13/demos'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/project/src/gtk+-2.10.13'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/project/src/gtk+-2.10.13'
make: *** [/home/project/src/gtk+-2.10.13/Makefile] Fehler 2

...

Thanks for any help!

Best regards

Dominik Schröder
Maarten



--
Mit freundlichen Grüßen

Dominik Schröder
B. Eng.
Entwicklung

Wolfgang Bachleitner und Gunther Heugel Elektronik oHG
Boschstraße 20
D-78655 Dunningen

Tel.: +49 (0) 7403 - 9218 - 428
Fax: +49 (0) 7403 - 9218 - 39
E-Mail: dominik schroeder bh-elektronik de

Registergericht: Stuttgart, HRA 471187
Sitz der Gesellschaft: Dunningen
WEEE-Reg.-Nr.: DE 4653 7000

CONFIDENTIALITY : This e-mail and any attachments are confidential
and may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



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