[uClibc] RE: [uClibc-cvs] dl-string.h

Peter Kjellerstedt peter.kjellerstedt at axis.com
Sun Jun 20 03:14:44 MDT 2004


> -----Original Message-----
> From: uclibc-cvs-bounces at uclibc.org 
> [mailto:uclibc-cvs-bounces at uclibc.org] On Behalf Of Erik Andersen,,,
> Sent: Saturday, June 19, 2004 21:55
> To: 1.5 at codepoet.org; 1.6 at codepoet.org; uclibc-cvs at uclibc.org
      ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
Hmm, shouldn't these two be the version numbers in the subject?

> Subject: [uClibc-cvs] dl-string.h
                        ^^^^^^^^^^^
Where is the directory path?

//Peter


> 
> Update of /var/cvs/uClibc/ldso/include
> In directory nail:/tmp/cvs-serv6864/ldso/include
> 
> Modified Files:
> 	dl-string.h 
> Log Message:
> Bradley D. LaRonde writes:
> 
> dl-string.h references do_rem, but do_rem is a #define in 
> <arch>/dl-sysdep.h
> which is not included by dl-sysdep.h.  This causes a problem in libdl:
>                                                                       
>     In file included from ../../ldso/include/ldso.h:27, from 
> libdl.c:33:
>     ../../ldso/include/dl-string.h: In function 
> `_dl_simple_ltoa':      
>     ../../ldso/include/dl-string.h:216: warning: implicit 
> declaration of
> function `do_rem'
> 
> Include dl-sysdep.h in dl-string.h before using do_rem.
> 
> 
> 
> Index: dl-string.h
> ===================================================================
> RCS file: /var/cvs/uClibc/ldso/include/dl-string.h,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -d -r1.5 -r1.6
> --- dl-string.h	12 Jun 2004 08:38:38 -0000	1.5
> +++ dl-string.h	19 Jun 2004 19:54:40 -0000	1.6
> @@ -1,6 +1,8 @@
>  #ifndef _LINUX_STRING_H_
>  #define _LINUX_STRING_H_
>  
> +#include <dl-sysdep.h> // for do_rem
> +
>  static size_t _dl_strlen(const char * str);
>  static char *_dl_strcat(char *dst, const char *src);
>  static char * _dl_strcpy(char * dst,const char *src);
> 
> 


More information about the uClibc mailing list