[cvsnt] building cvsnt on HP-UX 11i

Richard Wirth r.wirth at wirthware.de
Fri Jun 25 21:25:50 BST 2004


Hello Mike,

Why du you post this a second time?

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

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

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

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

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

again my proposal (with the first patch in it :-)

change line 168 form
 #ifdef _WIN32
to
 #if defined(_WIN32) || defined(__hpux__)

than this schould compile (realy now)...

But may be this is not the only trap for HPUX.
So in case of additional errors, please do a "make -k" and post the
complete log.


-- 
Best regards,
 Richard                            mailto:r.wirth at wirthware.de




More information about the cvsnt mailing list