[USRP-users] Unable compile UHD on OSX 10.8

Michael Dickens mlk at alum.mit.edu
Wed Sep 5 17:02:16 EDT 2012


OK; so let's look at the code:

/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15:25: error: limits.h: No such file or directory

That "limits.h" starts with
{{{
/* This administrivia gets added to the beginning of limits.h
   if the system has its own version of limits.h.  */

/* APPLE LOCAL begin 4401222 */

#ifndef _LIBC_LIMITS_H_
/* Use "..." so that we find syslimits.h only in this same directory.  */
#include "syslimits.h"
#endif
#ifdef _GCC_NEXT_LIMITS_H
/* LLVM LOCAL begin Fix for Linux builds */
#ifdef __linux__
#define _GCC_LIMITS_H_
#endif
/* LLVM LOCAL end Fix for Linux builds */
#include_next <limits.h>
#undef _GCC_NEXT_LIMITS_H
#endif
}}}

and it's the "include_next" that is triggering the error.  Does "/usr/include/limits.h" exist?  That would be the logical "next" … - MLD





More information about the USRP-users mailing list