On Sun, May 23, 2010 at 12:58:32AM +0200, Uwe Kubosch wrote: > Thank you for your reply. I was able to fix the immediate error by > linking with libcrypto as suggested. > Now I get > > gcc -o cmd/zdb/zdb -pipe -Wall -s cmd/zdb/zdb.o cmd/zdb/zdb_il.o cmd/zdb/ptrace.o lib/libavl/libavl.a lib/libnvpair/libnvpair-user.a lib/libumem/libumem.a lib/libzfs/libzfs.a lib/libzpool/libzpool-user.a lib/libzfscommon/libzfscommon-user.a lib/libuutil/libuutil.a lib/libsolcompat/libsolcompat.a -lrt -lpthread -ldl -lz -lm -laio -lssl -lcrypto > lib/libzfs/libzfs.a(libzfs_pool.o): In function `zpool_valid_proplist': > libzfs_pool.c:(.text+0x3355): undefined reference to `S_ISDIR' > You need to #include <sys/stat.h> in libzfs_pool.c. Siddhesh -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel