[uClibc]BUFSIZ (to get TeX to compile)

Erik Andersen andersen at codepoet.org
Wed Oct 16 20:44:50 UTC 2002

On Wed Oct 16, 2002 at 11:57:41AM -0400, jsmaby at virgo.umeche.maine.edu wrote:
> I've just been building a complete uClibc workstation, and
> ran into a problem building TeX.  After hacking on the thing
> for hours (no compiler warnings were issued), I traced it
> to BUFSIZ not being defined.  A quick google search suggests
> this should be defined in ANSI C (in stdio.h).  Maybe this
> could be defined as _STDIO_BUFSIZ.
> By the way, TeX does compile fine with with CPPFLAGS="-DBUFSIZ=256".

Strange indeed.  I use BUFSIZ all the time in my apps and 
uClibc works fine.  It is included in stdio.h, which includes
bits/uClibc_stdio.h and there are no conditionals which could
allow BUFSIZ to not be included.  What uClibc and gcc versions
are you using?


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

More information about the uClibc mailing list