<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Big Brother errors during make.... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/big-brother-errors-during-make/m-p/3051240#M136591</link>
    <description>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.&lt;BR /&gt;&lt;BR /&gt;I got the following errors while running make during installation of the big brother server.  Can anyone tell me what may have happened?&lt;BR /&gt;&lt;BR /&gt;==============================================&lt;BR /&gt;&lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bb.c                          &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbsend.c                      &lt;BR /&gt;cc: "bbsend.c", line 164: warning 604: Pointers are not assignment-compatible. &lt;BR /&gt;cc: "bbsend.c", line 164: warning 563: Argument #2 is not the correct type.    &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c utils.c                       &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bb bb.o bbsend.o utils.o      &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c dohostsvc.c                   &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbd.c                         &lt;BR /&gt;cc: "bbd.c", line 125: warning 604: Pointers are not assignment-compatible.    &lt;BR /&gt;cc: "bbd.c", line 125: warning 563: Argument #2 is not the correct type.       &lt;BR /&gt;cc: "bbd.c", line 1031: warning 604: Pointers are not assignment-compatible.   &lt;BR /&gt;cc: "bbd.c", line 1031: warning 563: Argument #2 is not the correct type.      &lt;BR /&gt;cc: "bbd.c", line 1062: warning 604: Pointers are not assignment-compatible.   &lt;BR /&gt;cc: "bbd.c", line 1062: warning 563: Argument #2 is not the correct type.      &lt;BR /&gt;cc: "bbd.c", line 1125: warning 604: Pointers are not assignment-compatible.   &lt;BR /&gt;cc: "bbd.c", line 1125: warning 563: Argument #2 is not the correct type.      &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbpage.c                      &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbd bbd.o dohostsvc.o bbpage.o&lt;BR /&gt;bbsend.o utils.o                                                               &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbnet.c                       &lt;BR /&gt;cc: "bbnet.c", line 327: warning 604: Pointers are not assignment-compatible.  &lt;BR /&gt;cc: "bbnet.c", line 327: warning 563: Argument #2 is not the correct type.     &lt;BR /&gt;cc: "bbnet.c", line 416: warning 604: Pointers are not assignment-compatible.  &lt;BR /&gt;cc: "bbnet.c", line 416: warning 563: Argument #2 is not the correct type.      &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbnet bbnet.o utils.o          &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c touchtime.c                    &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o touchtime touchtime.o          &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c dumphostsvc.c                  &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o dumphostsvc dumphostsvc.o dohos&lt;BR /&gt;tsvc.o utils.o                                                                  &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c getipaddr.c                    &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o getipaddr getipaddr.o utils.o  &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbstat.c                       &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbstat bbstat.o                &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbrun.c                        &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbrun bbrun.o utils.o   &lt;BR /&gt;&lt;BR /&gt;==============================================&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Mon, 18 Aug 2003 18:22:55 GMT</pubDate>
    <dc:creator>MAD_2</dc:creator>
    <dc:date>2003-08-18T18:22:55Z</dc:date>
    <item>
      <title>Big Brother errors during make....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/big-brother-errors-during-make/m-p/3051240#M136591</link>
      <description>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.&lt;BR /&gt;&lt;BR /&gt;I got the following errors while running make during installation of the big brother server.  Can anyone tell me what may have happened?&lt;BR /&gt;&lt;BR /&gt;==============================================&lt;BR /&gt;&lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bb.c                          &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbsend.c                      &lt;BR /&gt;cc: "bbsend.c", line 164: warning 604: Pointers are not assignment-compatible. &lt;BR /&gt;cc: "bbsend.c", line 164: warning 563: Argument #2 is not the correct type.    &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c utils.c                       &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bb bb.o bbsend.o utils.o      &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c dohostsvc.c                   &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbd.c                         &lt;BR /&gt;cc: "bbd.c", line 125: warning 604: Pointers are not assignment-compatible.    &lt;BR /&gt;cc: "bbd.c", line 125: warning 563: Argument #2 is not the correct type.       &lt;BR /&gt;cc: "bbd.c", line 1031: warning 604: Pointers are not assignment-compatible.   &lt;BR /&gt;cc: "bbd.c", line 1031: warning 563: Argument #2 is not the correct type.      &lt;BR /&gt;cc: "bbd.c", line 1062: warning 604: Pointers are not assignment-compatible.   &lt;BR /&gt;cc: "bbd.c", line 1062: warning 563: Argument #2 is not the correct type.      &lt;BR /&gt;cc: "bbd.c", line 1125: warning 604: Pointers are not assignment-compatible.   &lt;BR /&gt;cc: "bbd.c", line 1125: warning 563: Argument #2 is not the correct type.      &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbpage.c                      &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbd bbd.o dohostsvc.o bbpage.o&lt;BR /&gt;bbsend.o utils.o                                                               &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbnet.c                       &lt;BR /&gt;cc: "bbnet.c", line 327: warning 604: Pointers are not assignment-compatible.  &lt;BR /&gt;cc: "bbnet.c", line 327: warning 563: Argument #2 is not the correct type.     &lt;BR /&gt;cc: "bbnet.c", line 416: warning 604: Pointers are not assignment-compatible.  &lt;BR /&gt;cc: "bbnet.c", line 416: warning 563: Argument #2 is not the correct type.      &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbnet bbnet.o utils.o          &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c touchtime.c                    &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o touchtime touchtime.o          &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c dumphostsvc.c                  &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o dumphostsvc dumphostsvc.o dohos&lt;BR /&gt;tsvc.o utils.o                                                                  &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c getipaddr.c                    &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o getipaddr getipaddr.o utils.o  &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbstat.c                       &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbstat bbstat.o                &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -c bbrun.c                        &lt;BR /&gt;        cc -O -DHPUX -DREGEXEC -DGETTIMEOFDAY -o bbrun bbrun.o utils.o   &lt;BR /&gt;&lt;BR /&gt;==============================================&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 18 Aug 2003 18:22:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/big-brother-errors-during-make/m-p/3051240#M136591</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2003-08-18T18:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Big Brother errors during make....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/big-brother-errors-during-make/m-p/3051241#M136592</link>
      <description>It means that the code devepopers were a bit sloppy. Most of the time these warnings can be safely ignored.&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;The write system call is prototyped like this (from memory so you should man 2 write to be sure)&lt;BR /&gt;&lt;BR /&gt;ssize_t write(int fildes, const void *buf, size_t nbytes)&lt;BR /&gt;&lt;BR /&gt;Now suppose that we actually invoked write using buf as an array of characaters&lt;BR /&gt;&lt;BR /&gt;char buf[1024]&lt;BR /&gt;n = write(fdes,buf,80);&lt;BR /&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;n = write(fdes,(void *) buf,80);&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 18:37:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/big-brother-errors-during-make/m-p/3051241#M136592</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-08-18T18:37:29Z</dc:date>
    </item>
  </channel>
</rss>

