1748216 Members
3414 Online
108759 Solutions
New Discussion юеВ

compiling makefile

 
Henry Chua
Super Advisor

compiling makefile

Hi guys,

I want to compile some files but it gives this error message, wat do you think could be wrong??

dx158 122: make
Make: Don't know how to make /customer/default/sources/network/src/ne_msgs.C,v. Stop.

Best regards
Henry
5 REPLIES 5
Arunvijai_4
Honored Contributor

Re: compiling makefile

Try with gmake from http://hpux.connect.org.uk/hppd/hpux/Gnu/make-3.80/
HP-UX's default make sometimes doesnt understand the syntax of makefiles that meant for Gmake.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Ralph Grothe
Honored Contributor

Re: compiling makefile

The suffix .c,v indicates to me that the file make is trying to compile is actually an RCS repository.
Maybe just worth the try, if you first check it out and then run the make.

e.g.

cd /customer/default/sources/network/src
co ne_msgs.C
cd -
make


But generally "Don't know how to make..."
indicates that you invoked the make with an unknown make target.

Madness, thy name is system administration
Muthukumar_5
Honored Contributor

Re: compiling makefile

Surely, It is a problem with your makefile. If some source file is tried to compile with out any target then this error will come. Look at the makefile or post here.

hth.
Easy to suggest when don't know about the problem!
Vibhor Kumar Agarwal
Esteemed Contributor

Re: compiling makefile

By simply writing make its trying to run the first target.

While doing this it comes across that file. It has no clue how to build that one.

Check your dependencies, posting your makefile might help your cause.
Vibhor Kumar Agarwal
Al Langen_1
Advisor

Re: compiling makefile

Be aware that the default for make is normally Makefile and not makefile. Also running make with -P (upper case) will print the dependencies and you can verify it is doing what you want it to do.