Hi all, I have been trying compile Accelerad on Linux but get errors like
[ 25%] Built target ev
[ 25%] Building C object src/cal/CMakeFiles/histo.dir/histo.c.o
[ 25%] Linking C executable ../../bin/histo
[ 25%] Built target histo
[ 25%] Building C object src/cal/CMakeFiles/icalc.dir/calc.c.o
[ 25%] Linking C executable ../../bin/icalc
../common/librtrad.a(getpath.c.o): In function `getpath':
getpath.c:(.text+0x5d): undefined reference to `strlcpy'
getpath.c:(.text+0x97): undefined reference to `strlcpy'
getpath.c:(.text+0x153): undefined reference to `strlcat'
getpath.c:(.text+0x1b3): undefined reference to `strlcpy'
getpath.c:(.text+0x262): undefined reference to `strlcat'
../common/librtrad.a(gethomedir.c.o): In function `gethomedir':
gethomedir.c:(.text+0x4f): undefined reference to `strlcpy'
gethomedir.c:(.text+0x99): undefined reference to `strlcpy'
gethomedir.c:(.text+0xda): undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/icalc] Error 1
make[1]: *** [src/cal/CMakeFiles/icalc.dir/all] Error 2
make: *** [all] Error 2
Can some body help to solve this problem?
Best regards,
Jan