public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Re error after installing cygwin64 4.3.1.1
Date: Wed, 27 Jan 2016 11:23:00 -0000	[thread overview]
Message-ID: <56A88537.7000205@gmail.com> (raw)
In-Reply-To: <BAY175-W315899B1CB94BF0A9EDB3CADD90@phx.gbl>



On 27/01/2016 05:24, Robert May wrote:
> Marco
> what I have done is in makefile
> line 26CFLAGS   = -g -Wall -O2   -std=gnu99
> ## added -std=gnu99 above
> line 66
> ALL_LDFLAGS  =  $(HTSLIB_LDFLAGS) $(LDFLAGS)
> ## remove -rdynamic from ALL_LDFLAGS above
>
> and this is the result of the next make run
> Robert@DESKTOP-14EL82S /usr/local/bin/samtools-1.3
> $ make
> gcc -pthread   -o samtools bam_index.o bam_plcmd.o sam_view.o bam_cat.o bam_md.o bam_reheader.o bam_sort.o bedidx.o kprobaln.o bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o bamtk.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o sam_opts.o cut_target.o phase.o bam2depth.o padding.o bedcov.o bamshuf.o faidx.o dict.o stats.o stats_isize.o bam_flags.o bam_split.o bam_tview.o bam_tview_curses.o bam_tview_html.o bam_lpileup.o bam_quickcheck.o bam_addrprg.o libbam.a htslib-1.3/libhts.a -lncursesw -lm -lz -ldl
> errmod.o: In function `cal_coef':
> /usr/local/bin/samtools-1.3/errmod.c:85: undefined reference to `expl'
> /usr/local/bin/samtools-1.3/errmod.c:85:(.text+0xc81): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `expl'
> /usr/local/bin/samtools-1.3/errmod.c:86: undefined reference to `logl'
> /usr/local/bin/samtools-1.3/errmod.c:86:(.text+0xca5): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `logl'
> collect2: error: ld returned 1 exit status
> Makefile:140: recipe for target 'samtools' failed
> make: *** [samtools] Error 1
>
> this is the culprit I believe
> errmod.o: In function `cal_coef':
> regards
> Bob
>
>   Bob May

Hi Bob,
as I mentioned expl and logl are not available yet on cygwin.

One workaround with less accuracy is to replace them with exp and log


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2016-01-27  8:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27  7:21 Robert May
2016-01-27 11:23 ` Marco Atzeri [this message]
     [not found] ` <BAY175-W36A8E62DEDB34EC2764606ADD90@phx.gbl>
2016-01-27 12:41   ` FW: Re Samtools " Robert May
  -- strict thread matches above, loose matches on Subject: below --
2016-01-26 17:25 Re " Robert May

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=56A88537.7000205@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.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).