Linux Reflector !

NEW KOK HONG (csi27920@wira1.cs.usm.my)
Wed, 16 Aug 1995 09:47:55 +0800 (MYT)


Does anyone facing compilation problems with the Linux 3.03b reflector!

I get the following warning when try to compile with the following flags!

CFLAGS = -g -DLINUX

Below is the list of warning I get :
******* Start **********socket.c: In function `init_socket':
socket.c:123: warning: passing arg 2 of `bind' from incompatible pointer type
socket.c:445: warning: passing arg 4 of `setsockopt' makes pointer from
integer
without a cast
socket.c: In function `receive':
socket.c:563: warning: passing arg 5 of `recvfrom' from incompatible
pointer typ
e
socket.c:578: warning: passing arg 5 of `recvfrom' from incompatible
pointer typ
e
socket.c:594: warning: passing arg 5 of `recvfrom' from incompatible
pointer typ
e
socket.c:609: warning: passing arg 5 of `recvfrom' from incompatible
pointer typ
e
socket.c:742: warning: passing arg 2 of `accept' from incompatible
pointer type
socket.c:765: warning: passing arg 4 of `setsockopt' makes pointer from
integer
without a cast
control.c: In function `write_clients':
control.c:187: warning: passing arg 1 of `strlen' makes pointer from
integer wit
hout a cast
control.c:305: warning: passing arg 1 of `strlen' makes pointer from
integer wit
hout a cast
control.c: In function `write_mclients':
control.c:381: warning: passing arg 1 of `strlen' makes pointer from
integer wit
hout a cast
control.c:421: warning: passing arg 1 of `strlen' makes pointer from
integer wit
hout a cast
control.c:422: warning: passing arg 1 of `strlen' makes pointer from
integer wit
hout a cast
refutil.c: In function `rf_mcast_wrt':
refutil.c:149: warning: passing arg 5 of `sendto' from incompatible
pointer type
refutil.c: In function `inout_mcast_wrt':
refutil.c:166: warning: passing arg 5 of `sendto' from incompatible
pointer type
distribute.c: In function `write_pkt':
distribute.c:126: warning: passing arg 5 of `sendto' from incompatible
pointer t
ype
distribute.c: In function `write_msg':
distribute.c:198: warning: passing arg 5 of `sendto' from incompatible
pointer t
ype
distribute.c: In function `distribute_audio':
distribute.c:458: warning: passing arg 5 of `sendto' from incompatible
pointer t
ype
distribute.c:477: warning: passing arg 5 of `sendto' from incompatible
pointer t
ype
distribute.c:489: warning: passing arg 5 of `sendto' from incompatible
pointer t
ype
distribute.c: In function `distribute_nv':
distribute.c:631: warning: passing arg 5 of `sendto' from incompatible
pointer t
ype
distribute.c:641: warning: passing arg 5 of `sendto' from incompatible
pointer t
ype
distribute.c:647: warning: passing arg 5 of `sendto' from incompatible
pointer t
ype
mbone.c: In function `mbone_pkt':
mbone.c:357: warning: passing arg 5 of `sendto' from incompatible pointer
type
mbone.c:401: warning: passing arg 5 of `sendto' from incompatible pointer
type
mbone.c: In function `send_vat_ocp':
mbone.c:677: warning: passing arg 5 of `sendto' from incompatible pointer
type
mbone.c: In function `vat_id':
mbone.c:870: warning: passing arg 5 of `sendto' from incompatible pointer
type
mbone.c: In function `send_vat_idlist':
mbone.c:1020: warning: passing arg 5 of `sendto' from incompatible
pointer type
mbone.c:1151: warning: passing arg 5 of `sendto' from incompatible
pointer type
mbone.c: In function `send_nv_ocp':
mbone.c:1250: warning: passing arg 5 of `sendto' from incompatible
pointer type
mbone.c: In function `nv_wrt':
mbone.c:1367: warning: passing arg 5 of `sendto' from incompatible
pointer type
mbone.c:1375: warning: passing arg 5 of `sendto' from incompatible
pointer type
mbone.c:1379: warning: passing arg 5 of `sendto' from incompatible
pointer type
mbone.c: In function `RTPTime':
mbone.c:1388: warning: decimal constant is so large that it is unsigned
refmon.c: In function `main':
refmon.c:91: warning: passing arg 2 of `connect' from incompatible
pointer type
*********** End ************************

Any idea how to compile it without the warning message! I suspect that
this warning is the cause of the problems when connecting NV through the
reflector!

New Kok Hong
http://network2.cs.usm.my/~khnew