Serge E. Hallyn wrote:
>>>   
>>>       
>> If I remove the above entries, and if I have only this entry now in my  
>> libclone.h
>>
>> #ifndef SYS_unshare
>> #ifdef __NR_unshare
>> #define SYS_unshare __NR_unshare
>> #elif __i386__
>> #define SYS_unshare 310
>> #elif __ia64__
>> #define SYS_unshare 1296
>> #elif __x86_64__
>> #define SYS_unshare 272
>> #elif __s390x__ || __s390__
>> #define SYS_unshare 303
>> #elif __powerpc__
>> #define SYS_unshare 282
>> #else
>> #error "unshare not supported on this architecure."
>> #endif
>> #endif
>>     
>
> Ah, ok, try adding the following  right below the above block:
>
> #ifndef __NR_unshare
> #define __NR_unshare SYS_unshare
> #endif
>
> That way at least we don't have 310 listed twice in the file.
>
> What distro are you using, btw?
>
> thanks,
> -serge
>
>   
This worked fine, thanks Serge.
I am using the SLES10-SP2 (x86_64)

Regards
Veerendra C

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to