[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem compiling 2.9.2 on BSD 386 1.1



I'm currently trying to compile version 2.9.2 of ircd on our BSD 386 1.1 
IRC box, and am hitting a few problems.

It's currently running version 2.8.19 of ircd, with no problems.  
However, it was compiled before I started in this department, and have no 
clue what kind of tweaking, if any, was required.

After running make from the root 2.9.2, it build the configure files 
fine.  I then doublecheck that the settings in config.h under BSD-386-1.1 
are okay, and type make again.  This is what I get:


$ cwis:~/irc2.9.2/BSD-386-1.1> make
Building ircd
make[1]: Entering directory `/usr/home/bates/irc2.9.2/BSD-386-1.1'
cc -g -O -DHAVE_CONFIG_H -I. -I../include -c ../ircd/channel.c
In file included from ../include/struct.h:29, from ../ircd/channel.c:39:
/usr/include/netinet/in.h:75: redefinition of `struct in_addr'
/usr/include/netinet/in.h:125: redefinition of `struct sockaddr_in'
/usr/include/netinet/in.h:140: redefinition of `struct ip_opts'
/usr/include/netinet/in.h:173: redefinition of `struct ip_mreq'
In file included from ../include/netdb.h:66, from ../include/struct.h:36, 
from .
./ircd/channel.c:39:
../include/bitypes.h:67: redefinition of `int8_t'
/usr/include/machine/types.h:59: here is the previous declaration of 
`int8_t'
../include/bitypes.h:68: redefinition of `u_int8_t'
/usr/include/machine/types.h:60: here is the previous declaration of 
`u_int8_t'
../include/bitypes.h:69: redefinition of `int16_t'
/usr/include/machine/types.h:61: here is the previous declaration of 
`int16_t'
../include/bitypes.h:70: redefinition of `u_int16_t'
/usr/include/machine/types.h:62: here is the previous declaration of 
`u_int16_t'
../include/bitypes.h:71: redefinition of `int32_t'
/usr/include/machine/types.h:63: here is the previous declaration of 
`int32_t'
../include/bitypes.h:72: redefinition of `u_int32_t'
/usr/include/machine/types.h:64: here is the previous declaration of 
`u_int32_t'
make[1]: *** [channel.o] Error 1
make[1]: Leaving directory `/usr/home/bates/irc2.9.2/BSD-386-1.1'
Building irc
make[1]: Entering directory `/usr/home/bates/irc2.9.2/BSD-386-1.1'
cc -g -O -DHAVE_CONFIG_H -I. -I../include -DCLIENT_COMPILE -c 
../irc/c_bsd.c
/usr/include/curses.h:47: warning: TRUE redefined
In file included from ../include/struct.h:29, from ../irc/c_bsd.c:24:
/usr/include/netinet/in.h:75: redefinition of `struct in_addr'
/usr/include/netinet/in.h:125: redefinition of `struct sockaddr_in'
/usr/include/netinet/in.h:140: redefinition of `struct ip_opts'
/usr/include/netinet/in.h:173: redefinition of `struct ip_mreq'
In file included from ../include/netdb.h:66, from ../include/struct.h:36, 
from .
./irc/c_bsd.c:24:
../include/bitypes.h:67: redefinition of `int8_t'
/usr/include/machine/types.h:59: here is the previous declaration of 
`int8_t'
../include/bitypes.h:68: redefinition of `u_int8_t'
/usr/include/machine/types.h:60: here is the previous declaration of 
`u_int8_t'
../include/bitypes.h:69: redefinition of `int16_t'
/usr/include/machine/types.h:61: here is the previous declaration of 
`int16_t'
../include/bitypes.h:70: redefinition of `u_int16_t'
/usr/include/machine/types.h:62: here is the previous declaration of 
`u_int16_t'
../include/bitypes.h:71: redefinition of `int32_t'
/usr/include/machine/types.h:63: here is the previous declaration of 
`int32_t'
../include/bitypes.h:72: redefinition of `u_int32_t'
/usr/include/machine/types.h:64: here is the previous declaration of 
`u_int32_t'
make[1]: *** [c_bsd.o] Error 1
make[1]: Leaving directory `/usr/home/bates/irc2.9.2/BSD-386-1.1'
make: *** [build] Error 2
$ cwis:~/irc2.9.2/BSD-386-1.1>


----

And that's all she wrote! =:)  

If anyone has any hints on how to get this to compile, I'd REALLY 
appreciate it...

Thanks!

Thomas
  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thomas Bates                             bates@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Database/UNIX Administration http://pvax2.dist.maricopa.edu/~bates/index.html
        Maricopa County Community College District - Tempe, Arizona
   "Don't let your mind wander -- it's too little to be let out alone."