Error compiling pike script

/home/web/htdocs/source/add/wiz2.pike:8	Error: Index 'sql' not present in module Sql.
/home/web/htdocs/source/add/wiz2.pike:8	Error: Indexed module was: master()->joinnode(({ /* 1 element */
    master()->dirnode("/usr/local/pike/7.8.700/lib/modules/Sql.pmod":Sql)
})).
/home/web/htdocs/source/add/wiz2.pike:8	Error: Too many arguments to `() (function call) (expected 0 arguments).
/home/web/htdocs/source/add/wiz2.pike:8	Error: Got     : string(0..255).