[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of
From: |
Alexander List |
Subject: |
[Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign |
Date: |
Fri, 22 May 2009 18:02:02 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
Hi,
trying to build gnuradio on OS X 10.4, I get
---8<---
Extracting
/Users/alex/Documents/work/nc-projects/gr/gnuradio/gnuradio-core/src/lib/missing/.libs/libmissing.a
(cd .libs/libgnuradio-core-qa.lax/libmissing.a && ar x
/Users/alex/Documents/work/nc-projects/gr/gnuradio/gnuradio-core/src/lib/missing/.libs/libmissing.a)
g++ -dynamiclib -single_module ${wl}-flat_namespace ${wl}-undefined
${wl}suppress -o .libs/libgnuradio-core-qa.0.0.0.dylib
.libs/bug_work_around_6.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_ccomplex_dotprod_x86.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_complex_dotprod_x86.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_dotprod_x86.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_filter.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_float_dotprod_x86.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_ccc.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_ccf.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_fcc.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_fff.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_scc.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_rotator.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gri_mmse_fir_interpolator.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gri_mmse_fir_interpolator_cc.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_general.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_circular_file.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_firdes.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_fxpt.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_fxpt_nco.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_fxpt_vco.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_math.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gri_lfsr.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_block.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_buffer.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_flowgraph.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_hier_block2.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_hier_block2_derived.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_io_signature.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_top_block.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_vmcircbuf.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_runtime.o
.libs/libgnuradio-core-qa.lax/libmissing.a/bug_work_around_8.o
.libs/libgnuradio-core-qa.lax/libmissing.a/posix_memalign.o
-L/Users/alex/Documents/work/nc-projects/gr/lib -L/opt/local/lib
./.libs/libgnuradio-core.dylib
/Users/alex/Documents/work/nc-projects/gr/gnuradio/omnithread/.libs/libgromnithread.dylib
/Users/alex/Documents/work/nc-projects/gr/gnuradio/gruel/src/lib/.libs/libgruel.dylib
/opt/local/lib/libfftw3f.dylib /opt/local/lib/libgsl.dylib
/opt/local/lib/libgslcblas.dylib /opt/local/lib/libcppunit.dylib -ldl
-install_name
/Users/alex/Documents/work/nc-projects/gr/lib/libgnuradio-core-qa.0.dylib
-Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
ld: multiple definitions of symbol _posix_memalign
.libs/libgnuradio-core-qa.lax/libmissing.a/posix_memalign.o definition
of _posix_memalign in section (__TEXT,__text)
./.libs/libgnuradio-core.dylib(single module) definition of _posix_memalign
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libgnuradio-core-qa.la] Error 1
make: *** [all-recursive] Error 1
---8<---
$ svn info
Path: .
URL: http://gnuradio.org/svn/gnuradio/trunk
Repository Root: http://gnuradio.org/svn
Repository UUID: 221aa14e-8319-0410-a670-987f0aec2ac5
Revision: 11082
Node Kind: directory
Schedule: normal
Last Changed Author: jcorgan
Last Changed Rev: 11082
Last Changed Date: 2009-05-21 18:21:10 +0200 (Thu, 21 May 2009)
$ uname -a
Darwin computer.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10
18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
Tried with 3.2 as well, same story:
---8<---
Extracting
/Users/alex/Documents/work/nc-projects/gr/gnuradio-3.2/gnuradio-core/src/lib/missing/.libs/libmissing.a
(cd .libs/libgnuradio-core-qa.lax/libmissing.a && ar x
/Users/alex/Documents/work/nc-projects/gr/gnuradio-3.2/gnuradio-core/src/lib/missing/.libs/libmissing.a)
g++ -dynamiclib -single_module ${wl}-flat_namespace ${wl}-undefined
${wl}suppress -o .libs/libgnuradio-core-qa.0.0.0.dylib
.libs/bug_work_around_6.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_ccomplex_dotprod_x86.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_complex_dotprod_x86.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_dotprod_x86.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_filter.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_float_dotprod_x86.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_ccc.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_ccf.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_fcc.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_fff.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_fir_scc.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gr_rotator.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gri_mmse_fir_interpolator.o
.libs/libgnuradio-core-qa.lax/libfilter-qa.a/qa_gri_mmse_fir_interpolator_cc.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_general.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_circular_file.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_firdes.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_fxpt.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_fxpt_nco.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_fxpt_vco.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gr_math.o
.libs/libgnuradio-core-qa.lax/libgeneral-qa.a/qa_gri_lfsr.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_block.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_buffer.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_flowgraph.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_hier_block2.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_hier_block2_derived.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_io_signature.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_top_block.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_gr_vmcircbuf.o
.libs/libgnuradio-core-qa.lax/libruntime-qa.a/qa_runtime.o
.libs/libgnuradio-core-qa.lax/libmissing.a/bug_work_around_8.o
.libs/libgnuradio-core-qa.lax/libmissing.a/posix_memalign.o
-L/Users/alex/Documents/work/nc-projects/gr/lib -L/opt/local/lib
./.libs/libgnuradio-core.dylib
/Users/alex/Documents/work/nc-projects/gr/gnuradio-3.2/omnithread/.libs/libgromnithread.dylib
/Users/alex/Documents/work/nc-projects/gr/gnuradio-3.2/gruel/src/lib/.libs/libgruel.dylib
/opt/local/lib/libfftw3f.dylib /opt/local/lib/libgsl.dylib
/opt/local/lib/libgslcblas.dylib /opt/local/lib/libcppunit.dylib -ldl
-install_name
/Users/alex/Documents/work/nc-projects/gr/lib/libgnuradio-core-qa.0.dylib
-Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
ld: multiple definitions of symbol _posix_memalign
.libs/libgnuradio-core-qa.lax/libmissing.a/posix_memalign.o definition
of _posix_memalign in section (__TEXT,__text)
./.libs/libgnuradio-core.dylib(single module) definition of _posix_memalign
/usr/bin/libtool: internal link edit command failed
make[5]: *** [libgnuradio-core-qa.la] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
---8<---
Any hints?
Alex
signature.asc
Description: PGP signature
- [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign,
Alexander List <=
- Re: [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign, Michael Dickens, 2009/05/22
- Re: [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign, Alexander List, 2009/05/22
- Re: [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign, Alexander List, 2009/05/24
- Re: [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign, Michael Dickens, 2009/05/24
- Re: [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign, Jan Schiefer, 2009/05/25
- Re: [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign, Michael Dickens, 2009/05/25
- Re: [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign, Alexander List, 2009/05/25
- Message not available
- Re: [Discuss-gnuradio] build error on OS X 10.4: ld: multiple definitions of symbol _posix_memalign, Michael Dickens, 2009/05/25