Frage

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!

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top