Login | Register
My pages Projects Community openCollabNet

Discussions > dev > FSVS 1.1.12 and up: --enable-debug -> VALGRIND_MAKE_MEM_DEFINED / VALGRIND_MAKE_MEM_NOACCESS

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

Re: FSVS 1.1.12 and up: --enable-debug -> VALGRIND_MAKE_MEM_DEFINED / VALGRIND_MAKE_MEM_NOACCESS

Author pmarek
Full name P.Marek
Date 2008-05-02 11:57:36 PDT
Message On Friday 02 May 2008 Benjamin M. wrote:
> From 1.1.12. with
>
> ./configure --enable-debug
...
> /** Whether the valgrind headers were found.
> * Then some initializers can specifically mark areas as initialized. */
> #define HAVE_VALGRIND 1
So the valgrind header was found - only it doesn't contain what we expect.
Are you using an older version than 3.3? I know that I had to change something
a few months ago ... don't remember whether that was for 3.0, 3.3 or
something inbetween.

Please change this line to
    #undef HAVE_VALGRIND
and recompile.


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

Re: FSVS 1.1.12 and up: --enable-debug -> VALGRIND_MAKE_MEM_DEFINED / VALGRIND_MAKE_MEM_NOACCESS

Author benjaminm
Full name Benjamin M.
Date 2008-05-02 11:51:33 PDT
Message Philipp Marek wrote, On 02/05/08 14:37:
> Hello Ben,
>
> On Thursday 01 May 2008 Benjamin M. wrote:
>
>> With version 1.1.12 and up (no problem with previous
>> versions) I have the following error when using
>>
>> ./configure --enable-debug
>>
>> $ make
>> Link fsvs
>> est_ops.o(.text+0xf85): In function `ops__allocate':
>> /usr/src/fsvs-1.1.12​/src/est_ops.c:820: undefined reference to
>> `VALGRIND_MAKE_MEM_DEFINED'
>>
> Could you please send me your config.h?
>
 From 1.1.12. with

./configure --enable-debug

Ben.
Attachments

Re: FSVS 1.1.12 and up: --enable-debug -> VALGRIND_MAKE_MEM_DEFINED / VALGRIND_MAKE_MEM_NOACCESS

Author pmarek
Full name P.Marek
Date 2008-05-02 11:37:46 PDT
Message Hello Ben,

On Thursday 01 May 2008 Benjamin M. wrote:
> With version 1.1.12 and up (no problem with previous
> versions) I have the following error when using
>
> ./configure --enable-debug
>
> $ make
> Link fsvs
> est_ops.o(.text+0xf85): In function `ops__allocate':
> /usr/src/fsvs-1.1.12​/src/est_ops.c:820: undefined reference to
> `VALGRIND_MAKE_MEM_DEFINED'
Could you please send me your config.h?
Thank you.

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

FSVS 1.1.12 and up: --enable-debug -> VALGRIND_MAKE_MEM_DEFINED / VALGRIND_MAKE_MEM_NOACCESS

Author benjaminm
Full name Benjamin M.
Date 2008-05-01 14:27:21 PDT
Message Phil,

With version 1.1.12 and up (no problem with previous
versions) I have the following error when using

./configure --enable-debug

$ make
      Link fsvs
est_ops.o(.text+0xf85): In function `ops__allocate':
/usr/src/fsvs-1.1.12​/src/est_ops.c:820: undefined reference to
`VALGRIND_MAKE_MEM_DEFINED'
est_ops.o(.text+0xfe​0):/usr/src/fsvs-1.1​.12/src/est_ops.c:84​8: undefined
reference to `VALGRIND_MAKE_MEM_DEFINED'
est_ops.o(.text+0x10​b8):/usr/src/fsvs-1.​1.12/src/est_ops.c:8​69:
undefined reference to `VALGRIND_MAKE_MEM_DEFINED'
est_ops.o(.text+0x11d7): In function `ops__free_entry':
/usr/src/fsvs-1.1.12​/src/est_ops.c:923: undefined reference to
`VALGRIND_MAKE_MEM_DEFINED'
est_ops.o(.text+0x12​02):/usr/src/fsvs-1.​1.12/src/est_ops.c:9​30:
undefined reference to `VALGRIND_MAKE_MEM_DEFINED'
est_ops.o(.text+0x12​16):/usr/src/fsvs-1.​1.12/src/est_ops.c:9​33:
undefined reference to `VALGRIND_MAKE_MEM_NOACCESS'
est_ops.o(.text+0x12​39):/usr/src/fsvs-1.​1.12/src/est_ops.c:9​48:
undefined reference to `VALGRIND_MAKE_MEM_NOACCESS'
est_ops.o(.text+0x12​65):/usr/src/fsvs-1.​1.12/src/est_ops.c:9​55:
undefined reference to `VALGRIND_MAKE_MEM_NOACCESS'
est_ops.o(.text+0x12​ca):/usr/src/fsvs-1.​1.12/src/est_ops.c:9​65:
undefined reference to `VALGRIND_MAKE_MEM_NOACCESS'
collect2: ld returned 1 exit status
make[1]: *** [fsvs] Error 1
make: *** [default-target] Error 2

Ben.
Messages per page: