[cvsnt-dev] build of BRANCH_2_5_03_2382 on SuSE 10.2 x86_64 fails
Richard Wirth
richard at wirthware.de
Wed May 16 09:56:07 BST 2007
Hello Arthur,
just tried to build version 2.5.03.2696
configuring cvsnt gives no errors
../cvsnt/configure --with-gnu-ld --libdir=/usr/local/lib64 CFLAGS="-g -O2" CXXFLAGS="-g -O2"
but make fails:
g++ -DHAVE_CONFIG_H -I. -I../../cvsnt/triggers -I.. -I../src -I../../cvsnt/src -I../../cvsnt/lib -I../../cvsnt/cvsapi -I../../cvsnt/cvstools -DCVS_CONFIG_DIR=\"/etc/cvsnt\" -DCVS_LIBRARY_DIR=\"/usr/local/lib64/cvsnt\" -I../../cvsnt/libltdl -I/usr/include/mysql -fmessage-length=0 -D_FORTIFY_SOURCE=2 -g -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing -I/usr/include/pgsql -g -O2 -MT info_trigger.lo -MD -MP -MF .deps/info_trigger.Tpo -c ../../cvsnt/triggers/info_trigger.cpp -fPIC -DPIC -o .libs/info_trigger.o
../../cvsnt/triggers/info_trigger.cpp: In function 'int<unnamed>::init(const trigger_interface_t*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, int, const char**, const char**, const char*, const char*)':
../../cvsnt/triggers/info_trigger.cpp:618: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result
../../cvsnt/triggers/info_trigger.cpp: At global scope:
../../cvsnt/triggers/info_trigger.cpp:1751: error: invalid conversion from 'int (*)(const trigger_interface_t*, const char*, int)' to 'int (*)(const trigger_interface_t*, const char*)'
make[2]: *** [info_trigger.lo] error 1
I think this is not special issue of my Linux version but an
incomplete/wrong prototype.
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
Which is the default compiler of this SuSE release.
Any hints?
A 'make -k' produces lots of Errors because of
RootType not being defined!
greping for RootType shows no definition anywhere. Is there a header
missing?
--
Best regards,
Richard mailto:richard at wirthware.de
More information about the cvsnt-dev
mailing list