LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2007, 08:00 AM   #1
harish_oty
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Help needed in make file


Hi,

I am trying to build with make command as follows:-

make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk PROCFLAGS="sqlcheck=semantic
s user=user1/pass1" OBJS="daemon.o" EXE=daemontest build LIBHOME="$ORACLE_HOME
/lib" PRODLIBHOME="$ORACLE_HOME/precomp/lib" CFLAGS="+DA2.0W +DS2.0" LFLAGS=

When I run this, I am getting the following error:-

make: *** No rule to make target `daemon.o', needed by `build'. Stop.
I have the .mk file in above specified folder.
Any help would be greatful.

TIA
Harish
 
Old 10-05-2007, 11:03 AM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,113

Rep: Reputation: 65
Quote:
Originally Posted by harish_oty View Post

[ snip ... ]

When I run this, I am getting the following error:-

make: *** No rule to make target `daemon.o', needed by `build'. Stop.
I have the .mk file in above specified folder.
The problem would seem to be that make cannot find the file "object.o" and the make file doesn't include a rule on how to create it. What I'd try is to search the directory tree for the file "object.o". If one exists, try re-issuing the "make" command after making the directory where "object.o" was found the current working directory. In other words:
Code:
find top-of-directory-tree -type f -name object.o

.
.
.

some-subdirectory/object.o
^C

cd some-subdirectory
make -f $ORACLE_HOME/ etc... etc...
Good luck...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make Trouble linking some fortran code Make file problem? any ideas? TheBrick Linux - General 0 05-17-2006 12:21 PM
make a .img file for custom liveCD, dd?? (Also, how to make your system very small) 1veedo Linux - Newbie 6 05-07-2006 06:52 PM
mrproper deletes file needed by make awolbush Mandriva 2 02-19-2006 01:23 PM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 08:55 PM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 04:08 PM


All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration