Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Help needed in make file


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

make -f $ORACLE_HOME/precomp/demo/proc/ 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.

Old 10-05-2007, 11:03 AM   #2
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,779

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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:
find top-of-directory-tree -type f -name object.o



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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 PM.

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