About Error of Code Generation

Hi, there!

I got a PhAB error.
The error is following:

Error Message says:
—Generate Code: Unable to generate prototype file ‘proto.h’(95%)

And a dialog box says:
—Command ‘make proto>/dev/null’ failed

So I set a thing at menu of PhAB:

—Application-Setup Info/Modules-Generate empty “proto.h” file(Active-green
color)

I excuted “Generate Code” again.
“Generation Completed” message displayed.

But, when I excute “Make”, the following message showed:

—Makefile:1:abplatform
—make:***No rule to make target ‘abplatform’

I am forwarding your reply.
Thanx…

de ppojung
(ppojung@yahoo.co.kr)

Kyujung Choi wrote:

Hi, there!

I got a PhAB error.
The error is following:

Error Message says:
—Generate Code: Unable to generate prototype file ‘proto.h’(95%)

And a dialog box says:
—Command ‘make proto>/dev/null’ failed

So I set a thing at menu of PhAB:

—Application-Setup Info/Modules-Generate empty “proto.h” file(Active-green
color)

I excuted “Generate Code” again.
“Generation Completed” message displayed.

But, when I excute “Make”, the following message showed:

—Makefile:1:abplatform
—make:***No rule to make target ‘abplatform’

I am forwarding your reply.
Thanx…

de ppojung
(> ppojung@yahoo.co.kr> )

I suggest that you look at makefiles in YourApplication/src/Makefile and
YourApplication/src/default/Makefile if you use default platform.

There is option for “proto” in those Makefiles.

You may need to set Build Preferences, select “gmake”.

It should be easy for you to correct the above problems


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: wbtong@aquilamsl.com