Hi,
Does anyone have any clue what I'm doing wrong here ?
The directly involved files are: RemoteObjectModel.pmod/ module.pmod Proxy.pike Service.pike ServerObject.pike ClientObject.pike
In proxy, I have a class that inherits ServerObject, which it fails for here. But if I change it from inherit .ServerObject; to inherit "ServerObject.pike"; // works nice but then there's the next problem: if I add another file in this directory and tries to access it from module.pmod with .Foo (i.e. for Foo.pike) it fails with the same error as below (but with different names, naturally)
I've tried to build up a similar situation with simple files, and there it works just fine.
Any clues? Pike version: 7.6.25
<side-issue> If I would like to use the `-> and `[] lfun's in module.pmod, how do I resolve the modules/programs further down the tree? tried to `return ::`->( arg )' but didn't seem to work.. </side-issue>
(sorry for lengthy log, not sure what information is relevant and not...) DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/Proxy.pike:10:Error looking up 'ServerObject' in module '.'. DLS.pmod/Lib.pmod/RemoteObjectModel.pmod.0:-: Warning: Compilation failed: Cannot call functions in unfinished objects. DLS.pmod/Lib.pmod/RemoteObjectModel.pmod.0:-: Warning: Compilation failed: Cannot call functions in unfinished objects. DLS.pmod/Lib.pmod/RemoteObjectModel.pmod.0:-: Warning: Compilation failed: Cannot call functions in unfinished objects. DLS.pmod/Lib.pmod/RemoteObjectModel.pmod.0:-: Warning: Compilation failed: Cannot call functions in unfinished objects. DLS.pmod/Lib.pmod/RemoteObjectModel.pmod.0:-: Warning: Compilation failed: Cannot call functions in unfinished objects. DLS.pmod/Lib.pmod/RemoteObjectModel.pmod.0:-: Warning: Compilation failed: Cannot call functions in unfinished objects. Cannot call functions in unfinished objects. Unknown program: __empty_program() -> function("ServerObject") /home/kaos/pike/7.6.25/lib/master.pike:1399:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->ind("ServerObject") /home/kaos/pike/7.6.25/lib/master.pike:1436:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->`[]("ServerObject") /home/kaos/pike/7.6.25/lib/master.pike:1586: master()->joinnode(({ /* 1 element */
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod") }))->ind("ServerObject") /home/kaos/pike/7.6.25/lib/master.pike:1624: master()->joinnode(({ /* 1 element */
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod") }))->`[]("ServerObject") /home/kaos/pike/7.6.25/lib/master.pike:349: master()->compile_string("//$Id: Proxy.pike 168 2004-12-17 19:58:59Z kaos $\r\n\r\n#include <dls.h>\r\n\r\n//inhe"+[4969],"/home/kaos/
dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.p"+[15],0,DLS.Lib.RemoteObjectModel.Proxy,0,0) /home/kaos/pike/7.6.25/lib/master.pike:819:
master()->low_findprog("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/Proxy",".pike",0,0) /home/kaos/pike/7.6.25/lib/master.pike:928:
master()->findprog("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/Proxy",".pike",0,0) /home/kaos/pike/7.6.25/lib/master.pike:964:
master()->low_cast_to_program("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/Proxy",0,0,0) /home/kaos/pike/7.6.25/lib/master.pike:1355:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->low_ind("Proxy",0) /home/kaos/pike/7.6.25/lib/master.pike:1412:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->ind("Proxy") /home/kaos/pike/7.6.25/lib/master.pike:1436:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->`[]("Proxy") /home/kaos/pike/7.6.25/lib/master.pike:1586: master()->joinnode(({ /* 1 element */
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod") }))->ind("Proxy") /home/kaos/pike/7.6.25/lib/master.pike:1624: master()->joinnode(({ /* 1 element */
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod") }))->`[]("Proxy") /home/kaos/pike/7.6.25/lib/master.pike:349: master()->compile_string("//$Id: module.pmod 168 2004-12-17 19:58:59Z kaos $\r\n\r\n#include <dls.h>\r\n\r\ni"+[10942],"/home/kaos/dev
/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectMod"+[20],0,object_program(DLS.Lib.RemoteObjectModel),,,1) /home/kaos/pike/7.6.25/lib/master.pike:819:
master()->low_findprog("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/module.pmod","",0,1) /home/kaos/pike/7.6.25/lib/master.pike:933:
master()->findprog("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/module.pmod",".pmod",0,1) /home/kaos/pike/7.6.25/lib/master.pike:964:
master()->low_cast_to_program("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/module",0,0,1) /home/kaos/pike/7.6.25/lib/master.pike:1144:
master()->low_cast_to_object("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/module.pmod",0,0) /home/kaos/pike/7.6.25/lib/master.pike:1342:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->low_ind("module",1) /home/kaos/pike/7.6.25/lib/master.pike:1270:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->module_checker()->`!() /home/kaos/pike/7.6.25/lib/master.pike:1410:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->ind("initialize") /home/kaos/pike/7.6.25/lib/master.pike:1436:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod")->`[]("initialize") /home/kaos/pike/7.6.25/lib/master.pike:1586: master()->joinnode(({ /* 1 element */
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod") }))->ind("initialize") /home/kaos/pike/7.6.25/lib/master.pike:1624: master()->joinnode(({ /* 1 element */
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/RemoteObjectModel.pmod") }))->`[]("initialize") /home/kaos/pike/7.6.25/lib/master.pike:349: master()->compile_string("//$Id: Application.pmod 168 2004-12-17 19:58:59Z kaos $\r\n\r\n#include <dls.h>\r\n\r\ninh"+[3590],"/home/ka
os/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/Application.pmod",0,object_program(DLS.Lib.Application),,,1) /home/kaos/pike/7.6.25/lib/master.pike:819:
master()->low_findprog("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/Application.pmod","",0,1) /home/kaos/pike/7.6.25/lib/master.pike:933:
master()->findprog("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/Application.pmod",".pmod",0,1) /home/kaos/pike/7.6.25/lib/master.pike:964:
master()->low_cast_to_program("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/Application",0,0,1) /home/kaos/pike/7.6.25/lib/master.pike:1144:
master()->low_cast_to_object("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod/Application.pmod",0,0) /home/kaos/pike/7.6.25/lib/master.pike:1342:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod")->low_ind("Application",0) /home/kaos/pike/7.6.25/lib/master.pike:1412:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod")->ind("Application") /home/kaos/pike/7.6.25/lib/master.pike:1436:
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod")->`[]("Application") /home/kaos/pike/7.6.25/lib/master.pike:1586: master()->joinnode(({ /* 1 element */
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod") }))->ind("Application") /home/kaos/pike/7.6.25/lib/master.pike:1624: master()->joinnode(({ /* 1 element */
master()->dirnode("/home/kaos/dev/dls/branches/kaos-work/src/DLS.pmod/Lib.pmod") }))->`[]("Application") /home/kaos/pike/7.6.25/lib/master.pike:349: master()->compile_string("#!/usr/bin/env pike\r\n\r\n//$Id: DLS_boot.pike 161 2004-12-15 13:22:40Z kaos $\r\n\r\n// start new process running DLS module\r\nvoid spa"+[2580],"/home/kaos/dev/dls/branches/kaos-work/src/DLS_boot.pike",0,DLS_boot,0,0) /home/kaos/pike/7.6.25/lib/master.pike:819: master()->low_findprog("/home/kaos/dev/dls/branches/kaos-work/src/DLS_boot",".pike",0,0) /home/kaos/pike/7.6.25/lib/master.pike:934: master()->findprog("/home/kaos/dev/dls/branches/kaos-work/src/DLS_boot","",0,0) /home/kaos/pike/7.6.25/lib/master.pike:964:
master()->low_cast_to_program("/home/kaos/dev/dls/branches/kaos-work/src/DLS_boot","/home/kaos/pike/7.6.25/lib/master.pike",0,0) /home/kaos/pike/7.6.25/lib/master.pike:998:
master()->cast_to_program("/home/kaos/dev/dls/branches/kaos-work/src/DLS_boot","/home/kaos/pike/7.6.25/lib/master.pike",0) DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/Proxy.pike:10:Illegal program pointer. DLS.pmod/Lib.pmod/RemoteObjectModel.pmod/module.pmod:291:Error looking up 'Proxy' in module '.'. DLS.pmod/Lib.pmod/Application.pmod:66:Index 'initialize' not present in module 'RemoteObjectModel'. DLS.pmod/Lib.pmod/Application.pmod:67:Index 'init_ok' not present in module 'RemoteObjectModel'. DLS.pmod/Lib.pmod/Application.pmod:67:Index 'no_server' not present in module 'RemoteObjectModel'. DLS_boot.pike:88:Placeholder already has storage! DLS_boot.pike:88:Error looking up 'Application' in module 'Lib'. Pike: Failed to compile script: Compilation failed.
/home/kaos/pike/7.6.25/lib/master.pike:2650:
master()->_main(({"kpike","-DDEBUG","DLS_boot"}),({"MANPATH=/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/
3.3/man:/usr/X11R6/man::/opt/blackdown-jdk-1.4.2.01/man:/usr/qt/3/doc/man",,,45}))