delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/07/05:30:51

From: Christoph Lechner <christophlechner AT gmx DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: YAMD 0.32 blows up
Date: Fri, 07 Mar 2003 11:27:40 +0100
Lines: 38
Message-ID: <3E68741C.9060104@gmx.net>
NNTP-Posting-Host: pd9e892a0.dip.t-dialin.net (217.232.146.160)
Mime-Version: 1.0
X-Trace: fu-berlin.de 1047032820 64604852 217.232.146.160 (16 [18275])
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hallo,

looking for a tool to find some memory-related bugs I finally
found YAMD. The feature list look nice and it compiled without
any problems. I build my DJGPP following the instructions on 
http://www.delorie.com/howto/djgpp/linux-x-djgpp-revised.html,
I used the same versions of all files mentioned therein.

Here's the problem:
If I try to link my project ld returns error messages about
___real_malloc etc. So where is the problem? Is the YAMD
library too old?

./libyamd.a(yamd.o)(.text+0x80):yamd.c: undefined reference to 
`___real_malloc'
./libyamd.a(yamd.o)(.text+0x1e1):yamd.c: undefined reference to 
`___real_realloc'
./libyamd.a(yamd.o)(.text+0x27e):yamd.c: undefined reference to 
`___real_realloc'
./libyamd.a(yamd.o)(.text+0xbf6):yamd.c: undefined reference to 
`___real_malloc'
./libyamd.a(yamd.o)(.text+0xc00):yamd.c: undefined reference to 
`___real_malloc'
./libyamd.a(yamd.o)(.text+0xdad):yamd.c: undefined reference to 
`___real_malloc'
./libyamd.a(yamd.o)(.text+0xe3d):yamd.c: undefined reference to 
`___real_free'
./libyamd.a(yamd.o)(.text+0x107f):yamd.c: undefined reference to 
`___real_malloc'
./libyamd.a(yamd.o)(.text+0x1437):yamd.c: undefined reference to 
`___real_free'
./libyamd.a(yamd.o)(.text+0x1597):yamd.c: undefined reference to 
`___real_realloc'
collect2: ld returned 1 exit status

TIA
- C. Lechner

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019