Unable to compile on OSX

Dear list,

I fitted the last version of gnuradio but I fail to compile it. It
shows:

[ 0%] Building C object
volk/lib/CMakeFiles/volk.dir/volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.c.o
/Users/x/Devel/gnuradio/build/volk/lib/volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.c:7:18:
error: math.h: No such file or directory
In file included from
/usr/llvm-gcc-4.2/bin/…/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15,
from
/Users/x/Devel/gnuradio/build/volk/lib/volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.c:34:
/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
make[2]: ***
[volk/lib/CMakeFiles/volk.dir/volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.c.o]
Error 1
make[1]: *** [volk/lib/CMakeFiles/volk.dir/all] Error 2
make: *** [all] Error 2

I am using Xcode 4.4.1 and Mountain Lion 10.8.

gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with:
/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/src/configure
–disable-checking --enable-werror
–prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2
–mandir=/share/man --enable-languages=c,objc,c++,obj-c++
–program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
–with-slibdir=/usr/lib --build=i686-apple-darwin11
–enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/dst-llvmCore/Developer/usr/local
–program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
–target=i686-apple-darwin11
–with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.11.00)

I would appreciate if someone could help me.

Thank you.

Pol H.
Research Engineer, MSc
[email protected] (mailto:[email protected])

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)

Both UHD and GNU Radio compile and work for me on OSX 10.8.1 and Xcode
4.4.1, with just a few "-D"s on the cmake command line. I’m wondering
if you’ve fully installed XCode; I follow the list found at <
https://trac.macports.org/wiki/ProblemHotlist >. If you don’t do all
the right steps, XCode will only partially work. - MLD

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs