Folks,

I need to step through and debug zfs command line programs. I have downloaded 
all the source code from the ON gate. The source code for zfs is at 
/usr/src/cmd/zpool and /usr/src/cmd/zfs.

There is a Makefile available under zpool directory. My plan is to modify this 
Makefile and add "-g" to compiler options for debug build.

However, while trying to run make on the original Makefile, I get a bunch of 
errors. The first one is undefined "SRC" variable. I fixed that by defining SRC 
in the shell. The next error I get is something about "empty variable name" in 
Makefile.cmd at line 166.

Clearly, there is something that I am not doing right. Can someone please tell 
me how to build just zfs so that I can step through and debug the code?

Thank you in advance for your help.

Regards,
Peter
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code

Reply via email to