Hello,

It is my first message in this list. I'm sorry if my english
is not good.

Well, I am trying to compile the package hello-world-gtk. I
have a problem but I cannot solve it. The problem is that when
I install gtk2 the gcc compiler doesn`t run

I am go to describe my
 configuration in the next lines. I have followed the installdoc
 
http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/installdoc.html

I have set up scractchbox in a host Debian. I have installed
this packages


----------------------------------------------------------
 scratchbox-devkit-debian - Debian tools for Scratchbox
 scratchbox-devkit-doctools - Doctools for Scratchbox
 scratchbox-devkit-perl - Perl modules for Scratchbox
 scratchbox-libs - Scratchbox libraries
 scratchbox-toolchain-arm-gcc3.44csn-glibc2.3 -
 arm-linux-cs344-2.3 compiler for Scratchbox
 scratchbox-toolchain-arm-gcc3.4-uclibc0.9.27 -
 arm-linux-gcc3.4.cs-uclibc0.9.27 compiler for Scratchbox
 scratchbox-toolchain-arm-gcc4.01-glibc2.3 -
 arm-linux-ct401-2.3 compiler for Scratchbox
 scratchbox-toolchain-host-gcc - Scratchbox host-gcc toolchain
 scratchbox-toolchain-i686-gcc3.3-glibc2.3 -
 i686-linux-gcc3.3-glibc2.3 compiler for Scratchbox
 scratchbox-core - Scratchbox base syste
 ----------------------------------------------------------


 The target is a IPaq h3900 with a familiar release
 "http://familiar.handhelds.org/releases/v0.8.2/";.
 I have set up sbrshd without problems

 After I have set up scracthbox with sb-menu and I have
selected these options

 Target name: MYTARGET10
 Select compiler: arm-linux-ct401-2.3 cross
 Select devkits: doctools, debian, perl
 Select CPU-transparency method: sbrsh Remote Execution

 ...

 I have selected this configuration because I want to compile a
 gtk project and the point 4.3 tells
(http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/installdoc.html):
"You should use sbrsh to install GTK+ libraries, because their
post-installation scripts are known to fail with QEMU."


 After this I have tested sbrsh and it runs

----------------------------------------------------------
 [sbox-MYTARGET10: ~/MYTARGET10/hello-world] > sbrsh ls -l
 total 64
 drwxrwxr-x 2 svito svito 4096 May 3 2006 bin
 drwxrwxr-x 2 svito svito 4096 May 3 2006 boot
 drwxrwxr-x 2 svito svito 4096 May 3 2006 cdrom
 drwxr-xr-x 1 root root 0 Jan 1 1970 dev
 drwxrwxr-x 30 svito svito 4096 May 3 2006 etc
 drwxrwxr-x 2 svito svito 4096 May 3 2006 floppy
 drwxr-xr-x 3 root root 4096 Apr 21 20:40 home
 drwxrwxr-x 2 svito svito 4096 May 3 2006 initrd
 drwxrwxr-x 8 svito svito 4096 May 3 2006 lib
 drwxrwxr-x 2 svito svito 4096 May 3 2006 media
 drwxrwxr-x 2 svito svito 4096 May 3 2006 mnt
 drwxrwxr-x 2 svito svito 4096 May 3 2006 opt
 dr-xr-xr-x 64 root root 0 Apr 25 12:39 proc
 drwxrwxr-x 2 svito svito 4096 May 3 2006 root
 drwxrwxr-x 2 svito svito 4096 May 3 2006 sbin
 drwxrwxr-x 2 svito svito 4096 May 3 2006 srv
 drwxrwxrwt 10 root root 0 Apr 25 19:15 tmp
 drwxrwxr-x 11 svito svito 4096 May 3 2006 usr
 drwxrwxr-x 13 svito svito 4096 May 3 2006 var
 ----------------------------------------------------------


 After I have compiled the package
 /scratchbox/packages/hello-world.tar.gz
 and runs

----------------------------------------------------------
 [sbox-MYTARGET10: ~/MYTARGET10/hello-world] > ./hello
 Hello World!
 [sbox-MYTARGET10: ~/MYTARGET10/hello-world] >
 ----------------------------------------------------------

 After that,  I have tried compile the package
 /scratchbox/packages/hello-world-gtk.tar.gz
 but not runs

----------------------------------------------------------
 [sbox-MYTARGET10: ~/MYTARGET10/hello-world-gtk] > ./autogen.sh
 + aclocal
 /scratchbox/tools/share/aclocal/pkg.m4:5: warning: underquoted
 definition of PKG_CHECK_MODULES
 run info '(automake)Extending aclocal'
 or see
 http://sources.redhat.com/automake/automake.html#Extending%20aclocal
 + autoconf
 + autoheader
 + automake --add-missing --foreign
 + ./configure
 checking for a BSD-compatible install...
 /scratchbox/tools/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking for style of include used by make... GNU
 checking dependency style of gcc... gcc3
 checking how to run the C preprocessor... gcc -E
 checking for egrep... grep -E
 checking for ANSI C header files... yes
 checking for a BSD-compatible install...
 /scratchbox/tools/bin/install -c
 checking for pkg-config... /scratchbox/tools/bin/pkg-config
 checking for gtk+-2.0 >= 2.2 glib-2.0 >= 2.2... Package
 gtk+-2.0 was not found in the pkg-config search path.
 Perhaps you should add the directory containing `gtk+-2.0.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'gtk+-2.0' found

 configure: error: Library requirements (gtk+-2.0 >= 2.2
 glib-2.0 >= 2.2) not met; consider adjusting the
 PKG_CONFIG_PATH environment variable if your libraries are in
 a nonstandard prefix so pkg-config can find them.
 [sbox-MYTARGET10: ~/MYTARGET10/hello-world-gtk] >
 ----------------------------------------------------------

 I see i need some libraries then I have intalled

----------------------------------------------------------
 [sbox-MYTARGET10: /scratchbox/devkits/debian/bin] >
 sb-install-base-packages
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following extra packages will be installed:
 e2fslibs gawk gcc-4.1-base initscripts libacl1 libattr1
 libblkid1 libc6
 libcap1 libcomerr2 libdb4.3 libdevmapper1.02 libgcc1 libncurses5
 libpam-modules libpam-runtime libpam0g libselinux1 libsepol1
 libslang2
 libss2 libuuid1 lsb-base mktemp sysv-rc tzdata zlib1g
 Suggested packages:
 diff-doc apt gpart parted e2fsck-static less locales
 glibc-doc libpam-doc
 perl sysv-rc-conf bum bzip2 util-linux-locales kbd
 console-tools dosfstools
 Recommended packages:
 bsdmainutils libgpmg1
 The following NEW packages will be installed:
 base-files base-passwd bsdutils coreutils debianutils diff
 dpkg e2fslibs
 e2fsprogs findutils gawk gcc-4.1-base grep gzip hostname
 initscripts libacl1
 libattr1 libblkid1 libc6 libcap1 libcomerr2 libdb4.3
 libdevmapper1.02
 libgcc1 libncurses5 libpam-modules libpam-runtime libpam0g
 libselinux1
 libsepol1 libslang2 libss2 libuuid1 login lsb-base mktemp
 mount ncurses-base
 ncurses-bin perl-base sed sysv-rc sysvinit tar tzdata
 util-linux zlib1g
 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
 Need to get 1864kB/16.3MB of archives.
 After unpacking 49.4MB of additional disk space will be used.
 Do you want to continue? [Y/n] Y

......

 Selecting previously deselected package lsb-base.
 (Reading database ... 3418 files and directories currently
 installed.)
 Unpacking lsb-base (from .../lsb-base_3.1-5_all.deb) ...
 Setting up lsb-base (3.1-5) ...
 Selecting previously deselected package initscripts.
 (Reading database ... 3425 files and directories currently
 installed.)
 Unpacking initscripts (from
 ../initscripts_2.86.ds1-14_arm.deb) ...
 Setting up initscripts (2.86.ds1-14) ...
 /var/lib/dpkg/info/initscripts.postinst: line 183:
 /var/run/motd: No such file or directory
 dpkg: error processing initscripts (--configure):
 subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
 initscripts
 E: Sub-process /scratchbox/devkits/debian/bin/dpkg returned an
 error code (1)
 [sbox-MYTARGET10: /scratchbox/devkits/debian/bin] >
----------------------------------------------------------
but I have an error

 I have solved this error. I have modified the file
base-packages and
 to avoid install sysvinit
 ----------------------------------------------------------
 vi /scratchbox/devkits/debian/etc/base-packages

 #sysvinit

 base-files
 base-passwd
 bsdutils
 coreutils
 debianutils
 diff
 dpkg
 e2fsprogs
 findutils
 grep
 gzip
 hostname
 login
 mount
 ncurses-base
 ncurses-bin
 perl-base
 sed
 tar
 util-linux
 ----------------------------------------------------------

 ----------------------------------------------------------
 sb-install-base-packages
 Reading Package Lists... Done
 Building Dependency Tree... Done
 bsdutils is already the newest version.
 coreutils is already the newest version.
 debianutils is already the newest version.
 diff is already the newest version.
 dpkg is already the newest version.
 e2fsprogs is already the newest version.
 findutils is already the newest version.
 grep is already the newest version.
 gzip is already the newest version.
 hostname is already the newest version.
 login is already the newest version.
 mount is already the newest version.
 ncurses-bin is already the newest version.
 perl-base is already the newest version.
 sed is already the newest version.
 The following extra packages will be installed:
 gawk libslang2 zlib1g
 Suggested packages:
 bzip2 util-linux-locales kbd console-tools dosfstools
 The following NEW packages will be installed:
 base-files base-passwd gawk libslang2 ncurses-base tar
 util-linux zlib1g
 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
 1 not fully installed or removed.
 Need to get 0B/2159kB of archives.
 After unpacking 6092kB of additional disk space will be used.
 Do you want to continue? [Y/n] Y

...
 [sbox-MYTARGET10: /scratchbox/devkits/debian/bin] >

----------------------------------------------------------
 After I have installed sysvinit with fakeroot

----------------------------------------------------------
 [sbox-MYTARGET10: /scratchbox/devkits/debian/bin] > fakeroot
 apt-get install sysvinit
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following extra packages will be installed:
 sysv-rc
 Suggested packages:
 sysv-rc-conf bum
 The following NEW packages will be installed:
 sysv-rc sysvinit
 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0B/166kB of archives.
 After unpacking 504kB of additional disk space will be used.
 Do you want to continue? [Y/n] Y
 Selecting previously deselected package sysv-rc.
 (Reading database ... 3911 files and directories currently
 installed.)
 Unpacking sysv-rc (from .../sysv-rc_2.86.ds1-14_all.deb) ...
 Setting up sysv-rc (2.86.ds1-14) ...

 Selecting previously deselected package sysvinit.
 (Reading database ... 3947 files and directories currently
 installed.)
 Unpacking sysvinit (from .../sysvinit_2.86.ds1-14_arm.deb) ...
 Setting up sysvinit (2.86.ds1-14) ...
 init: /dev/initctl: Permission denied

 [sbox-MYTARGET10: /scratchbox/devkits/debian/bin] >
 ----------------------------------------------------------

 After, I have compiled hello-world again without problems

----------------------------------------------------------

 [sbox-MYTARGET10: ~] > cd hello-world
 [sbox-MYTARGET10: ~/hello-world] > ls
 Makefile autogen.sh config.log depcomp main.c
 Makefile.am autom4te.cache config.status hello main.o
 Makefile.in config.h configure hello.old missing
 aclocal.m4 config.h.in configure.ac install-sh stamp-h1
 [sbox-MYTARGET10: ~/hello-world] > mv hello hello.old
 [sbox-MYTARGET10: ~/hello-world] > ./autogen.sh
 + aclocal
 /scratchbox/tools/share/aclocal/pkg.m4:5: warning: underquoted
 definition of PKG_CHECK_MODULES
 run info '(automake)Extending aclocal'
 or see
 http://sources.redhat.com/automake/automake.html#Extending%20aclocal
 + autoconf
 + autoheader
 + automake --add-missing --foreign
 + ./configure
 checking for a BSD-compatible install...
 /scratchbox/tools/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking for style of include used by make... GNU
 checking dependency style of gcc... gcc3
 checking how to run the C preprocessor... gcc -E
 checking for egrep... grep -E
 checking for ANSI C header files... yes
 checking for a BSD-compatible install...
 /scratchbox/tools/bin/install -c
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating config.h
 config.status: config.h is unchanged
 config.status: executing depfiles commands
 [sbox-MYTARGET10: ~/hello-world] > make
 make all-am
 make[1]: Entering directory `/home/svito/hello-world'
 if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT main.o -MD
 -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
 then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
 ".deps/main.Tpo"; exit 1; fi
 gcc -g -O2 -o hello main.o
 make[1]: Leaving directory `/home/svito/hello-world'
 [sbox-MYTARGET10: ~/hello-world] > ./hello
 Hello World!
 [sbox-MYTARGET10: ~/hello-world] >
----------------------------------------------------------

 After, I have installed gtk2

----------------------------------------------------------
 [sbox-MYTARGET10: ~/hello-world] > fakeroot apt-get install
 libgtk2.0-dev
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following extra packages will be installed:
 debconf debconf-i18n defoma file fontconfig
 fontconfig-config libatk1.0-0
 libatk1.0-dev libc6-dev libcairo2 libcairo2-dev libdb4.4
 libexpat1
 libexpat1-dev libfontconfig1 libfontconfig1-dev libfreetype6
 libfreetype6-dev libgdbm3 libglib2.0-0 libglib2.0-dev
 libgtk2.0-0
 libgtk2.0-bin libgtk2.0-common libjpeg62
 liblocale-gettext-perl libmagic1
 libnewt0.52 libpango1.0-0 libpango1.0-common libpango1.0-dev
 libpng12-0
 libpng12-dev libpopt0 libtext-charwidth-perl libtext-iconv-perl
 libtext-wrapi18n-perl libtiff4 libx11-6 libx11-data
 libx11-dev libxau-dev
 libxau6 libxcursor-dev libxcursor1 libxdmcp-dev libxdmcp6
 libxext-dev
 libxext6 libxfixes-dev libxfixes3 libxft-dev libxft2
 libxi-dev libxi6
 libxinerama-dev libxinerama1 libxrandr-dev libxrandr2
 libxrender-dev
 libxrender1 linux-kernel-headers perl perl-modules
 pkg-config ttf-dejavu ucf
 whiptail x-dev x11-common x11proto-core-dev x11proto-fixes-dev
 x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
 x11proto-render-dev
 x11proto-xext-dev x11proto-xinerama-dev xtrans-dev zlib1g-dev
 Suggested packages:
 debconf-doc debconf-utils libterm-readline-gnu-perl
 libgnome2-perl
 libqt-perl libnet-ldap-perl defoma-doc psfontmgr
 x-ttcidfont-conf dfontmgr
 glibc-doc manpages-dev libcairo2-doc libglib2.0-doc
 libgtk2.0-doc
 ttf-kochi-gothic ttf-kochi-mincho ttf-thryomanes ttf-baekmuk
 ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp
 ttf-arphic-bkai00mp libpango1.0-doc libgnome-dev
 Recommended packages:
 apt-utils libft-perl libatk1.0-data gcc c-compiler
 libglib2.0-data
 hicolor-icon-theme libfribidi0 perl-doc
 The following NEW packages will be installed:
 debconf debconf-i18n defoma file fontconfig
 fontconfig-config libatk1.0-0
 libatk1.0-dev libc6-dev libcairo2 libcairo2-dev libdb4.4
 libexpat1
 libexpat1-dev libfontconfig1 libfontconfig1-dev libfreetype6
 libfreetype6-dev libgdbm3 libglib2.0-0 libglib2.0-dev
 libgtk2.0-0
 libgtk2.0-bin libgtk2.0-common libgtk2.0-dev libjpeg62
 liblocale-gettext-perl libmagic1 libnewt0.52 libpango1.0-0
 libpango1.0-common libpango1.0-dev libpng12-0 libpng12-dev
 libpopt0
 libtext-charwidth-perl libtext-iconv-perl
 libtext-wrapi18n-perl libtiff4
 libx11-6 libx11-data libx11-dev libxau-dev libxau6
 libxcursor-dev
 libxcursor1 libxdmcp-dev libxdmcp6 libxext-dev libxext6
 libxfixes-dev
 libxfixes3 libxft-dev libxft2 libxi-dev libxi6
 libxinerama-dev libxinerama1
 libxrandr-dev libxrandr2 libxrender-dev libxrender1
 linux-kernel-headers
 perl perl-modules pkg-config ttf-dejavu ucf whiptail x-dev
 x11-common
 x11proto-core-dev x11proto-fixes-dev x11proto-input-dev
 x11proto-kb-dev
 x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
 x11proto-xinerama-dev xtrans-dev zlib1g-dev
 0 upgraded, 81 newly installed, 0 to remove and 0 not upgraded.
 Need to get 29.7MB of archives.
 After unpacking 106MB of additional disk space will be used.
 Do you want to continue? [Y/n]
...
[sbox-MYTARGET10: ~/hello-world] >
----------------------------------------------------------

 And finaly, I have tried to compile hello-world again and I
have problems

----------------------------------------------------------
 [sbox-MYTARGET10: ~/hello-world] > ls
 Makefile autogen.sh config.log depcomp main.c
 Makefile.am autom4te.cache config.status hello main.o
 Makefile.in config.h configure hello.old missing
 aclocal.m4 config.h.in configure.ac install-sh stamp-h1
 [sbox-MYTARGET10: ~/hello-world] > mv hello hello.old
 [sbox-MYTARGET10: ~/hello-world] > ./autogen.sh
 + aclocal
 /scratchbox/tools/share/aclocal/pkg.m4:5: warning: underquoted
 definition of PKG_CHECK_MODULES
 run info '(automake)Extending aclocal'
 or see
 http://sources.redhat.com/automake/automake.html#Extending%20aclocal
 + autoconf
 + autoheader
 + automake --add-missing --foreign
 + ./configure
 checking for a BSD-compatible install...
 /scratchbox/tools/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for gcc... gcc
 checking for C compiler default output file name... configure:
 error: C compiler cannot create executables
 See `config.log' for more details.
 [sbox-MYTARGET10: ~/hello-world] >

----------------------------------------------------------
 This is the file config.log
----------------------------------------------------------
 [sbox-MYTARGET10: ~/MYTARGET10/hello-world] > more 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 configure, which was
 generated by GNU Autoconf 2.59. Invocation command line was

 $ ./configure

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

 hostname = linux
 uname -m = arm
 uname -r = 2.6.12
 uname -s = Linux
 uname -v = #2 SMP Tue Aug 9 23:20:52 CEST 2005

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

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

 PATH: /scratchbox/devkits/perl/bin
 PATH: /scratchbox/devkits/debian/bin
 PATH: /scratchbox/devkits/doctools/bin
 PATH: /scratchbox/tools/bin
 PATH: /targets/links/arch_tools/bin
 PATH: /host_usr/bin
 PATH: /scratchbox/compilers/bin
 PATH: /bin
 PATH: /usr/bin
 PATH: /usr/local/bin
 PATH: /usr/X11R6/bin
 PATH: /sbin
 PATH: /usr/sbin


 ## ----------- ##
 ## Core tests. ##
 ## ----------- ##

 configure:1306: checking for a BSD-compatible install
 configure:1361: result: /scratchbox/tools/bin/install -c
 configure:1372: checking whether build environment is sane
 configure:1415: result: yes
 configure:1472: checking for gawk
 configure:1488: found /scratchbox/tools/bin/gawk
 configure:1498: result: gawk
 configure:1508: checking whether make sets $(MAKE)
 configure:1528: result: yes
 configure:1739: checking for gcc
 configure:1755: found /scratchbox/compilers/bin/gcc
 configure:1765: result: gcc
 configure:2009: checking for C compiler version
 configure:2012: gcc --version &5
 sbox-arm-unknown-linux-gnu-gcc (GCC) 4.0.1
 Copyright (C) 2005 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:2015: $? = 0
 configure:2017: gcc -v &5
 Using built-in specs.
 Reading specs from
 /scratchbox/compilers/arm-linux-ct401-2.3/gcc.specs
 rename spec cpp to old_cpp
 Target: arm-unknown-linux-gnu
 Configured with:
 /home/ttimonen/work/ct/crosstool-0.38/build/arm-unknown-linux-g
 nu/gcc-4.0.1-glibc-2.3.2/gcc-4.0.1/configure
 --target=arm-unknown-linux-gnu --ho
 st=i686-host_pc-linux-gnu
 --prefix=/home/ttimonen/work/res/gcc-4.0.1-glibc-2.3.2
 /arm-unknown-linux-gnu
 --with-headers=/home/ttimonen/work/res/gcc-4.0.1-glibc-2.
 3.2/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include
 --with-local-prefix=/hom
 
e/ttimonen/work/res/gcc-4.0.1-glibc-2.3.2/arm-unknown-linux-gnu/arm-unknown-linu
 x-gnu --disable-nls --enable-threads=posix
 --enable-symvers=gnu --enable-__cxa_a
 texit --enable-languages=c,c++ --enable-shared --enable-c99
 --enable-long-long
 Thread model: posix
 gcc version 4.0.1
 configure:2020: $? = 0
 configure:2022: gcc -V &5
 sbox-arm-unknown-linux-gnu-gcc: '-V' must come at the start of
 the command line
 configure:2025: $? = 1
 configure:2048: checking for C compiler default output file name
 configure:2051: gcc conftest.c >&5
 /lib/libc.so.6: undefined reference to
 [EMAIL PROTECTED]'
 /lib/libc.so.6: undefined reference to
 [EMAIL PROTECTED]'
 collect2: ld returned 1 exit status
 configure:2054: $? = 1
 configure: failed program was:
 | /* confdefs.h. */
 |
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""
 | #define PACKAGE_VERSION ""
 | #define PACKAGE_STRING ""
 | #define PACKAGE_BUGREPORT ""
 | #define PACKAGE "HelloQemu"
 | #define VERSION "0.1"
 | /* end confdefs.h. */
 |
 | int
 | main ()
 | {
 |
 | ;
 | return 0;
 | }
 configure:2093: error: C compiler cannot create executables
 See `config.log' for more details.

 ## ---------------- ##
 ## Cache variables. ##
 ## ---------------- ##

 ac_cv_env_CC_set=
 ac_cv_env_CC_value=
 ac_cv_env_CFLAGS_set=
 ac_cv_env_CFLAGS_value=
 ac_cv_env_CPPFLAGS_set=
 ac_cv_env_CPPFLAGS_value=
 ac_cv_env_CPP_set=
 ac_cv_env_CPP_value=
 ac_cv_env_LDFLAGS_set=
 ac_cv_env_LDFLAGS_value=
 ac_cv_env_build_alias_set=
 ac_cv_env_build_alias_value=
 ac_cv_env_host_alias_set=
 ac_cv_env_host_alias_value=
 ac_cv_env_target_alias_set=
 ac_cv_env_target_alias_value=
 ac_cv_path_install='/scratchbox/tools/bin/install -c'
 ac_cv_prog_AWK=gawk
 ac_cv_prog_ac_ct_CC=gcc
 ac_cv_prog_make_make_set=yes
 ## ----------------- ##
 ## Output variables. ##
 ## ----------------- ##

 ACLOCAL='${SHELL} /home/svito/MYTARGET10/hello-world/missing
 --run aclocal-1.8'
 AMDEPBACKSLASH=''
 AMDEP_FALSE=''
 AMDEP_TRUE=''
 AMTAR='${SHELL} /home/svito/MYTARGET10/hello-world/missing
 --run tar'
 AUTOCONF='${SHELL} /home/svito/MYTARGET10/hello-world/missing
 --run autoconf'
 AUTOHEADER='${SHELL}
 /home/svito/MYTARGET10/hello-world/missing --run autoheader
 '
 AUTOMAKE='${SHELL} /home/svito/MYTARGET10/hello-world/missing
 --run automake-1.8
 '
 AWK='gawk'
 CC='gcc'
 CCDEPMODE=''
 CFLAGS=''
 CPP=''
 CPPFLAGS=''
 CYGPATH_W='echo'
 DEFS=''
 DEPDIR=''
 ECHO_C=''
 ECHO_N='-n'
 ECHO_T=''
 EGREP=''
 EXEEXT=''
 INSTALL_DATA='${INSTALL} -m 644'
 INSTALL_PROGRAM='${INSTALL}'
 INSTALL_SCRIPT='${INSTALL}'
 INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
 LDFLAGS=''
 LIBOBJS=''
 LIBS=''
 LTLIBOBJS=''
 MAKEINFO='${SHELL} /home/svito/MYTARGET10/hello-world/missing
 --run makeinfo'
 OBJEXT=''
 PACKAGE='HelloQemu'
 PACKAGE_BUGREPORT=''
 PACKAGE_NAME=''
 PACKAGE_STRING=''
 PACKAGE_TARNAME=''
 PACKAGE_VERSION=''
 PATH_SEPARATOR=':'
 SET_MAKE=''
 SHELL='/bin/sh'
 STRIP=''
 VERSION='0.1'
 ac_ct_CC='gcc'
 ac_ct_STRIP=''
 am__fastdepCC_FALSE=''
 am__fastdepCC_TRUE=''
 am__include=''
 am__leading_dot='.'
 am__quote=''
 bindir='${exec_prefix}/bin'
 build_alias=''
 datadir='${prefix}/share'
 exec_prefix='NONE'
 host_alias=''
 includedir='${prefix}/include'
 infodir='${prefix}/info'
 install_sh='/home/svito/MYTARGET10/hello-world/install-sh'
 libdir='${exec_prefix}/lib'
 libexecdir='${exec_prefix}/libexec'
 localstatedir='${prefix}/var'
 mandir='${prefix}/man'
 mkdir_p='mkdir -p -- .'
 oldincludedir='/usr/include'
 prefix='NONE'
 program_transform_name='s,x,x,'
 sbindir='${exec_prefix}/sbin'
 sharedstatedir='${prefix}/com'
 sysconfdir='${prefix}/etc'
 target_alias=''

 ## ----------- ##
 ## confdefs.h. ##
 ## ----------- ##

 #define PACKAGE "HelloQemu"
 #define PACKAGE_BUGREPORT ""
 #define PACKAGE_NAME ""
 #define PACKAGE_STRING ""
 #define PACKAGE_TARNAME ""
 #define PACKAGE_VERSION ""
 #define VERSION "0.1"

 configure: exit 77

----------------------------------------------------------
And this is part of the configure file ##### Line 2094
----------------------------------------------------------

 _ACEOF
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 # Try to create an executable without -o first, disregard a.out.
 # It will help us diagnose broken compilers, and finding out
 an intuition
 # of exeext.
 echo "$as_me:$LINENO: checking for C compiler default output
 file name" >&5
 echo $ECHO_N "checking for C compiler default output file
 name... $ECHO_C" >&6
 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 (eval $ac_link_default) 2>&5
 ac_status=$?
 echo "$as_me:$LINENO: \$? = $ac_status" >&5
 (exit $ac_status); }; then
 # Find the output, starting from the most likely. This
 scheme is
 # not robust to junk in `.', hence go to wildcards (a.*) only
 as a last
 # resort.

 # Be careful to initialize this variable, since it used to be
 cached.
 # Otherwise an old cache value of `no' led to `EXEEXT = no' in
 a Makefile.
 ac_cv_exeext=
 # b.out is created by i960 compilers.
 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.*
 conftest.* b.out
 do
 test -f "$ac_file" || continue
 case $ac_file in
 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb
 | *.bbg | *.o | *.
 obj )
 ;;
 conftest.$ac_ext )
 # This is the source file.
 ;;
 [ab].out )
 # We found the default executable, but exeext='' is most
 # certainly right.
 break;;
 *.* )
 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 # FIXME: I believe we export ac_cv_exeext for Libtool,
 # but it would be cool to find out if it's true. Does
 anybody
 # maintain Libtool? --akim.
 export ac_cv_exeext
 break;;
 * )
 break;;
 esac
 done
 else
 echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5

 { { echo "$as_me:$LINENO: error: C compiler cannot create
 executables
 See \`config.log' for more details." >&5
 ##### Line 2094
 echo "$as_me: error: C compiler cannot create executables
 See \`config.log' for more details." >&2}
 { (exit 77); exit 77; }; }
 fi


----------------------------------------------------------

I think that I have explained the problem in a very extensive
way but I think is better to understand correctly the problem.
I know that the problem may be with gcc. After I install gtk2
the gcc configuration crash. I don`t know why.

Thank you in advance




_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to