libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] libunwind library/source for Linux 64 bit


From: Arun Sharma
Subject: Re: [Libunwind-devel] libunwind library/source for Linux 64 bit
Date: Thu, 22 Apr 2010 09:05:41 -0700

On Thu, Apr 22, 2010 at 5:58 AM, POKHARAKAR Sandeep <address@hidden> wrote:
Hi,

After compiling this code, I am getting below error.

"libunwind_i.h: error: #error Host has unknown byte-order."

I checked the code and found that if hpux is not defined then we get
this error.

Does it mean that the code is compatible to HPUX only?


The code is certainly compatible with Linux/x86.

libunwind_i.h:

#if defined(HAVE_ENDIAN_H)
# include <endian.h>
#elif defined(HAVE_SYS_ENDIAN_H)
# include <sys/endian.h>
#else
# define __LITTLE_ENDIAN        1234
# define __BIG_ENDIAN           4321
# if defined(__hpux)
#   define __BYTE_ORDER __BIG_ENDIAN
# else
#   error Host has unknown byte-order.
# endif
#endif

$ grep ENDIAN include/config.h
#define HAVE_ENDIAN_H 1

for some reason configure is not finding endian.h on your system?

 -Arun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]