public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jeff Whitaker <jsw@cdc.noaa.gov>
To: <gsl-discuss@sources.redhat.com>
Subject: gsl on macos x
Date: Wed, 19 Dec 2001 13:20:00 -0000	[thread overview]
Message-ID: <Pine.OSX.4.33.0107081845060.11512-100000@localhost.cdc.noaa.gov> (raw)

Trying to build gsl on MacOS X - I get all the way to the end, then the
dynamlic linker (DYLD) complains about multiply defined symbols when
building libgsl.dylib.  I get about a 100 lines of messages like this:

ld: multiple definitions of symbol _gsl_block_alloc
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_alloc in
section (__TEXT,__text)
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_alloc in
section (__TEXT,__text)
ld: multiple definitions of symbol _gsl_block_calloc
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_calloc in
section (__TEXT,__text)
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_calloc in
section (__TEXT,__text)
ld: multiple definitions of symbol _gsl_block_char_alloc
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_char_alloc in
section (__TEXT,__text)
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_char_alloc in
section (__TEXT,__text)
ld: multiple definitions of symbol _gsl_block_char_calloc
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_char_calloc
in section (__TEXT,__text)
...
ld: multiple definitions of symbol _gsl_vector_view_array_with_stride
vector/.libs/libgslvector.al(view.lo) definition of
_gsl_vector_view_array_with_stride in section (__TEXT,__text)
vector/.libs/libgslvector.al(view.lo) definition of
_gsl_vector_view_array_with_stride in section (__TEXT,__text)
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libgsl.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### make failed, exit code 2


I know DYLD is very picky about multiple symbol definitions - unlike ld on
most unices.  Does anyone know if there is any solution to this problem?

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/CDC  R/CDC1        Email  : jsw@cdc.noaa.gov
325 Broadway                Web    : www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124

             reply	other threads:[~2001-12-19 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-19 13:20 Jeff Whitaker [this message]
2001-12-19 13:20 ` Brian Gough
     [not found]   ` <Pine.OSX.4.33.0107090601320.11512-101000@localhost.cdc.noaa.gov>
2001-12-19 13:20     ` Brian Gough
2002-08-04 11:13 GSL on MacOS X ecarter
2002-08-04 14:34 ` Brian Gough

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.OSX.4.33.0107081845060.11512-100000@localhost.cdc.noaa.gov \
    --to=jsw@cdc.noaa.gov \
    --cc=gsl-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).