[uClibc]uClibc and Sash issues

Erik Andersen andersen at codepoet.org
Sat Mar 15 19:25:14 UTC 2003


On Sat Mar 15, 2003 at 06:48:16PM -0000, Andrew Hall wrote:
> Hi,
> 	I'm trying to compile up a uclinux distribution for the leon mmuless sparc
> (some may remember me from a few months ago, I've been fighting on the
> hardware front for a while) and I want to compile and link against uclibc
> rather than the default uc-libc.
> 
> When the build process tries to compile sash it bombs with:
> 
> sparc-elf-gcc -Os -g -fomit-frame-pointer  -Dlinux -D__linux__ -Dunix -D__uC
> linux__ -DEMBED -I/home/andrew/Uni_Work/3rd_Year_Project/Software/uClinux-di
> st2/lib/uClibc/include -I/home/andrew/Uni_Work/3rd_Year_Project/Software/uCl
> inux-dist2/lib/libm -I/home/andrew/Uni_Work/3rd_Year_Project/Software/uClinu
> x-dist2 -fno-builtin -mv8 -I/home/andrew/Uni_Work/3rd_Year_Project/Software/
> uClinux-dist2/linux-2.0.x/include   -c -o cmds.o cmds.c
> cmds.c: In function `do_kill':
> cmds.c:852: `SIGSTKFLT' undeclared (first use in this function)
> cmds.c:852: (Each undeclared identifier is reported only once
> cmds.c:852: for each function it appears in.)

This is provided by include/bits/signum.h which is included
by include/signal.h

Is bits/signum.h not a link to
libc/sysdeps/linux/common/bits/signum.h
on your system?

> I had a quick poke around the uclibc include/signal.h stuff and I'm a bit
> confused because I can't see where it links back to the
> linux/include/asm/signal.h which has the necessary information in it. This

It doesn't use asm/signal.h.  It uses bits/signum.h

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list