Menu

#3 Susie doesn't build on Cygwin

open
nobody
None
5
2006-03-25
2006-03-25
Anonymous
No

Susie 0.3

When building on Cygwin using GCC 3.4.4, the build
fails because of a missing definition of malloc_size.
I made it compile by putting

#define malloc_size malloc_usable_size

at the beginning of utils.c. I don't know enough of
the difference between the semantics of malloc_size,
malloc_good_size, and malloc_usable_size on various
systems to know whether this is the correct fix.

This bug might afflict some or all Linux systems as
well, which I think also provide only malloc_usable
size.

Vincent Manis <vmanis@telus.net>

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Yeah, I can confirm that this is a problem under Linux too.

     
  • Vincent Osele

    Vincent Osele - 2009-05-12

    Hello,

    In my linux system, I must change <<2 to <<3 in allocOrefObj because encPtr are now 8 byte long.
    Peharps, it's because I compile in debug mode !

    a+
    Vicnet

     

Log in to post a comment.