Re: [Toybox] Compile errors when compiling for ARM

2012-11-28 Thread Rob Landley
On 11/28/2012 10:59:38 PM, Ashwini Sharma wrote: Hi Rob, I am getting few other warnings related to "portability.h". When compiling for ARM target it throws warning: implicit declaration of function 'getsid' warning: implicit declaration of function 'getpgid' I tried the code sourcery armv7l

Re: [Toybox] Compile errors when compiling for ARM

2012-11-28 Thread Rob Landley
On 11/28/2012 10:59:38 PM, Ashwini Sharma wrote: Hi Rob, I am getting few other warnings related to "portability.h". When compiling for ARM target it throws warning: implicit declaration of function 'getsid' warning: implicit declaration of function 'getpgid' I'm not finding either of those i

Re: [Toybox] Compile errors when compiling for ARM

2012-11-28 Thread Ashwini Sharma
Hi Rob, I am getting few other warnings related to "portability.h". When compiling for ARM target it throws warning: implicit declaration of function 'getsid' warning: implicit declaration of function 'getpgid' adding the header "unistd.h" and function prototype in potability.h for #if defined(_

Re: [Toybox] Compile errors when compiling for ARM

2012-11-26 Thread Rob Landley
On 11/26/2012 10:09:10 PM, Ashwini Sharma wrote: Hi Rob, I was working on the latest "changeset 711". When I compile it for x86 machine, it works fine, but when building for my ARM board, compiler shouts* "O_DIRECTORY" undecalred in xabspath()*. Am I missing something or the tree has this

Re: [Toybox] Compile errors when compiling for ARM

2012-11-26 Thread Rob Landley
On 11/26/2012 10:09:10 PM, Ashwini Sharma wrote: Hi Rob, I was working on the latest "changeset 711". When I compile it for x86 machine, it works fine, but when building for my ARM board, compiler shouts* "O_DIRECTORY" undecalred in xabspath()*. Am I missing something or the tree has this

[Toybox] Compile errors when compiling for ARM

2012-11-26 Thread Ashwini Sharma
Hi Rob, I was working on the latest "changeset 711". When I compile it for x86 machine, it works fine, but when building for my ARM board, compiler shouts* "O_DIRECTORY" undecalred in xabspath()*. Am I missing something or the tree has this issue, please comment. regards, Ashwini Kumar ___