I am facing issues when trying to install irrd2.3.9. The server is not connected to internet so i am instlling from source.
This is what i get when i run make.
Server details are as given below
Can someone please point out the mistaking i am making ? Please let me know if more information is required.
This is what i get when i run make.
Code:
server# make
Making lib
cd config; make
gcc -g -O2 -Wall -D_THREAD_SAFE -pthread -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DFUNCPROTO -I../../include -c config_file.c
a - config_file.o
cd mrt; make
gcc -g -O2 -Wall -D_THREAD_SAFE -pthread -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DFUNCPROTO -I../../include -c util.c
a - util.o
gcc -g -O2 -Wall -D_THREAD_SAFE -pthread -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DFUNCPROTO -I../../include -c prefix.c
prefix.c:20: error: conflicting types for 'gethostbyname_r'
/usr/include/netdb.h:228: error: previous declaration of 'gethostbyname_r' was here
prefix.c:20: error: conflicting types for 'gethostbyname_r'
/usr/include/netdb.h:228: error: previous declaration of 'gethostbyname_r' was here
prefix.c:22: error: conflicting types for 'gethostbyaddr_r'
/usr/include/netdb.h:225: error: previous declaration of 'gethostbyaddr_r' was here
prefix.c:22: error: conflicting types for 'gethostbyaddr_r'
/usr/include/netdb.h:225: error: previous declaration of 'gethostbyaddr_r' was here
*** Error code 1
Stop in /usr/home/infosys/irrd2.3.9/src/lib/mrt.
*** Error code 1
Stop in /usr/home/infosys/irrd2.3.9/src/lib.
*** Error code 1
Stop in /usr/home/infosys/irrd2.3.9/src.
*** Error code 1
Stop in /usr/home/infosys/irrd2.3.9/src.
----
Server details are as given below
Code:
FreeBSD server 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
[email]root@dessler.cse.buffalo.edu[/email]:/usr/obj/usr/src/sys/SMP i386