Solutions to Perl script errors during carbide Compilation

Source: Internet
Author: User
Tags perl script

I also saw it in another blog, but I cannot find it on the Internet now. Fortunately, I recorded it:

 

If you use Carbide to compile any project, the following error occurs:
=== Build command =/C abld build winscw udeb-V ====
C:/Windows/system32/cmd.exe/C abld build winscw udeb-V
Make-r-F "/Symbian/9.1/s60_3rd_mr/epoc32/build/Symbian/carbide/workspace/testlistbox/group/export. Make" Export
Nothing to do
Make-r-F "/Symbian/9.1/s60_3rd_mr/epoc32/build/Symbian/carbide/workspace/testlistbox/group/winscw. Make" makefile
Bareword found where operator expected at C:/Symbian/9.1/s60_3rd_mr/epoc32/tools/perllib/Params. PM line 461, near "New cparamitem"
(Do You Need To predeclare new ?)
Bareword found where operator expected at C:/Symbian/9.1/s60_3rd_mr/epoc32/tools/perllib/Params. PM line 466, near "New cparamitem"
(Do You Need To predeclare new ?)
Syntax error at C:/Symbian/9.1/s60_3rd_mr/epoc32/tools/perllib/Params. PM line 461, near "New cparamitem"
Syntax error at C:/Symbian/9.1/s60_3rd_mr/epoc32/tools/perllib/Params. PM line 466, near "New cparamitem"
Compilation failed in require at C:/Symbian/9.1/s60_3rd_mr/epoc32/tools/perllib/args. PM line 19.
Begin failed -- Compilation aborted at C:/Symbian/9.1/s60_3rd_mr/epoc32/tools/perllib/args. PM line 19.
Compilation failed in require at C:/Symbian/9.1/s60_3rd_mr/epoc32/tools/cshlpcmp. pl line 58.
Begin failed -- Compilation aborted at C:/Symbian/9.1/s60_3rd_mr/epoc32/tools/cshlpcmp. pl line 58.
Make [1]: *** [makmake] Error 255
Make: *** [makefilebuild_help] Error 2

There are two solutions:

1. Install ActivePerl 5.6.1. The above problems may occur during Perl compilation in later versions.

2. edit a file
/Devices/s60_3rd_fp2_sdk/epoc32/tools/perllib/Params. PM
And files
/Devices/s60_3rd_fp2_sdk/epoc32/tools/perllib/args. PM
After the use statements that start with them, add:
# Add to Params. PM
Sub cparamitem: new;
Sub cparamsentry: new;

# Add to args. PM
Sub cargsspec: new;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.