[IRCServices] Compile errors Freebsd 5.1

Jeffery Kam jskam at shaw.ca
Tue Jul 22 18:05:59 PDT 2003


../../extern.h:146: warning: conflicting types for built-in function
`log'
gcc -O2 -Wall -Wmissing-prototypes -g -I../.. -c halfop.c -o halfop.o
In file included from ../../services.h:103,
                 from halfop.c:10:
../../extern.h:146: warning: conflicting types for built-in function
`log'
gcc -shared monkey.o halfop.o sjoin.o -o monkey.so
gcc -O2 -Wall -Wmissing-prototypes -g -I../.. -c rfc1459.c -o rfc1459.o
In file included from ../../services.h:103,
                 from rfc1459.c:10:
../../extern.h:146: warning: conflicting types for built-in function
`log'
gcc -shared rfc1459.o -o rfc1459.so
gcc -O2 -Wall -Wmissing-prototypes -g -I../.. -c trircd.c -o trircd.o
In file included from ../../services.h:103,
                 from trircd.c:11:
../../extern.h:146: warning: conflicting types for built-in function
`log'
trircd.c: In function `do_send_nick':
trircd.c:480: warning: long int format, time_t arg (arg 4)
trircd.c: In function `do_send_nickchange':
trircd.c:489: warning: long int format, time_t arg (arg 4)
trircd.c: In function `do_send_server':
trircd.c:512: warning: long int format, time_t arg (arg 3)
trircd.c: In function `do_set_topic':
trircd.c:684: warning: long unsigned int format, time_t arg (arg 5)
trircd.c: In function `do_send_akill':
trircd.c:712: warning: long int format, int arg (arg 5)
trircd.c:712: warning: long int format, time_t arg (arg 7)
trircd.c: In function `do_send_exclude':
trircd.c:733: warning: long int format, int arg (arg 5)
trircd.c:733: warning: long int format, time_t arg (arg 7)

This goes on for every file that it compiles and causes severe
complications when starting.

Darkj