Question

I modified the source code of memcached-1.4.7, but I got stuck when I tried to compile the new code.

I add two files (test.c and test.h) to the source. I modified items.c to call some function provided by test.c. Now I would like to compile the new code. What should I do?

Thanks!

Was it helpful?

Solution

Before you try to modify any open-source package, you should always try to build a "pritisine" copy first. Usually that's achieved by

./configure && make

So make another copy of the original source, and build that. Then you can try your modifications.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top