discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Re: Intel Mac GNU Radio Install Update Soon


From: Dave
Subject: [Discuss-gnuradio] Re: Intel Mac GNU Radio Install Update Soon
Date: Thu, 1 Jun 2006 14:49:20 -0400

Hello All,

I am currently trying to get gnuradio-core running on an Intel
MacBook.  I had a go at installing gnuradio-core today, and after much
hacking managed to get close (but not quite all the way).

Here is a brief summary of my progress (hopefully this will be useful
to someone!).

I am using a MacBook 2 GHz Intel Core Duo running Mac OS X 10.4.6 and
using gcc 4.0.1 to build.

I started off with Jon's excellent web page:
http://staff.washington.edu/jon/gr-osx/gr-osx-core.html#build

As much as possible, I tried to use Darwin ports packages rather than
install source from scratch (convenience rather than anything else).
I found I could install the following pre-requisites from Darwin
Ports: subversion, autonconf, automake, libtool, pkgconfig, swig,
boost, boost-jam, and cppunit.

Python24 died as did Numeric and FFTW. FFTW was an issue with the
latest version 3.1.1 and gcc 4.0.1.  There was a workaround, but it
was a bit kludgy and involved disabling all optimizations during the
compilation.  I submitted a bug report to Darwin Ports and the FFTW
folks, so hopefully they'll look into it.  I still need to look into
why the Python package didn't work.

I installed the following packages from source tarballs: fftw3.0.1,
numeric, and python24. FFTW I installed using the --enable-float and
--disable-fma configure options.  There were no problems compiling
version 3.0.1.

My goal was to get gnuradio-core installed, so I stopped there as far
as pre-requisites.  Next I was on to compiling and installing GNU
Radio Core.

I checked out the source, and went through the usual bootstrap,
configure, compile cycle.

There were a few gotchas here:

* As Jan had pointed out in an earlier post ".align 16" doesn't work too well on the Intel Macs, so I converted to ".align 4" for all of the source files
in src/lib/filter.

* There was a write permissions error for "Makefile.gen" and
"general_generated_i" so I chmoded these files to allow user write.

After all of this, compilation went through to almost the last stage,
when I got the message at the bottom of the email.  I'm going to leave
it at this for now.  Any ideas/insights are most welcome!

I have put together some scripts to automate most of the installation
steps.  I'd be happy to pass them on to anyone who would find them
useful.  I am also happy to test out anyone else's installation scripts.

Cheers,

Dave.





g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -Wall -Woverloaded- virtual -c bug_work_around_6.cc -MT bug_work_around_6.lo -MD -MP - MF .deps/bug_work_around_6.TPlo -fno-common -DPIC -o .libs/ bug_work_around_6.o bug_work_around_6.cc:3: warning: 'gr_bug_work_around_6' defined but not used /bin/sh ../../libtool --mode=link g++ -g -O2 -Wall -Woverloaded- virtual -o libgnuradio-core.la -rpath /Users/dl99/Documents/ projects/svpn/build/gr/lib -version-info 0:0:0 bug_work_around_6.lo filter/libfilter.la g72x/libccitt.la general/libgeneral.la io/ libio.la missing/libmissing.la omnithread/libomnithread.la reed- solomon/librs.la runtime/libruntime.la -L/Users/dl99/Documents/ projects/svpn-cm/build-scripts/../../svpn/build/extern/lib -lfftw3f -lm g++ -dynamiclib -single_module -flat_namespace -undefined suppress - o .libs/libgnuradio-core.0 .libs/bug_work_around_6.o -all_load filter/.libs/libfilter.a g72x/.libs/libccitt.a general/.libs/ libgeneral.a io/.libs/libio.a missing/.libs/libmissing.a omnithread/.libs/libomnithread.a reed-solomon/.libs/librs.a runtime/.libs/libruntime.a -L/Users/dl99/Documents/projects/svpn-cm/ build-scripts/../../svpn/build/extern/lib /Users/dl99/Documents/ projects/svpn-cm/build-scripts/../../svpn/build/extern/lib/ libfftw3f.a -L/Users/dl99/Documents/projects/svpn/build/gr/lib -L/opt/ local/lib -lm -install_name /Users/dl99/Documents/projects/svpn/ build/gr/lib/libgnuradio-core.0 -Wl,-compatibility_version -Wl,1 -Wl,- current_version -Wl,1.0 ld: warning -L: directory name (/Users/dl99/Documents/projects/svpn/ build/gr/lib) does not exist
ld: multiple definitions of symbol ___divdi3
/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_divdi3.o) private external definition of ___divdi3 in section (__TEXT,__text) /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib (_divdi3_s.o) definition of ___divdi3
ld: multiple definitions of symbol ___udivdi3
/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o) private external definition of ___udivdi3 in section (__TEXT,__text) /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib (_udivdi3_s.o) definition of ___udivdi3
ld: multiple definitions of symbol ___umoddi3
/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o) private external definition of ___umoddi3 in section (__TEXT,__text) /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib (_umoddi3_s.o) definition of ___umoddi3
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libgnuradio-core.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




reply via email to

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