On 17/07/2009, at 7:03 AM, Lim Hock-Chai wrote:

I'm trying to compile the XMLPARSE c module that I download from Scott
Klement's HTTPAPI application. I'm getting the CZM0205 below. Does
anyone know how I can get around that?


memmove() has been in OS/400 C since at least VRM440 and I think since VRM230. It's defined in STRING.H

memmove() is part of ANSI C however it seems some platforms do not supply memmove() and use a platform-specific alternative (e.g., bcopy(). You need to inform the pre-compiler that you have the memmove() function. Specify DEFINE(HAVE_MEMMOVE) on your compile command. ALso check that strings.h is being included.

I would expect Scott's instructions to handle this requirement. Check any text files for compile notes, or look for CL source that does the compile, or look for a TAILOR.H, CONFIG.H, or similar named file that contains platform-specific compile definitions.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].