Built nmh-1.0 under Digital UNIX 4.0D with DEC C (CFLAGS "-fast
-std"). It failed. The failure was due to the presence of call to modf
in the Apache snprintf routines. This program is in libm, which is not 
included in the link.

I appended "-lm" to the "LIBS = " line and it then built correctly.
snprintf is included in DU 4.0, but is (for reasons unclear to me)
only in libsecurity. Whether linking with libm or libsecurity is
preferable is not clear to me.

Also, I get a large number of warnings of a type mis-match between the
declaration of m_getfld and its invocation.
cc: Warning: spost.c, line 351: In this statement, the referenced type of the pointer 
value "name" is "char", which is not compatible with "unsigned char".
        switch (state = m_getfld (state, name, buf, sizeof(buf), in)) {
------------------------^
cc: Warning: spost.c, line 351: In this statement, the referenced type of the pointer 
value "buf" is "char", which is not compatible with "unsigned char".
        switch (state = m_getfld (state, name, buf, sizeof(buf), in)) {
------------------------^

These do not appear significant, but are annoying.

At this point, nmh-1.0 seems to have built OK. No run problems to this 
point.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]                  Phone: +1 510 486-8634

Reply via email to