[USRP-users] Unable compile UHD on OSX 10.8

Pol Henarejos pol.henarejos at cttc.es
Wed Sep 5 17:57:28 EDT 2012


Yes, it does. But if I use Xcode 4.4.1, make, includes, gcc and other staff should be placed inside /Applications/Xcode, isn't it? So, why is taking outside paths?  

--  

Pol Henarejos
Research Engineer, MSc
pol.henarejos at cttc.es (mailto:pol.henarejos at cttc.es)

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Engineering Unit
Parc Mediterrani de la Tecnologia
Av. Carl Friedrich Gauss, 7
08860 Castelldefels, Barcelona (Spain)
Tel: +34 93 396 71 70 Ext: 2177
Fax. +34 93 645 29 01
www.cttc.es (http://www.cttc.es)


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  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120905/e0c7ae7a/attachment-0002.html>


More information about the USRP-users mailing list