Prev | Current Page 119 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

All rights reserved.
60 | Chapter 2: Download, Build, and Install
2.4.8 Undefined Symbol strtoul
If you are building sendmail using a compiler that claims to be ANSI-compliant, but
is not really so, you might see an error like this:
ld: Undefined symbol
strtoul
If you do, your compiler is mildly broken. Fortunately, sendmail offers an easy solution.
Just edit your Build m4 file, and add a line such as the following:
APPENDDEF(`confENVDEF',`-DBROKEN_ANSI_LIBRARY=1')
Rebuild with the -c Build switch, and this problem will go away.
2.4.9 warning: & before array
On old Unix systems and those that run non-ANSI-compliant C-language compilers,
the following error might appear when compiling sendmail:
"daemon.c", line 678: warning: & before array or function: ignored
"daemon.c", line 678: warning: illegal pointer combination
These warnings are harmless and can be ignored.
2.4.10 Other Considerations
As you watch the output while sendmail builds, you might notice commands being
executed that you disagree with. Formatting of manuals, for example, might be a
step you would rather skip. For each such problem, review the information in this
and the next chapter. Correct your m4 build file and rerun Build, but this time add
the -c switch. That switch causes Build to clear out the obj directory, then create a
new Makefile with your new m4 build file settings:
# .


Pages:
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
dieta light życzenia śmieszne dowcipy katalog stron dakolen