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

daemon.c fails to build on Darwin

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Sep 28, 2006, 15:48 UTC
Message-ID
<86ejtw3sbv.fsf@blue.stonehenge.com>

If this is obvious, can someone fix it? If not, I'll try to sort it out later tonight.

    gcc -o daemon.o -c -g -O2 -Wall -I/sw/include -I/opt/local/include -DSHA1_HEADER='<openssl/sha.h>' -DNO_STRLCPY daemon.c
    daemon.c: In function 'fill_in_extra_table_entries':
    daemon.c:460: error: 'HOST_NAME_MAX' undeclared (first use in this function)
    daemon.c:460: error: (Each undeclared identifier is reported only once
    daemon.c:460: error: for each function it appears in.)
    daemon.c:460: warning: unused variable 'addrbuf'
    make: *** [daemon.o] Error 1
This is with 2d5b459107cf07bbb307cfb196c2007c497a6dd2.
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Next: Alex Riesen
Message 1 of 4 in “daemon.c fails to build on Darwin”
  1. Randal L. SchwartzSep 28, 2006
  2. Alex RiesenSep 28, 2006
  3. Shawn PearceSep 28, 2006
  4. Junio C HamanoSep 28, 2006

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.