On Thu, Oct 8, 2009 at 5:19 PM, Jonathan P Jacky <j...@u.washington.edu> wrote:
>
> I am building from gnuradio-3.2.2.tar from Trac on an iMac9,1 with an
> Intel Core 2 Duo running Mac OS X 10.6.1 (Snow Leopard), XCode version
> 3.2, gcc version 4.2.1.
>
> I am following the directions at
> https://radioware.nd.edu/documentation/install-guides/mac-os-x
> and just got all the prerequisites from macports for this build.
>
> I am building one component at a time.  I built gnuradio-core (but
> with one wrinkle - see PPS below).
>
> The build for usrp failed, in particular the compile for
> fusb_darwin.cc failed with these error messages, among others (full
> compile command with output appears in PPPS below):
>
>  fusb_darwin.cc:348: error: cast from s_both<s_buffer*>* to unsigned int
> loses precision
>  fusb_darwin.cc:391: error: cast from void* to UInt32 loses precision
>  ... etc. ...
>

Both errors are coming from pointer casts to int types. Pointers and
long types go to 8-bytes on 64-bit builds while int stays at 4-bytes
on most systems. Using long rather than int types should fix things
though I have no way test it out. Michael may be aware of other
issues.

    Thomas


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to