iontorrent / TMAP

Torrent Mapping Alignment Program
GNU General Public License v2.0
49 stars 18 forks source link

rpl_malloc problem #5

Closed lmanchon closed 11 years ago

lmanchon commented 11 years ago

--Hi

i try to compile TMAP from github sources with:

./configure --prefix=/home/manchonl/TMAP --enable-perftools --enable-intel64

then make, and i obtain this error:

tmap_definitions.c:418: undefined reference to `rpl_malloc'

i don't find what is the problem and how to fix it.

somebody help ?

thanx

shahm3 commented 11 years ago

If you remove "--enable-perftools" from the command and try to recompile it should work.

From: lmanchon notifications@github.com<mailto:notifications@github.com> Reply-To: iontorrent/TMAP reply@reply.github.com<mailto:reply@reply.github.com> Date: Tue, 11 Dec 2012 06:07:00 -0500 To: iontorrent/TMAP TMAP@noreply.github.com<mailto:TMAP@noreply.github.com> Subject: [TMAP] rpl_malloc problem (#5)

--Hi

i try to compile TMAP from github sources with:

./configure --prefix=/home/manchonl/TMAP --enable-perftools --enable-intel64

then make, and i obtain this error:

tmap_definitions.c:418: undefined reference to `rpl_malloc'

i don't find what is the problem and how to fix it.

somebody help ?

thanx

— Reply to this email directly or view it on GitHubhttps://github.com/iontorrent/TMAP/issues/5.

lmanchon commented 11 years ago

yes of course.

in another way i have fixed this issue keeping --enable-perftools in configure:

before configure just type: export ac_cv_func_malloc_0_nonnull=yes then run ./configure --prefix=/home/me/TMAP --enable-perftools --enable-intel64

then comment these lines in configure.ac:

AC_FUNC_MALLOC AC_FUNC_REALLOC

and then: make && make install.

hope this help.

nh13 commented 11 years ago

Most likely the compilation cannot find the google performance tools installation. Take a look at the configure log, or post it here.

lmanchon commented 11 years ago

i think not because i have set the path to find google performance tools with export LDFLAGS="-L/home/me/google-perftools/lib" and then run configure.