[uClibc]std[out|err|in] problem

Ilguiz Latypov ilatypov at superbt.com
Mon Sep 17 18:29:27 UTC 2001


Hi Robert,

I encountered a similar problem when compiling the software from scratch
for the Coldfire processor.  If you were using the m68k-elf-tools binaries
off uclinux.org, there are few files there that seems to cause troubles.
The most remarkable file is stdio.h left in the compiler's include
directory.

I adjusted non-super-user installation for myself, but the fix may be the
same for the super-user installation:

	cd ${TOOLDIR}/lib/gcc-lib/m68k-elf/2.95.3/include
	for a in stdio.h sys rpc linux asm-m68knommu asm-m68k ; do
		mv $a $a.davidm
	done
	rm asm
	cd ${TOOLDIR}
	cp -av m68k-elf/bin/ld bin/m68k-elf-ld
	cp -av m68k-elf/lib/ldscripts lib/gcc-lib/m68k-elf/VERSION
	rm lib/gcc-lib/m68k-elf/VERSION/elf2flt.ld
	cp -av m68k-elf/lib/elf2flt.ld lib/gcc-lib/m68k-elf/VERSION
	mv m68k-elf{,.davidm}

Ilguiz

On Tue, 4 Sep 2001, Robert Schwebel wrote:

> robert at callisto:/home/robert/embedded/cvs/busybox ! ./busybox
> ./busybox: can't resolve symbol 'stdout'
> ./busybox: can't resolve symbol 'stdin'
> ./busybox: can't resolve symbol 'stderr'
> Segmentation fault







More information about the uClibc mailing list