Quresh Abazur wrote:
> 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.
> 

Hmm...

This is a bug in the older Linux sources which is fixed in the 
repository, version 2.5.04.3226 RC9. I suggest you try this version; 
it's the CVSNT_2_0_x branch in the repository.

Best regards
        Andreas
-- 
Andreas Tscharner                               [EMAIL PROTECTED]
-------------------------------------------------------------------
And the beast shall come forth surrounded by a rolling cloud of
vengeance. The house of the unbelievers shall be razed and they
shall be scorched to the earth. Their tags shall blink until the
end of days.                          -- The Book of Mozilla, 12:10
_______________________________________________
cvsnt mailing list
[email protected]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/

Reply via email to