oliverbeat
Technical User
Hi guys,
I am trying to install Big Brother monitoring (bb4.com) but the make command failed and I am bad on C so if someone can tell me what is wrong ? Please I am tired to try and fix this product ...
Thanks in advance for your HELP please I need your help!!
This is what I have installed on my server:
$ rpm -qa
expat-1.95.7-1
expat-devel-1.95.7-1
libghttp-1.0.9-1
libghttp-devel-1.0.9-1
apache-devel-1.3.31-1
apache-1.3.31-1
gcc-3.3.2-5
libgcc-3.3.2-5
libstdc++-3.3.2-5
libstdc++-devel-3.3.2-5
gcc-c++-3.3.2-5
I don't have C Compiler so I used gcc and create a link on cc:
$ which gcc
/usr/bin/gcc
$ which cc
/usr/bin/cc
$ ls -ltr /usr/bin/cc
lrwxrwxrwx 1 root system 12 Aug 26 15:43 /usr/bin/cc -> /usr/bin/gcc
Now I follow the procedure of install, and when we must run make as the user bb (I tried with root), below the outpu errors:
bb@:/home/bb/bb1.9h-btf/src/ $ make
Making aix makefile
BBOS="aix" CC="cc" CFLAGS=" -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY" make -e bball
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bb.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbsend.c
bbsend.c: In function `bbsend_timeout':
bbsend.c:34: warning: assignment makes pointer from integer without a cast
bbsend.c: In function `bbsend':
bbsend.c:151: warning: assignment makes pointer from integer without a cast
bbsend.c:208: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c utils.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bb bb.o bbsend.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c dohostsvc.c
dohostsvc.c: In function `dohostsvc':
dohostsvc.c:402: warning: assignment makes pointer from integer without a cast
dohostsvc.c:405: warning: assignment makes pointer from integer without a cast
dohostsvc.c:408: warning: assignment makes pointer from integer without a cast
dohostsvc.c:411: warning: assignment makes pointer from integer without a cast
dohostsvc.c:414: warning: assignment makes pointer from integer without a cast
dohostsvc.c:418: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbd.c
bbd.c: In function `enable_disable':
bbd.c:260: warning: assignment makes pointer from integer without a cast
bbd.c:274: warning: assignment makes pointer from integer without a cast
bbd.c:283: warning: assignment makes pointer from integer without a cast
bbd.c:352: warning: assignment makes pointer from integer without a cast
bbd.c:363: warning: assignment makes pointer from integer without a cast
bbd.c: In function `main':
bbd.c:1109: warning: passing arg 3 of `naccept' from incompatible pointer type
bbd.c:1148:8: warning: extra tokens at end of #endif directive
bbd.c:1180:8: warning: extra tokens at end of #endif directive
bbd.c: In function `getsecurity':
bbd.c:2154: warning: assignment makes pointer from integer without a cast
bbd.c: In function `dosecdb':
bbd.c:2358: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbpage.c
bbpage.c: In function `save_notif':
bbpage.c:544: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_mail':
bbpage.c:629: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_alpha':
bbpage.c:797: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_qpage':
bbpage.c:853: warning: assignment makes pointer from integer without a cast
bbpage.c:862: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_sendpage':
bbpage.c:921: warning: assignment makes pointer from integer without a cast
bbpage.c:930: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `bb_page':
bbpage.c:1495: warning: assignment makes pointer from integer without a cast
bbpage.c:1514: warning: assignment makes pointer from integer without a cast
bbpage.c:1723: warning: assignment makes pointer from integer without a cast
bbpage.c:1870: warning: assignment makes pointer from integer without a cast
bbpage.c:1873: warning: assignment makes pointer from integer without a cast
bbpage.c:1876: warning: assignment makes pointer from integer without a cast
bbpage.c:1879: warning: assignment makes pointer from integer without a cast
bbpage.c:1882: warning: assignment makes pointer from integer without a cast
bbpage.c:1885: warning: assignment makes pointer from integer without a cast
bbpage.c:1888: warning: assignment makes pointer from integer without a cast
bbpage.c:1911: warning: assignment makes pointer from integer without a cast
bbpage.c:1934: warning: assignment makes pointer from integer without a cast
bbpage.c:1962: warning: assignment makes pointer from integer without a cast
bbpage.c:2035: warning: assignment makes pointer from integer without a cast
bbpage.c:2057: warning: assignment makes pointer from integer without a cast
bbpage.c:2088: warning: assignment makes pointer from integer without a cast
bbpage.c:2099: warning: assignment makes pointer from integer without a cast
bbpage.c:2135: warning: assignment makes pointer from integer without a cast
bbpage.c:2170: warning: assignment makes pointer from integer without a cast
bbpage.c:2181: warning: assignment makes pointer from integer without a cast
bbpage.c:2246: warning: assignment makes pointer from integer without a cast
bbpage.c:2256: warning: assignment makes pointer from integer without a cast
bbpage.c:2268: warning: assignment makes pointer from integer without a cast
bbpage.c:2343: warning: assignment makes pointer from integer without a cast
bbpage.c:2368: warning: assignment makes pointer from integer without a cast
bbpage.c:2439: warning: assignment makes pointer from integer without a cast
bbpage.c:2495: warning: assignment makes pointer from integer without a cast
bbpage.c:2524: warning: assignment makes pointer from integer without a cast
bbpage.c:2583: warning: assignment makes pointer from integer without a cast
bbpage.c:2669: warning: assignment makes pointer from integer without a cast
bbpage.c:2697: warning: assignment makes pointer from integer without a cast
bbpage.c:2721: warning: assignment makes pointer from integer without a cast
bbpage.c:3076: warning: assignment makes pointer from integer without a cast
bbpage.c:3085: warning: assignment makes pointer from integer without a cast
bbpage.c:3148: warning: assignment makes pointer from integer without a cast
bbpage.c:3153: warning: assignment makes pointer from integer without a cast
bbpage.c:3158: warning: assignment makes pointer from integer without a cast
bbpage.c:3163: warning: assignment makes pointer from integer without a cast
bbpage.c:3168: warning: assignment makes pointer from integer without a cast
bbpage.c:3454: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `bb_doack':
bbpage.c:3670: warning: assignment makes pointer from integer without a cast
bbpage.c:3788: warning: assignment makes pointer from integer without a cast
bbpage.c:4058: warning: assignment makes pointer from integer without a cast
bbpage.c:4075: warning: assignment makes pointer from integer without a cast
bbpage.c:4093: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbd bbd.o dohostsvc.o bbpage.o bbsend.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbnet.c
bbnet.c: In function `setup':
bbnet.c:277: warning: assignment makes pointer from integer without a cast
bbnet.c: In function `bnetsend':
bbnet.c:359: warning: assignment makes pointer from integer without a cast
bbnet.c: In function `timeout':
bbnet.c:567: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbnet bbnet.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c touchtime.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/touchtime touchtime.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c dumphostsvc.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/dumphostsvc dumphostsvc.o dohostsvc.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c getipaddr.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/getipaddr getipaddr.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbstat.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbstat bbstat.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbrun.c
bbrun.c: In function `main':
bbrun.c:84: warning: assignment makes pointer from integer without a cast
bbrun.c:95: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbrun bbrun.o utils.o
Target "bball" is up to date.
I am trying to install Big Brother monitoring (bb4.com) but the make command failed and I am bad on C so if someone can tell me what is wrong ? Please I am tired to try and fix this product ...
Thanks in advance for your HELP please I need your help!!
This is what I have installed on my server:
$ rpm -qa
expat-1.95.7-1
expat-devel-1.95.7-1
libghttp-1.0.9-1
libghttp-devel-1.0.9-1
apache-devel-1.3.31-1
apache-1.3.31-1
gcc-3.3.2-5
libgcc-3.3.2-5
libstdc++-3.3.2-5
libstdc++-devel-3.3.2-5
gcc-c++-3.3.2-5
I don't have C Compiler so I used gcc and create a link on cc:
$ which gcc
/usr/bin/gcc
$ which cc
/usr/bin/cc
$ ls -ltr /usr/bin/cc
lrwxrwxrwx 1 root system 12 Aug 26 15:43 /usr/bin/cc -> /usr/bin/gcc
Now I follow the procedure of install, and when we must run make as the user bb (I tried with root), below the outpu errors:
bb@:/home/bb/bb1.9h-btf/src/ $ make
Making aix makefile
BBOS="aix" CC="cc" CFLAGS=" -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY" make -e bball
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bb.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbsend.c
bbsend.c: In function `bbsend_timeout':
bbsend.c:34: warning: assignment makes pointer from integer without a cast
bbsend.c: In function `bbsend':
bbsend.c:151: warning: assignment makes pointer from integer without a cast
bbsend.c:208: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c utils.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bb bb.o bbsend.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c dohostsvc.c
dohostsvc.c: In function `dohostsvc':
dohostsvc.c:402: warning: assignment makes pointer from integer without a cast
dohostsvc.c:405: warning: assignment makes pointer from integer without a cast
dohostsvc.c:408: warning: assignment makes pointer from integer without a cast
dohostsvc.c:411: warning: assignment makes pointer from integer without a cast
dohostsvc.c:414: warning: assignment makes pointer from integer without a cast
dohostsvc.c:418: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbd.c
bbd.c: In function `enable_disable':
bbd.c:260: warning: assignment makes pointer from integer without a cast
bbd.c:274: warning: assignment makes pointer from integer without a cast
bbd.c:283: warning: assignment makes pointer from integer without a cast
bbd.c:352: warning: assignment makes pointer from integer without a cast
bbd.c:363: warning: assignment makes pointer from integer without a cast
bbd.c: In function `main':
bbd.c:1109: warning: passing arg 3 of `naccept' from incompatible pointer type
bbd.c:1148:8: warning: extra tokens at end of #endif directive
bbd.c:1180:8: warning: extra tokens at end of #endif directive
bbd.c: In function `getsecurity':
bbd.c:2154: warning: assignment makes pointer from integer without a cast
bbd.c: In function `dosecdb':
bbd.c:2358: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbpage.c
bbpage.c: In function `save_notif':
bbpage.c:544: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_mail':
bbpage.c:629: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_alpha':
bbpage.c:797: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_qpage':
bbpage.c:853: warning: assignment makes pointer from integer without a cast
bbpage.c:862: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_sendpage':
bbpage.c:921: warning: assignment makes pointer from integer without a cast
bbpage.c:930: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `bb_page':
bbpage.c:1495: warning: assignment makes pointer from integer without a cast
bbpage.c:1514: warning: assignment makes pointer from integer without a cast
bbpage.c:1723: warning: assignment makes pointer from integer without a cast
bbpage.c:1870: warning: assignment makes pointer from integer without a cast
bbpage.c:1873: warning: assignment makes pointer from integer without a cast
bbpage.c:1876: warning: assignment makes pointer from integer without a cast
bbpage.c:1879: warning: assignment makes pointer from integer without a cast
bbpage.c:1882: warning: assignment makes pointer from integer without a cast
bbpage.c:1885: warning: assignment makes pointer from integer without a cast
bbpage.c:1888: warning: assignment makes pointer from integer without a cast
bbpage.c:1911: warning: assignment makes pointer from integer without a cast
bbpage.c:1934: warning: assignment makes pointer from integer without a cast
bbpage.c:1962: warning: assignment makes pointer from integer without a cast
bbpage.c:2035: warning: assignment makes pointer from integer without a cast
bbpage.c:2057: warning: assignment makes pointer from integer without a cast
bbpage.c:2088: warning: assignment makes pointer from integer without a cast
bbpage.c:2099: warning: assignment makes pointer from integer without a cast
bbpage.c:2135: warning: assignment makes pointer from integer without a cast
bbpage.c:2170: warning: assignment makes pointer from integer without a cast
bbpage.c:2181: warning: assignment makes pointer from integer without a cast
bbpage.c:2246: warning: assignment makes pointer from integer without a cast
bbpage.c:2256: warning: assignment makes pointer from integer without a cast
bbpage.c:2268: warning: assignment makes pointer from integer without a cast
bbpage.c:2343: warning: assignment makes pointer from integer without a cast
bbpage.c:2368: warning: assignment makes pointer from integer without a cast
bbpage.c:2439: warning: assignment makes pointer from integer without a cast
bbpage.c:2495: warning: assignment makes pointer from integer without a cast
bbpage.c:2524: warning: assignment makes pointer from integer without a cast
bbpage.c:2583: warning: assignment makes pointer from integer without a cast
bbpage.c:2669: warning: assignment makes pointer from integer without a cast
bbpage.c:2697: warning: assignment makes pointer from integer without a cast
bbpage.c:2721: warning: assignment makes pointer from integer without a cast
bbpage.c:3076: warning: assignment makes pointer from integer without a cast
bbpage.c:3085: warning: assignment makes pointer from integer without a cast
bbpage.c:3148: warning: assignment makes pointer from integer without a cast
bbpage.c:3153: warning: assignment makes pointer from integer without a cast
bbpage.c:3158: warning: assignment makes pointer from integer without a cast
bbpage.c:3163: warning: assignment makes pointer from integer without a cast
bbpage.c:3168: warning: assignment makes pointer from integer without a cast
bbpage.c:3454: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `bb_doack':
bbpage.c:3670: warning: assignment makes pointer from integer without a cast
bbpage.c:3788: warning: assignment makes pointer from integer without a cast
bbpage.c:4058: warning: assignment makes pointer from integer without a cast
bbpage.c:4075: warning: assignment makes pointer from integer without a cast
bbpage.c:4093: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbd bbd.o dohostsvc.o bbpage.o bbsend.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbnet.c
bbnet.c: In function `setup':
bbnet.c:277: warning: assignment makes pointer from integer without a cast
bbnet.c: In function `bnetsend':
bbnet.c:359: warning: assignment makes pointer from integer without a cast
bbnet.c: In function `timeout':
bbnet.c:567: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbnet bbnet.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c touchtime.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/touchtime touchtime.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c dumphostsvc.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/dumphostsvc dumphostsvc.o dohostsvc.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c getipaddr.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/getipaddr getipaddr.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbstat.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbstat bbstat.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbrun.c
bbrun.c: In function `main':
bbrun.c:84: warning: assignment makes pointer from integer without a cast
bbrun.c:95: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbrun bbrun.o utils.o
Target "bball" is up to date.