- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compiling Make errors on HP-UX 11.0 zabbix
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
05-07-2004 06:02 AM
05-07-2004 06:02 AM
Compiling Make errors on HP-UX 11.0 zabbix
Making all in src/zabbix_agent
Make: line 5: syntax error. Stop.
*** Error exit code 1
Stop.
I belive I am looking at the right Makefile it is compltaining about and run the cc commands by themselves and it works... so is it a problem with HP-UX make? is this common? I haven't did any building on my 11.0 yet so not sure if this is a common issue.
sample make
# Build rules
all:
cc -o ../../bin/zabbix_agent -g -I../../include zabbix_agent.c sysinfo.
c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include
/snprintf.c -Wall -lnsl
cc -o ../../bin/zabbix_agentd -g -I../../include zabbix_agentd.c sysinfo.c stats.c interfaces.c diskdevices.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c -Wall -lnsl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 06:18 AM
05-07-2004 06:18 AM
Re: Compiling Make errors on HP-UX 11.0 zabbix
Make is about the only utility that is very sensitive to tabs as opposed to simply white space of any kind:
This is what your rules need to look like:
$(PROG) : $(OBJECTS} $(LIBS)
the leading tabs are essential so make sure your makefile conforms to this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 06:23 AM
05-07-2004 06:23 AM
Re: Compiling Make errors on HP-UX 11.0 zabbix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 06:24 AM
05-07-2004 06:24 AM
Re: Compiling Make errors on HP-UX 11.0 zabbix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 06:25 AM
05-07-2004 06:25 AM