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

bugs at busybox.net bugs at busybox.net
Tue Feb 13 17:54:00 UTC 2007


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 unable to reproduce
Fixed in Version:           
====================================================================== 
Date Submitted:             09-27-2006 08:26 PDT
Last Modified:              02-13-2007 09:54 PST
====================================================================== 
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
====================================================================== 

---------------------------------------------------------------------- 
 vapier - 02-13-07 09:54  
---------------------------------------------------------------------- 
the .c files pull in _stdio.h which pulls in features.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          
02-13-07 09:54  vapier         Note Added: 0002156                          
02-13-07 09:54  vapier         Status                   assigned => closed  
02-13-07 09:54  vapier         Resolution               open => unable to
reproduce
======================================================================




More information about the uClibc-cvs mailing list