git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: openbsd version?

From
PEPeter Eriksen <s022018@student.dtu.dk>
Date
Oct 10, 2005, 16:29 UTC
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:
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
Previous: Randal L. SchwartzNext: Linus Torvalds
Message 2 of 17 in “openbsd version?”
  1. Randal L. SchwartzOct 10, 2005
  2. Peter EriksenOct 10, 2005
  3. Linus TorvaldsOct 10, 2005
  4. Junio C HamanoOct 10, 2005
  5. Randal L. SchwartzOct 10, 2005
  6. Junio C HamanoOct 10, 2005
  7. Randal L. SchwartzOct 10, 2005
  8. Johannes SchindelinOct 10, 2005
  9. Randal L. SchwartzOct 10, 2005
  10. H. Peter AnvinOct 10, 2005
  11. Randal L. SchwartzOct 10, 2005
  12. Daniel BarkalowOct 10, 2005
  13. Junio C HamanoOct 10, 2005
  14. Sven VerdoolaegeOct 10, 2005
  15. Junio C HamanoOct 10, 2005
  16. Junio C HamanoOct 13, 2005
  17. Sven VerdoolaegeOct 13, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.