git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Peter Eriksen" <s022018@student.dtu.dk>
To: git@vger.kernel.org
Subject: Re: openbsd version?
Date: Mon, 10 Oct 2005 18:29:08 +0200	[thread overview]
Message-ID: <20051010162908.GA23401@ebar091.ebar.dtu.dk> (raw)
In-Reply-To: <8664s5gxl9.fsf@blue.stonehenge.com>

On Mon, Oct 10, 2005 at 09:12:34AM -0700, Randal L. Schwartz wrote:
> 
> I noticed "openbsd" in the operating systems detected in Makefile,
> but when I tried this on my openbsd system, I get an abort here:
> 
>     gcc -g -O2 -Wall -I/usr/local/include -L/usr/local/lib '-DSHA1_HEADER=<openssl/sha.h>' -o git-mailinfo mailinfo.o libgit.a  -liconv
>     mailinfo.o(.text+0x22d): In function `slurp_attr':
>     /opt/git/src/git-snapshot-20051010/mailinfo.c:130: undefined reference to `strcasestr'
>     mailinfo.o(.text+0x2a9): In function `handle_subcontent_type':
>     /opt/git/src/git-snapshot-20051010/mailinfo.c:155: undefined reference to `strcasestr'
>     mailinfo.o(.text+0x39d): In function `handle_content_transfer_encoding':
>     /opt/git/src/git-snapshot-20051010/mailinfo.c:181: undefined reference to `strcasestr'
>     mailinfo.o(.text+0x3c6):/opt/git/src/git-snapshot-20051010/mailinfo.c:183: undefined reference to `strcasestr'
>     collect2: ld returned 1 exit status
>     gmake: *** [git-mailinfo] Error 1
> 
> What am I doing wrong?

You need to compile with

$ gmake NO_STRCASESTR=Indeed

Peter

  reply	other threads:[~2005-10-10 16:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-10 16:12 openbsd version? Randal L. Schwartz
2005-10-10 16:29 ` Peter Eriksen [this message]
2005-10-10 16:41 ` Linus Torvalds
2005-10-10 19:06   ` Junio C Hamano
2005-10-10 19:29     ` Randal L. Schwartz
2005-10-10 20:30       ` Junio C Hamano
2005-10-10 20:36         ` Randal L. Schwartz
2005-10-10 20:49           ` Johannes Schindelin
2005-10-10 20:52             ` Randal L. Schwartz
2005-10-10 21:04               ` H. Peter Anvin
2005-10-10 21:05                 ` Randal L. Schwartz
2005-10-10 21:31               ` Daniel Barkalow
2005-10-10 21:31           ` Junio C Hamano
2005-10-10 21:00         ` Sven Verdoolaege
2005-10-10 21:42           ` Junio C Hamano
2005-10-13  7:47             ` Junio C Hamano
2005-10-13  8:29               ` Sven Verdoolaege

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=20051010162908.GA23401@ebar091.ebar.dtu.dk \
    --to=s022018@student.dtu.dk \
    --cc=git@vger.kernel.org \
    /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 NNTP newsgroup(s).