- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- make command on HPUX 11.11
Operating System - Linux
1753482
Members
4030
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2006 01:18 AM
тАО07-13-2006 01:18 AM
Hi,
I am using make command on HPUX 11.11;i run it
with these argument:
make -f /home/oracle/sh.mk extproc_nocallback SHARED_LIBNAME=$ORACLE_HOME/lib/shell.so OBJS=shell.o
but i got this error:
Make: Must be a separator on rules line 4.Stop
This is my makefile:
$ cat sh.mk
#include
#include
#include
void sh(char *);
void sh(char *cmd)
{
int num;
num = system(cmd);
}
I already tried with tab space at the beginning of each command line and "\" at the end of each command line, but the error persist.
Do you have any suggestion?
Thanks a Lot,
Fabrizio
I am using make command on HPUX 11.11;i run it
with these argument:
make -f /home/oracle/sh.mk extproc_nocallback SHARED_LIBNAME=$ORACLE_HOME/lib/shell.so OBJS=shell.o
but i got this error:
Make: Must be a separator on rules line 4.Stop
This is my makefile:
$ cat sh.mk
#include
#include
#include
void sh(char *);
void sh(char *cmd)
{
int num;
num = system(cmd);
}
I already tried with tab space at the beginning of each command line and "\" at the end of each command line, but the error persist.
Do you have any suggestion?
Thanks a Lot,
Fabrizio
Solved! Go to Solution.
- Tags:
- make
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2006 01:51 AM
тАО07-13-2006 01:51 AM
Solution
Yes, I have a suggestion. Supply a real makefile rather than C source code. Your sh.mk is a C source file, (if not a very good one). A makefile consists of a number of dependency rules and then the instructions to act on these dependencies.
In your case, you should rename your sh.mk to sh.c and then:
cc -c sh.c
which should produce a sh.o object file.
In your case, you should rename your sh.mk to sh.c and then:
cc -c sh.c
which should produce a sh.o object file.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2006 02:09 AM
тАО07-13-2006 02:09 AM
Re: make command on HPUX 11.11
Hi Fabrizio,
"make" files are totally different from what a norml C Code looks like. It has its own literature and syntax. Check this for more information: http://www.mtsu.edu/~csdept/FacilitiesAndResources/make.htm
-Arun
"make" files are totally different from what a norml C Code looks like. It has its own literature and syntax. Check this for more information: http://www.mtsu.edu/~csdept/FacilitiesAndResources/make.htm
-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP