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 Sun 21 Sep 2014, 10:19
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 Posts_count  
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.

Edited_time_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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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