[SLE] /dia-0.84/lib/text.c:319: undefined reference to `g_malloc'
Ok folks, what am I missing here? /download/Linux/working/dia-0.84/lib/text.c:117: undefined reference to `g_malloc' /download/Linux/working/dia-0.84/lib/text.c:118: undefined reference to `g_malloc' /download/Linux/working/dia-0.84/lib/text.c:119: undefined reference to `g_malloc' /download/Linux/working/dia-0.84/lib/text.c:120: undefined reference to `g_malloc' /download/Linux/working/dia-0.84/lib/text.c:125: undefined reference to `g_malloc' ../lib/libdia.a(text.o):/download/Linux/working/dia-0.84/lib/text.c:139: more undefined references to `g_malloc' follow ../lib/libdia.a(text.o): In function `text_join_lines': /download/Linux/working/dia-0.84/lib/text.c:542: undefined reference to `g_free' /download/Linux/working/dia-0.84/lib/text.c:543: undefined reference to `g_free' /download/Linux/working/dia-0.84/lib/text.c:547: undefined reference to `g_realloc' /download/Linux/working/dia-0.84/lib/text.c:548: undefined reference to `g_realloc' /download/Linux/working/dia-0.84/lib/text.c:549: undefined reference to `g_realloc' /download/Linux/working/dia-0.84/lib/text.c:550: undefined reference to `g_realloc' ../lib/libdia.a(text.o): In function `text_split_line': /download/Linux/working/dia-0.84/lib/text.c:643: undefined reference to `g_realloc' ../lib/libdia.a(text.o):/download/Linux/working/dia-0.84/lib/text.c:644: more undefined references to `g_realloc' follow ../lib/libdia.a(text.o): In function `text_split_line': /download/Linux/working/dia-0.84/lib/text.c:661: undefined reference to `g_malloc' -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
* Steven T. Hatton (hattons@cpkwebser5.ncr.disa.mil) [20000329 07:37]:
Ok folks, what am I missing here?
/download/Linux/working/dia-0.84/lib/text.c:117: undefined reference to `g_malloc' /download/Linux/working/dia-0.84/lib/text.c:118: undefined reference to `g_malloc'
From the sparse info you're giving, I can only say the obvious, i.e. that some functions the program is calling are missing in either the program or the library. Try seching the programm sources for a definition of these functions. But it seems like the programm for some reasons calls replacements for the standard memory allocation functions. See if there are redefinitions in either one of headers or one of Makefiles. In the headers, search for something like
#define malloc g_malloc
in the Makefiles this would be '-Dmalloc=g_malloc'. Alternatively give me
the URL to the package and I might have time to look into the source myself.
In the future, please supply more info for such problems. At least the full
name of the package you're trying to compile is nearly mandatory.
Philipp
--
Philipp Thomas
These are from the GNU library, AKA GTK library. Look for glibn and
glibndev packages on the SuSE CDs. (Not glibc, AKA libc6).
HTH,
Jeffrey
Quoting Steven T. Hatton
Ok folks, what am I missing here?
/download/Linux/working/dia-0.84/lib/text.c:117: undefined reference to `g_malloc' /download/Linux/working/dia-0.84/lib/text.c:118: undefined reference to
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
hattons@cpkwebser5.ncr.disa.mil
-
muskrat@texas.net
-
pthomas@suse.de