[cvsnt-dev] build errors on Fedora 9

Scott.J.Borton at Seagate.com Scott.J.Borton at Seagate.com
Tue Dec 2 17:00:20 GMT 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.


Retry w/o config.log attachment which I guess is a no no.....

I am trying to build cvsnt-2.5.04.3236 on a Fedora 9 server (Linux FA-Viper
2.6.26.6-79.fc9.i686 #1 SMP Fri Oct 17 14:52:14 EDT 2008 i686 i686 i386
GNU/Linux). Ran ./configure (config.log attached) and when I run make I get
the following errors using gcc version 4.3.0 20080428 (Red Hat 4.3.0-8)
(GCC):

.
.
.
Making all in triggers
make[2]: Entering directory `/tmp/cvsnt-2.5.04.3236/triggers'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I../src  -I../src -I../lib -I../cvsapi -I../cvstools
-DCVS_CONFIG_DIR=\"/etc/cvsnt\" -DCVS_LIBRARY_DIR=\"/usr/local/lib/cvsnt\"
-I/usr/include/libxml2 -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/rdbms/public
-I/rdbms/demo   -g -O2  -MT info_trigger.lo -MD -MP -MF
.deps/info_trigger.Tpo -c -o info_trigger.lo info_trigger.cpp
 g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../lib -I../cvsapi
-I../cvstools -DCVS_CONFIG_DIR=\"/etc/cvsnt\"
-DCVS_LIBRARY_DIR=\"/usr/local/lib/cvsnt\" -I/usr/include/libxml2
-I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/rdbms/public
-I/rdbms/demo -g -O2 -MT info_trigger.lo -MD -MP -MF .deps/info_trigger.Tpo
-c info_trigger.cpp  -fPIC -DPIC -o .libs/info_trigger.o
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*)':
info_trigger.cpp:618: error: 'PATH_MAX' was not declared in this scope
info_trigger.cpp:619: error: 'cwd' was not declared in this scope
info_trigger.cpp: In function 'int<unnamed>::parse_info(const char*, const
char*, const char*, const char*, <unnamed>::options*,
<unnamed>::options*)':
info_trigger.cpp:903: error: 'PATH_MAX' was not declared in this scope
info_trigger.cpp:904: error: 'cwd' was not declared in this scope
make[2]: *** [info_trigger.lo] Error 1
make[2]: Leaving directory `/tmp/cvsnt-2.5.04.3236/triggers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/cvsnt-2.5.04.3236'
make: *** [all] Error 2

Anyone have any ideas what I'm doing wrong or what I need to do to correct
this problem?

- sjb -
Scott Borton



More information about the cvsnt-dev mailing list