[cvsnt] build error on HP-UX

MLangas at deltadentalmn.org MLangas at deltadentalmn.org
Fri Jun 25 16:23:18 BST 2004


I'm trying to compile cvsnt on an HP-UX 11i server. (HPPA 2.0)

I'm getting the following error in the lockservice subdir.

$ make
source='server.cpp' object='server.o' libtool=no \
depfile='.deps/server.Po' tmpdepfile='.deps/server.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src  -I../lib    -g -O2 -c -o 
server.o `test -f 'server.cpp' || echo './'`server.cpp
server.cpp: In function `void run_server(int, int, int)':
server.cpp:193: error: invalid conversion from `socklen_t*' to `int*'
server.cpp:193: error:   initializing argument 3 of `int accept(int, 
void*, int*)'
make: *** [server.o] Error 1

I'm an admin not a developer so I could use a little advice on how to work 
this out.
I'm using       gcc 3.4.0
                binutils 2.15
                make 3.80
                autoconf 2.59

If you need any more specifics about my build environment I will be happy 
to provide them.

Thanks in advance for any assistance you can provide.

Mike


More information about the cvsnt mailing list