I am going to test the data structure of quicklist and z_set in redis. I created a new c project and introduced quicklist.c server.c t_zset.c. Now a lot of undefined reference error are reported. I would like to ask which .c sources need to be imported to my new c project?

When I test the data structure of sds, just create a new c project and import sds.c

Comment From: sundb

Following: gcc quicklist.c sds.c redisassert.c listpack.c zmalloc.c util.c ../deps/fpconv/fpconv_dtoa.c -I../deps/fpconv sha256.c lzf_c.c lzf_d.c

quicklist is more customized for Redis, so it needs more.

Comment From: edidada

I use Redis7、5、 3 to test, fpconv_dtoa.c file not found。should I use newest Redis to test

Comment From: sundb

@edidada If you are not on the latest version of redis you can ignore fpconv_dtoa.c