Re: [Tack-devel] ACK compiles on NetBSD-macppc, sort of...
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: Gregory T. (t. K. <gt...@di...> - 2006-07-21 13:42:44
|
At 9:07 AM -0400 7/21/06, Perry E. Metzger wrote: >> And it might well be an interesting part of the code. The >> conditional failing is #ifdef __lint__. > >I don't think you understood what your read. Ok, I understood the chain of events to be GNUC was not defined and neither= was __lint__, thereby coming to "No function renaming possible." =20 #if !defined(_STANDALONE) && !defined(_KERNEL) #ifdef __GNUC__ #define __RENAME(x) ___RENAME(x) #else #ifdef __lint__ #define __RENAME(x) __symbolrename(x) #else #error "No function renaming possible" #endif /* __lint__ */ #endif /* __GNUC__ */ #else /* _STANDALONE || _KERNEL */ #define __RENAME(x) no renaming in kernel or standalone environm= ent #endif However, upon further review, you quite correct. I misunderstood the= compiler message: SUF: not found SUF: not found SUF: not found SUF: not found SUF: not found "/usr/include/sys/cdefs.h", line 245: error: unknown control apparently it is not the path that is the problem but the control "#error"= that is the problem. Or am I mistaken here as well? (Quite possible, as= dealing with the compiling aspect of software always gives me fits, as the= tools always seem to get in the way instead of working and letting me focus= on the code.) I'm in the middle of something and wanted to post/ask this, instead of= delaying until I had responded to the rest of the email. thanks, tim Gregory T. (tim) Kelly Owner Dialectronics.com P.O. Box 606 Newberry, SC 29108 "Anything war can do, peace can do better." -- Bishop Desmond Tutu |