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 1This 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!