[cvsnt] Linux compile error

Alberto Di Fede alberto.difede at gmail.com
Mon Feb 13 23:28:42 GMT 2006


Hi,

i'm compiling cvsnt 2.5.0.3 on my slackware 10.0 (updated).

when compiling with

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

i get this error on the fourth source compiled:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src  -I../src  -I/usr/include/ 
mysql -I/usr/include -DCVS_CONFIG_DIR=\"/etc/cvsnt\" - 
DCVS_LIBRARY_DIR=\"/usr/lib/cvsnt\" -g -O2 -c `test -f 'fnmatch.c' ||  
echo './'`fnmatch.c
fnmatch.c: In function `rangematch':
fnmatch.c:208: error: `uintptr_t' undeclared (first use in this  
function)
fnmatch.c:208: error: (Each undeclared identifier is reported only once
fnmatch.c:208: error: for each function it appears in.)
fnmatch.c:208: error: parse error before "pattern"
make[2]: *** [fnmatch.o] Error 1
make[2]: Leaving directory `/albe/cvsnt-2.5.03.2151/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/albe/cvsnt-2.5.03.2151'
make: *** [all] Error 2

after some extensive search (i'm no c developer) i just added:

#include <stdint.h>

in lib/fnmatch.c to make it compile.

i hope this makes no harm.

cheers.


albe



More information about the cvsnt mailing list