News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Problem compiling when using -pg (gprof) option

Started by Trigve, April 14, 2007, 06:32:43 PM

Previous topic - Next topic

Trigve

Hi,

I have problem when compiling codeblocks on my freebsd box with "-pg" option with gcc... When it comes to linking the final "codeblocks" executable, I've got the following erros

/usr/local/lib/libicuuc.so.36: undefined reference to `wcstombs'
/usr/local/lib/libxml2.so.5: undefined reference to `isinf'
/usr/local/lib/libicuuc.so.36: undefined reference to `modf'
/usr/local/lib/libtiff.so.4: undefined reference to `lfind'
*** Error code 1


I have tried add "-lc_p" as linker param but with no succes... Anyone know where could be the problem?

Using:
revision 3854
#uname -a
FreeBSD pentium4.domain 6.2-STABLE FreeBSD 6.2-STABLE #19: Thu Mar 15 13:47:18 CET 2007     dodes@pentium4.domain:/usr/obj/usr/src/sys/CUSTOM  i386

# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305


Thanks

Trigve