The time now is Wed 19 Jun 2013, 18:23
All times are UTC - 4 |
| Author |
Message |
petan
Joined: 08 May 2013 Posts: 3
|
Posted: 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
|
|
 |
petan
Joined: 08 May 2013 Posts: 3
|
Posted: 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
|
|
 |
|
|
|
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
|