LinuxQuestions.org
Help answer threads with 0 replies.
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, 07: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, 10:03 AM   #2
rnturn
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,850

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
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 11:21 AM
make a .img file for custom liveCD, dd?? (Also, how to make your system very small) 1veedo Linux - Newbie 6 05-07-2006 05:52 PM
mrproper deletes file needed by make awolbush Mandriva 2 02-19-2006 12:23 PM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

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
Open Source Consulting | Domain Registration