[JDEV] Server module compile problem

David Barth dbarth at idealx.com
Tue Jan 30 03:00:41 CST 2001


Glenn MacGregor a écrit :
> 
> Hi All,
> 
> I am writing a server module and I have a simple one working, now I need
> to get more complex.  I have added a xmlnode into it, by
> xmlnode nx;
> I include "jsm.h"  just like all the other modules which use xmlnode.  I
> am getting a compile error: parse error before nx
> 
> So the compiler knows about xmlnode otherwise it would give some error
> like xmlnode undefined identifier.

On the contrary, it doesn't know about xmlnode, that's why it cannot
parse the program after seeing 'xmlnode'.

> I have changed the makefiles in modules and jsm to include my module so
> it is getting compiled exatcly like all the others.

There's something weird with your compilation environnement.
Can you send a portion of your source file or a make log ?
Do other modules compile cleanly ? Have you tried to ./configure again
and recompile all sources to see if something changed ?

-- 
dbarth




More information about the JDev mailing list