Re: openbsd version?
On Mon, Oct 10, 2005 at 09:12:34AM -0700, Randal L. Schwartz wrote:
Show 16 quoted lines
>
> 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