HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Big Brother errors during make....
Operating System - HP-UX
1832751
Members
2798
Online
110045
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
Forums
Discussions
Discussions
Discussions
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
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
08-18-2003 11:22 AM
08-18-2003 11:22 AM
First, I would like to know if I am posting this question in the correct place... Maybe I should go to networking instead, I am not sure.
I got the following errors while running make during installation of the big brother server. Can anyone tell me what may have happened?
==============================================
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bb.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbsend.c
cc: "bbsend.c", line 164: warning 604: Pointers are not assignment-compatible.
cc: "bbsend.c", line 164: warning 563: Argument #2 is not the correct type.
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c utils.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bb bb.o bbsend.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c dohostsvc.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbd.c
cc: "bbd.c", line 125: warning 604: Pointers are not assignment-compatible.
cc: "bbd.c", line 125: warning 563: Argument #2 is not the correct type.
cc: "bbd.c", line 1031: warning 604: Pointers are not assignment-compatible.
cc: "bbd.c", line 1031: warning 563: Argument #2 is not the correct type.
cc: "bbd.c", line 1062: warning 604: Pointers are not assignment-compatible.
cc: "bbd.c", line 1062: warning 563: Argument #2 is not the correct type.
cc: "bbd.c", line 1125: warning 604: Pointers are not assignment-compatible.
cc: "bbd.c", line 1125: warning 563: Argument #2 is not the correct type.
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbpage.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbd bbd.o dohostsvc.o bbpage.o
bbsend.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbnet.c
cc: "bbnet.c", line 327: warning 604: Pointers are not assignment-compatible.
cc: "bbnet.c", line 327: warning 563: Argument #2 is not the correct type.
cc: "bbnet.c", line 416: warning 604: Pointers are not assignment-compatible.
cc: "bbnet.c", line 416: warning 563: Argument #2 is not the correct type.
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbnet bbnet.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c touchtime.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o touchtime touchtime.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c dumphostsvc.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o dumphostsvc dumphostsvc.o dohos
tsvc.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c getipaddr.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o getipaddr getipaddr.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbstat.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbstat bbstat.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbrun.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbrun bbrun.o utils.o
==============================================
Thanks!
I got the following errors while running make during installation of the big brother server. Can anyone tell me what may have happened?
==============================================
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bb.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbsend.c
cc: "bbsend.c", line 164: warning 604: Pointers are not assignment-compatible.
cc: "bbsend.c", line 164: warning 563: Argument #2 is not the correct type.
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c utils.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bb bb.o bbsend.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c dohostsvc.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbd.c
cc: "bbd.c", line 125: warning 604: Pointers are not assignment-compatible.
cc: "bbd.c", line 125: warning 563: Argument #2 is not the correct type.
cc: "bbd.c", line 1031: warning 604: Pointers are not assignment-compatible.
cc: "bbd.c", line 1031: warning 563: Argument #2 is not the correct type.
cc: "bbd.c", line 1062: warning 604: Pointers are not assignment-compatible.
cc: "bbd.c", line 1062: warning 563: Argument #2 is not the correct type.
cc: "bbd.c", line 1125: warning 604: Pointers are not assignment-compatible.
cc: "bbd.c", line 1125: warning 563: Argument #2 is not the correct type.
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbpage.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbd bbd.o dohostsvc.o bbpage.o
bbsend.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbnet.c
cc: "bbnet.c", line 327: warning 604: Pointers are not assignment-compatible.
cc: "bbnet.c", line 327: warning 563: Argument #2 is not the correct type.
cc: "bbnet.c", line 416: warning 604: Pointers are not assignment-compatible.
cc: "bbnet.c", line 416: warning 563: Argument #2 is not the correct type.
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbnet bbnet.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c touchtime.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o touchtime touchtime.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c dumphostsvc.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o dumphostsvc dumphostsvc.o dohos
tsvc.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c getipaddr.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o getipaddr getipaddr.o utils.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbstat.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbstat bbstat.o
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbrun.c
cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbrun bbrun.o utils.o
==============================================
Thanks!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 11:37 AM
08-18-2003 11:37 AM
Solution
It means that the code devepopers were a bit sloppy. Most of the time these warnings can be safely ignored.
Without looking at the source code it's difficult to know but here's an example of the kinds of things that will do this:
The write system call is prototyped like this (from memory so you should man 2 write to be sure)
ssize_t write(int fildes, const void *buf, size_t nbytes)
Now suppose that we actually invoked write using buf as an array of characaters
char buf[1024]
n = write(fdes,buf,80);
That code would work perfectly well but would generate the same kind of warning you got because the "type" of the buf variable was incorrect (in language speak, the actual parameters did not agree in type with the formal parameters).
The "fix" is to tell the compiler that I know this isn't exactly what you expected but "trust me". That is done by "casting" the variable to the expected type:
n = write(fdes,(void *) buf,80);
Essentially, the developers were not rigorous enough about casting all the operands. You can PROBABLY run the code safely but every once in a while those pesky warnings are trying to tell you something important.
Without looking at the source code it's difficult to know but here's an example of the kinds of things that will do this:
The write system call is prototyped like this (from memory so you should man 2 write to be sure)
ssize_t write(int fildes, const void *buf, size_t nbytes)
Now suppose that we actually invoked write using buf as an array of characaters
char buf[1024]
n = write(fdes,buf,80);
That code would work perfectly well but would generate the same kind of warning you got because the "type" of the buf variable was incorrect (in language speak, the actual parameters did not agree in type with the formal parameters).
The "fix" is to tell the compiler that I know this isn't exactly what you expected but "trust me". That is done by "casting" the variable to the expected type:
n = write(fdes,(void *) buf,80);
Essentially, the developers were not rigorous enough about casting all the operands. You can PROBABLY run the code safely but every once in a while those pesky warnings are trying to tell you something important.
If it ain't broke, I can fix that.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP