error for undefined rpl_malloc compiling scalpel
Hello,
I am building scalpel 2.0 on Slackware 14.2 and after successful ./configure the make fails with multiple errors: Code:
./.libs/libscalpel.a(syncqueue.o): In function `syncqueue_init(char const*, unsigned long)': Do I need to add a lib to my 14.2 install or ...? Happy Trails |
Any reason why you're not using the SlackBuild?
https://slackbuilds.org/repository/14.2/system/scalpel/ It requires something called tre https://slackbuilds.org/repository/14.2/libraries/tre/ Edit: Do you have multilib installed? If you didn't have a full Slackware installation, you would tell us, right? |
Hello,
Quote:
In fact, I guess, that you have build tre with ./configure && make && make install, which leads libtre.* libraries to be installed in /usr/local/lib instead of /usr/lib{64} : Code:
$ cd tre-0.8.0/ Code:
$ cd tre-0.8.0/ -- SeB |
Thank you both, the reason I didn't go to slackbuild is ignorance. I let slackware64-14.2-install-dvd.iso do a default install and did install tre using the defaults. I don't know Slackware very well; I'm helping a friend who uses Slackware recover some files. I had tried a search for scalpel and Slackware but missed slackbuild. Thanks for the details on the tre lib. I'll press on to slackbuild but also will study the config and make files I used to understand what went wrong.
A part of me wants to do this the hard way but I have not had time in the last 10 years to keep up with Linux. I am a Unix and Linux user from many decades ago as in when we had to write our own serial port drivers for printers and then rebuild the OS to install them. Thank you for that help it is much appreciated. Happy Trails from a shiny head with a fuzzy brain |
Hello,
Quote:
Code:
$ gcc -o conftest -g -O2 conftest.c -ltre -lpthread -lm >&5 Code:
... SeB |
All times are GMT -5. The time now is 03:06 AM. |