chiark / gitweb /
record way to get list of unimplemented symbols in a plugin stack
authorian <ian>
Sun, 5 Feb 2006 00:56:35 +0000 (00:56 +0000)
committerian <ian>
Sun, 5 Feb 2006 00:56:35 +0000 (00:56 +0000)
Makefile
cdb/.cvsignore

index 9e73776..446e555 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,3 +6,22 @@ default: all
 
 clean all:
        set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
+
+# To find undefined symbols when implementing, for example:
+#
+# liberator:cdb> ld /usr/bin/tclsh8.3 ../base/chiark-tcl.so ../hbytes/chiark_tcl_hbytes.so ../cdb/chiark_tcl_cdb.so -ltcl8.3
+# ld: warning: cannot find entry symbol _start; defaulting to 00000000080486ac
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdbwr_delete'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdbwr_lookup_hb'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdbwr_open_okjunk'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdb_lookup_hb'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdbwr_lookup'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdb_close'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdb_lookup'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdbtoplevel_cdb'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdbwr_update_hb'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdb_open'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdbwr_update'
+# ../cdb/chiark_tcl_cdb.so: undefined reference to `cht_do_cdbtoplevel_cdb_wr'
+# Segmentation fault
+# liberator:cdb>
index dec0c7f..67f5c18 100644 (file)
@@ -1,2 +1,3 @@
 *+tcmdif.*
 *.d
+a.out