[cvsnt-dev] CVSNT 2.5.03-2382 build fails on SUSE Linux 7.0/7.3

Tobias Lips T.Lips at htg-hst.de
Mon Nov 20 16:04:37 GMT 2006


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 there!

Today I tried to compile CVSNT 2.5.03-2382 on two rather old Linux 
installations (SUSE Linux 7.0 and 7.3). The build process failed on both 
machines (see below). Here is how I tried to compile the source package:

tar -xvzf cvsnt-2.5.03.2382.tar.gz
cd cvsnt-2.5.03.2382
./configure
make

Any ideas somebody what could probably cause this problem? Seems to be a 
problem of the compiler (gcc 2.95) ...

Many tanks in advance.

Regards, Tobias

-----

SUSE 7.3 (gcc 2.95.3):

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../lib -I/usr/include/pgsql 
 -g -O2 -c 
../postgres/PostgresConnection.cpp -Wp,-MD,.deps/PostgresConnection.TPlo  -fPIC 
 -DPIC -o .libs/PostgresConnection.o
In file included from ../postgres/PostgresConnection.cpp:33:
/usr/include/g++/std/bastring.h: In method `const __wchar_t * 
basic_string<__wchar_t,string_char_traits<__wchar_t>,__default_alloc_template<true,0> 
 >::c_str() const':
../postgres/../cvs_string.h:175:   instantiated from here
/usr/include/g++/std/bastring.h:338: return to `const __wchar_t *' from 
`const char *'
../postgres/PostgresConnection.cpp: In method `class CSqlRecordsetPtr 
CPostgresConnection::Execute(const char *, ...)':
../postgres/PostgresConnection.cpp:231: implicit declaration of function 
`int PQexecParams(...)'
../postgres/PostgresConnection.cpp:231: assignment to `PGresult *' from 
`int' lacks a cast
../postgres/../cvs_string.h: In function `void 
cvs::vsprintf<cvs::string>(cvs::string &, unsigned int, const char *, void 
*)':
../postgres/PostgresConnection.cpp:119:   instantiated from here
../postgres/../cvs_string.h:102: `_s' undeclared (first use this function)
../postgres/../cvs_string.h:102: (Each undeclared identifier is reported 
only once
../postgres/../cvs_string.h:102: for each function it appears in.)
make[3]: *** [PostgresConnection.lo] Error 1
make[3]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382/cvsapi/db'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382/cvsapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382'
make: *** [all] Error 2

-----

SUSE 7.0 (gcc 2.95.2):

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../lib -g -O2 -c 
../mdns_mini.cpp -Wp,-MD,.deps/mdns_mini.TPlo  -fPIC -DPIC -o 
.libs/mdns_mini.o
In file included from ../mdns_mini.cpp:22:
/usr/include/g++/std/bastring.h: In method `const __wchar_t * 
basic_string<__wchar_t,string_char_traits<__wchar_t>,__default_alloc_template<true,0> 
 >::c_str() const':
../cvs_string.h:175:   instantiated from here
/usr/include/g++/std/bastring.h:338: return to `const __wchar_t *' from 
`const char *'
../mdns_mini.cpp: In method `int CMdnsHelperMini::publish(const char *, 
const char *, const char *, int, const char *)':
../mdns_mini.cpp:166: implicit declaration of function `int printf(...)'
make[3]: *** [mdns_mini.lo] Error 1
make[3]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382/cvsapi/mdns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382/cvsapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382'
make: *** [all] Error 2

-----

SUSE 7.0 (gcc 2.95.2; ./configure --disable-mdns)

 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../lib -I../pcre -I../expat -I../expat/lib 
 -I../libltdl -D_CVSAPI -g -O2 -c 
cvs_string.cpp -Wp,-MD,.deps/cvs_string.TPlo  -fPIC -DPIC -o 
.libs/cvs_string.o
In file included from cvs_string.cpp:40:
/usr/include/g++/std/bastring.h: In method `const __wchar_t * 
basic_string<__wchar_t,string_char_traits<__wchar_t>,__default_alloc_template<true,0> 
 >::c_str() const':
cvs_string.h:175:   instantiated from here
/usr/include/g++/std/bastring.h:338: return to `const __wchar_t *' from 
`const char *'
cvs_string.cpp: At top level:
cvs_string.cpp:47: explicit instantiation of `class 
string_char_traits<char>' after
/usr/include/g++/std/straits.h:132: explicit specialization here
cvs_string.cpp: In function `static size_t 
string_char_traits<__wchar_t>::length(const __wchar_t *)':
cvs_string.cpp:50: Internal compiler error in `final_scan_insn', at 
final.c:2192
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [cvs_string.lo] Error 1
make[3]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382/cvsapi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382/cvsapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tobias/cvsnt-2.5.03.2382'
make: *** [all] Error 2




More information about the cvsnt-dev mailing list