[uClibc]Help: Problem with toolchain compile

Erik Andersen andersen at codepoet.org
Thu Aug 22 17:04:46 UTC 2002


On Thu Aug 22, 2002 at 11:08:51AM -0500, Jay J. Williams wrote:
> When I build the toolchain I get the following error message:
> 
> /home/jwilliams/Ingenient_ToolChain/gcc-2.95/toolchain/bin/arm-uclibc-gcc -Wall -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -fstrict-aliasing -fno-builtin -nostdinc  -I../../include -iwithprefix include -I. -D_LIBC  -DNDEBUG  -c ptsname.c -o ptsname.o
> In file included from ../../include/sys/select.h:31,
>                  from ../../include/sys/types.h:215,
>                  from ../../include/stdio.h:65,
>                  from ptsname.c:21:
> ../../include/bits/select.h:32: warning: `__FD_ZERO' redefined
> ../../include/asm/posix_types.h:56: warning: this is the location of the
> previous definition
> ../../include/bits/select.h:33: warning: `__FD_SET' redefined
> ../../include/asm/posix_types.h:44: warning: this is the location of the
> previous definition
> ../../include/bits/select.h:34: warning: `__FD_CLR' redefined
> ../../include/asm/posix_types.h:48: warning: this is the location of the
> previous definition
> ../../include/bits/select.h:35: warning: `__FD_ISSET' redefined
> ../../include/asm/posix_types.h:52: warning: this is the location of the
> previous definition

These can be ignored for now.  I'll be fixing this noise
up today.

> ptsname.c:85: #error "UNIX98PTY_ONLY enabled but TIOCGPTN ioctl not
> supported by your kernel."

Just like it says, your uClibc config has UNIX98PTY_ONLY enabled.
For 2.0.x kernels you have to disable it.

 -Erik

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



More information about the uClibc mailing list