From: Peter Eriksen Date: Mon, 10 Oct 2005 16:29:08 GMT Subject: Re: openbsd version? Message-ID: <20051010162908.GA23401@ebar091.ebar.dtu.dk> 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=' -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