Re: Compiling flnx-0.16
"David Burgos Prieto" <[email protected]> Thu, 11 Apr 2002 11:03:32 +0200
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
OK, my problem has been solved just upgrading the version of the Linux kernel. But now I can“t compile ViewML and I suspect that it could be a versions problem too. I am trying to install viewml-0.18 with flnx-0.16, imlib-1.9.8.1 and w3c-libwww-5.2.8, using the microwindows version which comes in the package microwindows-0.88pre5b.tar.gz. Is it correct?
The errors I get are the following:
In file included from jstree.h:36,
from cpp2bison.cpp:21:
../src/fltk/qstring.h:16: parse error before `{' token
../src/fltk/qstring.h:21: parse error before `int'
../src/fltk/qstring.h:22: parse error before `const'
../src/fltk/qstring.h:22: ISO C++ forbids declaration of `m_bNull' with no type
(a lot more...)
../src/fltk/qlist.h:16: `int count()' previously defined here
../src/fltk/qstack.h: At global scope:
../src/fltk/qstack.h:43: parse error before `}' token
In file included from jstree.h:69,
from cpp2bison.cpp:21:
jsexec.h:110: field `objectList' has incomplete type
jsexec.h: In member function `QList<JSObject>* JSScope::getObjectList()':
jsexec.h:107: `objectList' undeclared (first use this function)
(a lot more...)
jsexec.h: At global scope:
jsexec.h:316: field `name' has incomplete type
jsexec.h: In member function `virtual void JSVariableObject::setName(const char*)':
jsexec.h:291: `name' undeclared (first use this function)
In file included from cpp2bison.cpp:21:
jstree.h: At global scope:
jstree.h:167: field `name' has incomplete type
jstree.h:184: field `name' has incomplete type
jstree.h:204: field `name' has incomplete type
jstree.h:278: field `name' has incomplete type
cpp2bison.cpp: In function `void jsAppendCode(void*)':
cpp2bison.cpp:55: invalid use of undefined type `class QList<JSNode>'
../src/fltk/qlist.h:8: forward declaration of `class QList<JSNode>'
cpp2bison.cpp: In function `int parseJavaScript(const char*, JSCode*, JSScope*)':
cpp2bison.cpp:124: invalid use of undefined type `class QList<JSNode>'
../src/fltk/qlist.h:8: forward declaration of `class QList<JSNode>'
cpp2bison.cpp:124: invalid use of undefined type `class QList<JSNode>'
../src/fltk/qlist.h:8: forward declaration of `class QList<JSNode>'
make[1]: *** [cpp2bison.o] Error 1
make: *** [jscript] Error 2
Any idea?
----- Original Message -----
From: David Burgos Prieto
To: ViewML development list
Sent: Tuesday, April 09, 2002 1:54 PM
Subject: Compiling flnx-0.16
Hi everyone.
I am trying to compile flnx-0.16 in order to use ViewML. I have already
installed and tested microwindows, and solved some problems related to the
compilation of flnx-0.16 simply by reading some posts in this mailing list.
But now I get the following errors:
/usr/lib/libmwdrivers.a(scr_x11.o): In function `lookup_color':
scr_x11.o(.text+0xc3): undefined reference to `XLookupColor'
scr_x11.o(.text+0xdc): undefined reference to `XAllocColor'
/usr/lib/libmwdrivers.a(scr_x11.o): In function `select_visual':
scr_x11.o(.text+0x222): undefined reference to `XDefaultVisual'
(a lot more undefined references...)
kbd_x11.o(.text+0x62a): undefined reference to `XChangePointerControl'
collect2: ld returned 1 exit status
make[1]: *** [fluid] Error 1
/usr/lib/libmwdrivers.a(scr_x11.o): In function `lookup_color':
scr_x11.o(.text+0xc3): undefined reference to `XLookupColor'
scr_x11.o(.text+0xdc): undefined reference to `XAllocColor'
(... and more undefined references yet)
kbd_x11.o(.text+0x62a): undefined reference to `XChangePointerControl'
collect2: ld returned 1 exit status
make[1]: *** [valuators] Error 1
make: *** [all] Error 2
Can anyone help me, please?
Thanks in advance.
David.