discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gnuradio-core fails to make on an Intel MacBook P


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] gnuradio-core fails to make on an Intel MacBook Pro using XCode 2.4?
Date: Fri, 18 Aug 2006 13:28:21 -0700
User-agent: Mutt/1.5.9i

On Fri, Aug 18, 2006 at 03:02:31PM -0400, Michael Dickens wrote:
> I just submitted a ticket (41) for this one.  Sorry about the bad  
> formatting in the ticket ... I'll do better next time.
> 
> I think the issue is a change in XCode 2.4 from 2.3, but as I don't  
> have an Intel Mac I really can't check it myself.  Any Intel-Mac  
> users able to spend a little time checking it out (or helping me  
> check it out)?  Email me off-list if you can run some quick scripts &  
> get back to me. - MLD
> 
> MacBook Pro running OSX 10.4.7 and XCode 2.4 .
> SVN checkout is from last night.
> My compile is failing in gnuradio-core/src/lib/filters/ :
> 
> /bin/sh ../../../../libtool --mode=compile gcc  -g -O2 -Wall  -c -o
> float_dotprod_sse.lo float_dotprod_sse.S
>  gcc -g -O2 -Wall -c float_dotprod_sse.S  -fno-common -DPIC -o
> .libs/float_dotprod_sse.o
> float_dotprod_sse.S:61:Unknown pseudo-op: .scl
> float_dotprod_sse.S:61:Rest of line ignored. 1st junk character  
> valued 50 (2).
> float_dotprod_sse.S:61:Unknown pseudo-op: .type
> float_dotprod_sse.S:61:Rest of line ignored. 1st junk character  
> valued 51 (3).
> float_dotprod_sse.S:61:Unknown pseudo-op: .endef
> make[4]: *** [float_dotprod_sse.lo] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1

The fix needs to go in gnuradio-core/src/lib/filters/assembly.h

On the macbook it's executing the !__ELF__ branch.
I suspect that there's some Mach magic required here.

Looking at some compiler generated assember and checking the
predefined preprocessor defines should lead to enlightenment.

Be sure to leave the old default branch  -- I think it handled COFF or
a.out -- and add a new check for whatever's right for OS/X.

Eric




reply via email to

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