"A. C. Yardley" <[EMAIL PROTECTED]> writes:
> I'm trying to compile HTML-Parser-3.13 with Borland's bcc32 compiler
> (the same compiler with which I compiled the perl 5.6.0 source), but
> it dies with the following:
>
> bcc32 -c -v -D_RTLDLL -DDEBUGGING -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT
>-DPERL_IMPLICIT_SYS -v -D_RTLDLL -DDEBUGGING -DVERSION=\"3.13\"
>-DXS_VERSION=\"3.13\" -tWD -tWR -tWM -DSTANDARD_C=1
>-IC:\perl-5.6.0-bcc55\5.6.0\lib\MSWin32-x86-multi-thread\CORE -DMARKED_SECTION
>-DUNICODE_ENTITIES Parser.c
> Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
> Parser.c:
> Warning W8069 util.c 137: Nonportable pointer conversion in function decode_entities
> Error E2451 hparser.c 125: Undefined symbol 'level' in function report_event
> Error E2451 hparser.c 125: Undefined symbol 'curp' in function report_event
> Warning W8075 hparser.c 125: Suspicious pointer conversion in function report_event
> Error E2451 hparser.c 125: Undefined symbol 'level' in function report_event
> Error E2451 hparser.c 125: Undefined symbol 'curp' in function report_event
> Warning W8075 hparser.c 125: Suspicious pointer conversion in function report_event
> Error E2451 hparser.c 128: Undefined symbol 'level' in function report_event
> Error E2451 hparser.c 128: Undefined symbol 'curp' in function report_event
> Warning W8075 hparser.c 128: Suspicious pointer conversion in function report_event
> *** 6 errors in Compile ***
It means that putchar() expands to something bad in your setup. Try
to remove that section of code (the stuff inside if (0) { .... } in
report_evnet()) or make sure putchar() works.
Regards,
Gisle