Wow. gcc -o daemon.o -c -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -Dstrcasestr=gitstrcasestr -DNO_STRCASESTR=1 -DSHA1_HEADER='<openssl/sha.h>' daemon.c In file included from /usr/include/sys/poll.h:54, from daemon.c:7: /usr/include/ctype.h:67: error: syntax error before ']' token /usr/include/ctype.h:68: error: syntax error before ']' token /usr/include/ctype.h:70: error: syntax error before ']' token /usr/include/ctype.h:75: error: syntax error before ']' token /usr/include/ctype.h:78: error: syntax error before '(' token /usr/include/ctype.h:79: error: syntax error before '(' token /usr/include/ctype.h:93: error: syntax error before "c" In file included from /usr/include/sys/poll.h:54, from daemon.c:7: /usr/include/ctype.h:91:1: unterminated #if /usr/include/ctype.h:40:1: unterminated #ifndef In file included from daemon.c:7: /usr/include/sys/poll.h:53:1: unterminated #ifndef /usr/include/sys/poll.h:28:1: unterminated #ifndef gmake: *** [daemon.o] Error 1 Apparently something in the early lines of daemon.c (before line 7) is defining something that breaks the core /usr/include/ctype.h. Lines 66 to 68 of ctype.h look like: #if defined(__GNUC__) || defined(_ANSI_LIBRARY) || defined(lint) int isalnum(int); int isalpha(int); If that rings a bell, help me out here. I'm guessing "isalnum" is getting defined (wrongly). Yeah, looks like in cache.h. Why is this getting defined? -- 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! - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Mon Oct 24 14:07:07 2005
This archive was generated by hypermail 2.1.8 : 2005-10-24 14:07:11 EST