boilermake n stuff

alan buxey A.L.M.Buxey at lboro.ac.uk
Wed Nov 21 00:05:49 CET 2012


Hi,

> As follows - eventually gets stuck linking build/bin/rlm_utf8:

funny you should say that...

LINK build/bin/rlm_utf8
==15981== Memcheck, a memory error detector
==15981== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==15981== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info
==15981== Command: /usr/local/src/freeradius-server/scripts/jlibtool --silent --mode=link gcc -o build/bin/rlm_utf8 -rpath /usr/local/src/freeradius-server/build/lib/.libs -rdynamic build/objs/src/modules/rlm_utf8/rlm_utf8.lo
==15981== 
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
build/objs/src/modules/rlm_utf8/rlm_utf8.o: In function `utf8_clean':
/usr/local/src/freeradius-server/src/modules/rlm_utf8/rlm_utf8.c:47: undefined reference to `fr_utf8_char'
collect2: ld returned 1 exit status
==15981== 
==15981== HEAP SUMMARY:
==15981==     in use at exit: 360,977 bytes in 25 blocks
==15981==   total heap usage: 25 allocs, 0 frees, 360,977 bytes allocated
==15981== 
==15981== LEAK SUMMARY:
==15981==    definitely lost: 33,223 bytes in 13 blocks
==15981==    indirectly lost: 327,754 bytes in 12 blocks
==15981==      possibly lost: 0 bytes in 0 blocks
==15981==    still reachable: 0 bytes in 0 blocks
==15981==         suppressed: 0 bytes in 0 blocks
==15981== Rerun with --leak-check=full to see details of leaked memory
==15981== 
==15981== For counts of detected and suppressed errors, rerun with: -v
==15981== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6)
make: *** [build/bin/rlm_utf8] Error 1



the line in question:

len = fr_utf8_char(&vp->vp_octets[i]);


alan


More information about the Freeradius-Devel mailing list