Compiling 7.4 Problems
C-S
9 November 2010, 07:17
Hi Hugo,
I tried to compile the new version on FreeBSD and keep getting the following error:
cc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/libxml2 -D_THREAD_SAFE -pthread -msse3 -mfpmath=sse -march=k8 -MT hiawatha-session.o -MD -MP -MF .deps/hiawatha-session.Tpo -c -o hiawatha-session.o `test -f 'session.c' || echo './'`session.c
session.c: In function 'remove_port_from_hostname':
session.c:451: error: 'AF_INET' undeclared (first use in this function)
session.c:451: error: (Each undeclared identifier is reported only once
session.c:451: error: for each function it appears in.)
session.c:460: error: 'AF_INET6' undeclared (first use in this function)
*** Error code 1
Any ideas?
Hugo Leisink
9 November 2010, 08:13
It looks like BSD required an extra include in session.c. I added it and updated the package. Redownload the tarball and it should work. Sorry for the inconvenence.
C-S
10 November 2010, 06:58
Thanks a lot Hugo. Compiling works now so that I can soon submit the new port.
Hugo Leisink
10 November 2010, 09:12
Thanks for maintaining the FreeBSD port.
This topic has been closed.