Hi Rishikesh/Sergei,

Any fix available for the same ?? ;-)

Will Newton wrote:
> Hi all,
>
> The utsname tests cause the build to fail if there is no unshare
> system call defined for an architecture. This includes all 2.4.x
> kernels.
>
> The offending code is:
>
>   20 #ifndef SYS_unshare
>    21 #ifdef __NR_unshare
>    22 #define SYS_unshare __NR_unshare
>    23 #elif __i386__
>    24 #define SYS_unshare 310
>    25 #elif __ia64__
>    26 #define SYS_unshare 1296
>    27 #elif __x86_64__
>    28 #define SYS_unshare 272
>    29 #elif __s390x__ || __s390__
>    30 #define SYS_unshare 303
>    31 #elif __powerpc__
>    32 #define SYS_unshare 282
>    33 #else
>    34 #error "unshare not supported on this architecure."
>    35 #endif
>    36 #endif
>
> It should be quite simple to make a test for architectures where this
> isn't supported rather than  throwing a gratuitous error. Once I've
> worked my way through some toolchain issues I may get round to making
> a patch.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to