[cvsnt-dev] build errors on Fedora 9

Andreas Tscharner andy at vis.ethz.ch
Wed Dec 3 07:08:17 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.


Scott.J.Borton at Seagate.com wrote:

[snip]
> 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?

I have a report from an Ubuntu developer that tries (apparently) with 
gcc-4.4 and this causes the same error.

#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif

at the top of email_trigger.cpp and info_trigger.cpp should fix this.

Arthur: Shall I commit this small fix (To CVSNT_BRANCH_2_5_04_3236 and 
merge to CVSNT_2_0_x)?

Best regards
	Andreas
-- 
Andreas Tscharner                                   <andy at vis.ethz.ch>
----------------------------------------------------------------------
"Intruder on level one. All Aliens please proceed to level one."
                                       -- Call in "Alien: Resurrection"


More information about the cvsnt-dev mailing list