On Wednesday 14 June 2006 22:47, Ryan Novosielski wrote:
> Hello all,
>
> I've been trying to compile 1.38.10 for my new test system. However,
> this doesn't build on this arch. I tried originally with the HP-UX AnsiC
> compilers and received some obvious incompatibility related errors, but
> using gcc/g++, I got the following:
>
> gmake[1]: Entering directory `/opt/src/bacula-1.38.10/src/filed'
> /usr/local/bin/g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 filed.c
>
>
> # In file included from ../lib/lib.h:58,
> from ../bacula.h:125,
> from filed.c:24:
> ../lib/address_conf.h:43: error: field `dontuse6' has incomplete type
> gmake[1]: *** [filed.o] Error 1
> gmake[1]: Leaving directory `/opt/src/bacula-1.38.10/src/filed'
>
>
> ====== Error in /opt/src/bacula-1.38.10/src/filed ======
>
> ...any recommendations? Thanks in advance for your help.
It looks to me like a configuration problem. I'm not sure there is correct
code to properly detect HP systems, so this is most likely something you need
to add. There is a small section in the Developer's guide on porting to new
systems.
Concerning the specific error, it looks like you have IPv6 on your system but
that not all the proper header files are pulled in (probably different
names), or not all the standard structures are defined. You might try
manually commenting out the HAVE_IPV6 tag in src/config.h. Note, config.h is
re-created every time you run ./configure.
--
Best regards,
Kern
(">
/\
V_V
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users