Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 15:34
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
libsentry problem + Slacko 533 + src2pkg 2.8
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
petan

Joined: 08 May 2013
Posts: 3

PostPosted: Wed 08 May 2013, 08:19    Post subject:  libsentry problem + Slacko 533 + src2pkg 2.8  

Hi all.

problem in Slacko 533 - libsentry not created.
Error : conflicting types for 'scandir'
Message points to difference in files
"dirent.h" line 252
Code:
# ifndef __USE_FILE_OFFSET64
extern int scandir (__const char *__restrict __dir,
          struct dirent ***__restrict __namelist,
          int (*__selector) (__const struct dirent *),
          int (*__cmp) (__const struct dirent **,
              __const struct dirent **))
     __nonnull ((1, 2));
# else

and "libsentry.c" line 3087
Code:
int scandir(   const char *dir,struct dirent ***namelist,
      int (*select)(const struct dirent *),
#if(GLIBC_MINOR >= 10)
      int (*compar)(const struct dirent **,const struct dirent **)   ) {
#else
      int (*compar)(const void *,const void *)   ) {
#endif
   int result;

   if (!libc_handle)
      initialize();

#if DEBUG
   debug(2,"scandir(%s,%p,%p,%p)\n",dir,namelist,select,compar);
#endif

     /* We were asked to work in "real" mode */
   if( !(__instw.gstatus & INSTW_INITIALIZED) ||
       !(__instw.gstatus & INSTW_OKWRAP) ) {
      result=true_scandir(dir,namelist,select,compar);
      return result;
   }

   result=true_scandir(dir,namelist,select,compar);

   return result;
}      

What is wrong between them ? (not C coder I am)

Thx for advices guys.

Last edited by petan on Wed 08 May 2013, 15:36; edited 1 time in total
Back to top
View user's profile Send private message 
petan

Joined: 08 May 2013
Posts: 3

PostPosted: Wed 08 May 2013, 15:35    Post subject:  

Looks like Slacko 533 problem - missing something !
The same package (src2pkg -2.8-noarch1.pet ) installed on Retro precise 543 and libsentry created !
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0430s ][ Queries: 11 (0.0032s) ][ GZIP on ]