[uClibc]stdio;tmpfile() missing

Glenn McGrath bug1 at optushome.com.au
Thu Apr 12 07:32:41 UTC 2001


I made some changes to busybox dos2unix, to use tmpfile, but it doesnt
compile against uClibc

dos2unix.o: In function `convert':
dos2unix.o(.text+0x48): undefined reference to `tmpfile'
collect2: ld returned 1 exit status

greping through uClibc reveals tmpfile is mentioned in the headers, but
nowhere else.

include/stdio.h:extern FILE *tmpfile __P ((void));
include/stdio.h:extern FILE *tmpfile64 __P ((void));

tmpfile looks like a usefull function to have.


Glenn





More information about the uClibc mailing list