On Mon, Aug 21, 2006 at 10:16:06AM -0400, Camp, Neil D. (ManTech) CTR wrote:
I am getting the following error trying to compile 4.2.0 on HP-UX 11.11
using gcc 4.1.1
gcc -g -O -D_REENTRANT -DHPUX -I. -I/home/campnd/hobbit-4.2.0/include
-I/usr/local/pa20_32/include -DBBGEN_SSL -I/usr/include -c -o
bbtest-net.o bbtest-net.c
bbtest-net.c: In function 'send_rpcinfo_results':
bbtest-net.c:1830: warning: assignment makes pointer from integer
without a cast
bbtest-net.c:1837: error: dereferencing pointer to incomplete type
bbtest-net.c:1849: error: dereferencing pointer to incomplete type
bbtest-net.c:1854: error: dereferencing pointer to incomplete type
gmake[1]: *** [bbtest-net.o] Error 1
gmake[1]: Leaving directory `/home/campnd/hobbit-4.2.0/bbnet'
gmake: *** [bbnet-build] Error 2
Change the hobbit-4.2.0/Makefile - at the bottom after the line
# Add local CFLAGS etc. settings here
you just add this line:
CFLAGS += -DBROKEN_HPUX_NETDB
Regards,
Henrik