[uClibc 0001053]: trans2r.c doesn't link

bugs at busybox.net bugs at busybox.net
Wed Sep 27 15:26:16 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1053 
====================================================================== 
Reported By:                pako
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1053
Category:                   Stdio
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             09-27-2006 08:26 PDT
Last Modified:              09-27-2006 08:26 PDT
====================================================================== 
Summary:                    trans2r.c doesn't link
Description: 
files libc/stdio/*.c (for example uClibc-0.9.28\libc\stdio\_trans2w.c)
do not include <features.h>, so __UCLIBC_HAS_WCHAR__ is not set, even if
it should be.
As a result things don't link: function 
int __stdio_trans2r(FILE * __restrict stream)
is compiled instead of
int __stdio_trans2r_o(FILE * __restrict stream, int oflag)
producing undefined reference to __stdio_trans2r_o.

the same problem with allmost everything in libc/stdio.
I think #include <features.h> must be added to libc/stdio/_stdio.h
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-27-06 08:26  pako           New Issue                                    
09-27-06 08:26  pako           Status                   new => assigned     
09-27-06 08:26  pako           Assigned To               => uClibc          
======================================================================




More information about the uClibc-cvs mailing list