gnash
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Gnash] Error compiling with dmalloc enable
From
:
Frédéric Point
Subject
:
[Gnash] Error compiling with dmalloc enable
Date
:
Wed, 24 May 2006 14:06:58 +0200
Hi,
When I compile gnash with dmalloc enable I have this error :
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I
/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -DQT_T
HREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include -I/usr/inclu
de/libxml2 -I/usr/include/SDL -I/usr/include/SDL -O2 -mcpu=i686 -pipe -ansi -Wal
l -MT utility.lo -MD -MP -MF .deps/utility.Tpo -c utility.cpp -fPIC -DPIC -o .l
ibs/utility.o
utility.cpp: In function `void dump_memory_stats(const char*, int, const char*)
':
utility.cpp:81: error: aggregate `mallinfo mi' has incomplete type and cannot
be defined
utility.cpp:85: error: invalid use of undefined type `struct mallinfo'
utility.cpp:81: error: forward declaration of `struct mallinfo'
utility.cpp:82: warning: unused variable `int allocated'
make: *** [ utility.lo] Erreur 1
I think this comes from a typo here (libbase/utility.cpp : 81 ) :
// This does not work with DMALLOC, since the internal data structures
// differ.
#ifdef HAVE_DMALLOC
#ifdef HAVE_MALLINFO
struct mallinfo mi;
static int allocated = 0;
static int freeb = 0;
mi = mallinfo();
Instead of :
#ifndef HAVE_DMALLOC
If I disable dmalloc, gnash compiles fine.
Sincerely,
Fred.
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Gnash] Error compiling with dmalloc enable
,
Frédéric Point
<=
Re: [Gnash] Error compiling with dmalloc enable
,
strk
,
2006/05/24
Re: [Gnash] Error compiling with dmalloc enable
,
Frédéric Point
,
2006/05/24
Re: [Gnash] Error compiling with dmalloc enable
,
Frédéric Point
,
2006/05/24
Prev by Date:
Re: [Gnash] Problem on ubuntu dapper x86_64
Next by Date:
Re: [Gnash] compilation error for klash
Previous by thread:
[Gnash] compilation error for klash
Next by thread:
Re: [Gnash] Error compiling with dmalloc enable
Index(es):
Date
Thread