[uClibc]Anyone found the cause...

Thomas Cameron tom at ceisystems.com
Tue Jan 7 00:12:24 UTC 2003


Hello gang,
	Yes, I too read through the README file, and have had the link there.  
Depending on what packages you choose to compile, things work great, but as 
soon as you appempt to build a development environment for the "target" 
system (which I use on my development system to ease the compiling of other 
semi-stupid and stupid `./configure` based packages.  It works well, as long 
as I grab buildroot from CVS and change NONE of my settings.

	I am attaching a file that contails the last 5 lines from all config.log 
files so that Erik can take a look at it.  In addition, I have included the 
config file that uClibc should be using.  Out of chance, could this be 
because the uClibc libraries that are being built (it's done twice if you 
build a toolchain & uClibc for the target) are different?  Maybe one is 
getting the proper config and other options (applied via a nifty perl 
command)?  Maybe one of them is actually going to the wrong place, and thus 
the compile of gcc is going awry?  Just a thought.

Thanks all!
Thomas Cameron

On Monday 06 January 2003 06:01 pm, Goetz Bock wrote:
> On Mon, Jan 06 '03 at 15:11, Erik Andersen wrote:
> > > I am _really_ trying to figure out the cause of this problem.  I
> > > am compiling the buildroot environment with the build tools for
> > > my development environment.
> > > [ ... ]
> > > configure: error: installation or configuration problem: C compiler
> > > cannot create executables.
>
> first of all I want to welcome Thomas to the club, I'm hafing this
> problem since weeks/months ... but never got any reply to my mails :-/
>
> > Generally, this happens when people fail to read and follow the
> > direction in the "NOTE" section of the buildroot README file. :)
>
> bash > ls -l /lib/ld-*
> -rwxr-xr-x    1 root     root       484281 Oct 11 10:19 /lib/ld-2.1.3.so*
> lrwxrwxrwx    1 root     root           11 Feb 24  2002 /lib/ld-linux.so.2
> -> ld-2.1.3.so* lrwxrwxrwx    1 root     root           65 Nov 15 03:06
> /lib/ld-uClibc.so.0 ->
> /home/DEVEL/uclibc/buildroot/build/staging_dir/lib/ld-uClibc.so.0* Just to
> ilustrate I read the readme but it just does not help :-(
>
> > Basically, GNU configure doesn't realize you are cross-compiling,
> > and is trying to compile and run test apps on your build system.
> > configure can be terribly stupid that way.  Anyways, the solution,
> > is to add a symlink in /lib so that the test apps will in fact be
> > able to run.  See the buildroot README file for more details,
>
> I'm not even triing to do a crosscompile, only uclibc for i386 on i386.
>
> But the tusxscreen buildroot does not work for me either, same error ...
-------------- next part --------------
Output from dumplogs.sh


Last 5 lines from ./build/gcc-initial/gcc/config.log
==============================

configure:7766: checking assembler --gstabs support
configure:7794: checking linker PT_GNU_EH_FRAME support
configure:7809: checking whether linker eh_frame optimizations work properly
  5 .eh_frame_hdr 00000008  00000364  00000364  00000364  2**2
configure:8039: checking whether to enable maintainer-specific portions of Makefiles
==============================


Last 5 lines from ./build/gcc-initial/libiberty/config.log
==============================

configure:2933: checking for getpagesize
configure:2986: checking for working mmap
configure:3147: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3171: checking for working strncmp
configure:3243: gcc -o conftest -g -O2   conftest.c  1>&5
==============================


Last 5 lines from ./build/binutils-build/ld/config.log
==============================

configure:4832: checking whether sbrk must be declared
configure:4879: checking whether getenv must be declared
configure:4926: checking whether environ must be declared
configure:4980: checking whether ANSI C string concatenation works
configure:4992: gcc -c -g -O2  conftest.c 1>&5
==============================


Last 5 lines from ./build/binutils-build/bfd/config.log
==============================

configure:6453: checking for working mmap
configure:6626: checking for madvise
configure:6654: gcc -o conftest -g -O2   conftest.c  1>&5
configure:6626: checking for mprotect
configure:6654: gcc -o conftest -g -O2   conftest.c  1>&5
==============================


Last 5 lines from ./build/binutils-build/etc/config.log
==============================

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:555: checking for a BSD compatible install
==============================


Last 5 lines from ./build/binutils-build/gas/config.log
==============================

x = (f) environ;

; return 0; }
configure:6191: checking whether declaration is required for errno
configure:6211: gcc -o conftest -g -O2   conftest.c  1>&5
==============================


Last 5 lines from ./build/binutils-build/intl/config.log
==============================

configure:1979: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2070: checking for msgfmt
configure:2266: checking for msgfmt
configure:2300: checking for gmsgfmt
configure:2335: checking for xgettext
==============================


Last 5 lines from ./build/binutils-build/binutils/config.log
==============================

#include <unistd.h>
#endif
int main() {
char *(*pfn) = (char *(*)) environ
; return 0; }
==============================


Last 5 lines from ./build/binutils-build/libiberty/config.log
==============================

configure:3011: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3040: checking for getpagesize
configure:3093: checking for working mmap
configure:3278: checking for working strncmp
configure:3350: gcc -o conftest -g -O2   conftest.c  1>&5
==============================


Last 5 lines from ./build/binutils-build/opcodes/config.log
==============================

configure:4262: checking for catalogs to be installed
configure:4415: checking for a BSD compatible install
configure:4472: checking for string.h
configure:4472: checking for strings.h
configure:4472: checking for stdlib.h
==============================


Last 5 lines from ./build/gcc-final/gcc/config.log
==============================

configure:7766: checking assembler --gstabs support
configure:7794: checking linker PT_GNU_EH_FRAME support
configure:7809: checking whether linker eh_frame optimizations work properly
  5 .eh_frame_hdr 00000008  00000364  00000364  00000364  2**2
configure:8039: checking whether to enable maintainer-specific portions of Makefiles
==============================


Last 5 lines from ./build/gcc-final/libiberty/config.log
==============================

configure:2933: checking for getpagesize
configure:2986: checking for working mmap
configure:3147: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3171: checking for working strncmp
configure:3243: gcc -o conftest -g -O2   conftest.c  1>&5
==============================


Last 5 lines from ./build/gcc-final/i386-linux/libiberty/config.log
==============================


#line 2207 "configure"
#include "confdefs.h"

main(){return(0);}
==============================


Last 5 lines from ./build/gcc-final/i386-linux/libstdc++-v3/config.log
==============================

; return 0; }
configure:22041: checking versioning on shared library symbols
configure:22129: checking for --with-gxx-include-dir
configure:22153: checking for --enable-version-specific-runtime-libs
configure:22199: checking for install location
==============================


-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc.config
Type: application/octet-stream
Size: 1360 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20030106/14f30591/attachment.obj 


More information about the uClibc mailing list