Hi Gnu Barcode folks, I passed a patch to Giuseppe for review regarding the 0.99 OSX build issue.
And when that patch, on OSX, I did confirm that calling configure with ac_cv_func_calloc_0_nonnull=yes fixed the build issue. E.g., ./configure ac_cv_func_calloc_0_nonnull=yes; make; make install -John On Fri, Jun 26, 2015 at 3:24 PM, John Cavalieri <[email protected]> wrote: > Hi Gnu Barcode folks, > > I really want to use the latest gnu-barcode, version 0.99 because of the > SVG support. However it isn't building on OSX 10.10.3. I have the latest > command line tools and xcode installed. > > The error I'm getting is essentially this: > > duplicate symbol _streaming in: > ./.libs/libbarcode.a(library.o) > ./.libs/libbarcode.a(code11.o) > ld: 12 duplicate symbols for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[1]: *** [barcode] Error 1 > make: *** [install-recursive] Error 1 > > > I originally thought it might have been a brew problem and I reached out > to that community here: > https://github.com/Homebrew/homebrew/issues/41115 > > And they referenced these comments from someone else trying to upgrade the > brew formula to 0.99: > https://github.com/Homebrew/homebrew/pull/29920#issuecomment-45831151 > > User jacknagel suggests the following: > > "The rpl_calloc weirdness can be worked around by passing > ac_cv_func_calloc_0_nonnull=yes" to configure, and the duplicate symbols > can probably be fixed easily enough, but it needs to be reported upstream." > > I also tried building this outside of brew and received the same error. > > Is this a known issue? > > Thanks, > John > > -- > > John Cavalieri > Senior Developer > [email protected] > > -- John Cavalieri Senior Developer [email protected]
