[bglug] gcc e librerie "builtin"

Massimo Sala massimo.sala.71@gmail.com
Mer 23 Mar 2011 12:13:29 CET


ciao Flavio

ho reinstallato la libreria :
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
libmudflap0-4.4-dev

$ dpkg --status libmudflap0-4.4-dev

Package: libmudflap0-4.4-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 380
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Source: gcc-4.4
Version: 4.4.4-14ubuntu5
Depends: gcc-4.4-base (= 4.4.4-14ubuntu5), libmudflap0 (>=
4.4.4-14ubuntu5), libc6-dev (>= 2.5)
Conflicts: libmudflap0-dev


ora la compilazione mi da' errori a gogo
/usr/lib/gcc/i686-linux-gnu/4.4.5/libmudflap.a(mf-runtime.o): In
function `__mf_object_tree':
(.text.__mf_object_tree+0x4b): undefined reference to `__real_malloc'
/usr/lib/gcc/i686-linux-gnu/4.4.5/libmudflap.a(mf-runtime.o): In
function `mfsplay_tree_foreach':
(.text.mfsplay_tree_foreach+0x27): undefined reference to `__real_malloc'
...

gcc  -W -Wall  -O2 -march=native -fwhole-program
-fpromote-loop-indices -minline-stringops-dynamically -malign-double
-fmudflap -lrt -lpcap -lmudflap


ma oltre   apt-get install  e  gcc -lmudflap  devo fare qualcos'altro ?


grazie, ciao

M


On 23 March 2011 09:42, Flavio Castelli <flavio@castelli.name> wrote:
> On Tuesday, March 22, 2011 10:28:50 pm Massimo Sala wrote:
>> cc1: fatal error: mf-runtime.h: No such file or directory
>
> Hai installato il pacchetto libmudflap dev?
>
> Ciao
> Flavio
>
> --
> Sito BgLUG: http://www.bglug.it
> Mailing list: http://lists.linux.it/listinfo/bglug
>


Maggiori informazioni sulla lista bglug