[cvsnt] Error compiling CVSNT on F9 Linux

Quresh Abazur facade.oo at hotmail.com
Fri Oct 24 23:01:08 BST 2008


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,
    I just downloaded cvsnt source tarball (cvsnt-2.5.03.2382) & I am getting the following when I try to do "make" on my F9 box.

source='../mdns_mini.cpp' object='mdns_mini.lo' libtool=yes \
	depfile='.deps/mdns_mini.Plo' tmpdepfile='.deps/mdns_mini.TPlo' \
	depmode=gcc3 /bin/sh ../../depcomp \
	/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I../../lib    -g -O2  -c -o mdns_mini.lo `test -f '../mdns_mini.cpp' || echo './'`../mdns_mini.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../lib -g -O2 -c ../mdns_mini.cpp -MT mdns_mini.lo -MD -MP -MF .deps/mdns_mini.TPlo  -fPIC -DPIC -o .libs/mdns_mini.o
In file included from ../mdns_mini.cpp:22:
../cvs_string.h: In static member function 'static int cvs::filename_char_traits::compare(const char*, const char*, size_t)':
../cvs_string.h:48: error: 'strncmp' was not declared in this scope
../cvs_string.h: In static member function 'static int cvs::username_char_traits::compare(const char*, const char*, size_t)':
../cvs_string.h:63: error: 'strncmp' was not declared in this scope
../cvs_string.h: In function 'void cvs::vsprintf(_Typ&, size_t, const char*, char*)':
../cvs_string.h:97: error: there are no arguments to 'strlen' that depend on a template parameter, so a declaration of 'strlen' must be available
../cvs_string.h:97: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../cvs_string.h: In member function 'void cvs::wide::utf82ucs2(const char*)':
../cvs_string.h:181: error: 'strlen' was not declared in this scope
../mdns_mini.cpp: In member function 'virtual int CMdnsHelperMini::publish(const char*, const char*, const char*, int, const char*)':
../mdns_mini.cpp:103: error: 'strncpy' was not declared in this scope
../mdns_mini.cpp:104: error: 'strlen' was not declared in this scope
../mdns_mini.cpp:106: error: 'strcmp' was not declared in this scope
../mdns_mini.cpp:112: error: 'strdup' was not declared in this scope
../mdns_mini.cpp:120: error: 'strcpy' was not declared in this scope
../mdns_mini.cpp:121: error: 'strchr' was not declared in this scope
../mdns_mini.cpp:124: error: 'strcat' was not declared in this scope
../mdns_mini.cpp:131: error: 'strcpy' was not declared in this scope
../mdns_mini.cpp:153: error: 'memcpy' was not declared in this scope
../mdns_mini.cpp:162: error: 'memcpy' was not declared in this scope




Not sure what I am missing here. The configure script ran successfully w/o complaining and generated the make file.

--Quresh.
_________________________________________________________________
Store, manage and share up to 5GB with Windows Live SkyDrive.
http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_102008


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook