Discussion:
Compiling flnx-0.16
David Burgos Prieto
2002-04-09 11:54:41 UTC
Permalink
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.
David Burgos Prieto
2002-04-11 09:03:32 UTC
Permalink
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.
Radio book
2002-04-12 03:26:50 UTC
Permalink
It is just because some g++ version did not support #define with \ replacing line feed. You can find it. I did not remember where it stay.
Post by David Burgos Prieto
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?
In file included from jstree.h:36,
../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:43: parse error before `}' token
In file included from jstree.h:69,
jsexec.h:110: field `objectList' has incomplete type
jsexec.h:107: `objectList' undeclared (first use this function)
(a lot more...)
jsexec.h:316: field `name' has incomplete type
jsexec.h:291: `name' undeclared (first use this function)
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:55: 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>'
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.
scr_x11.o(.text+0xc3): undefined reference to `XLookupColor'
scr_x11.o(.text+0xdc): undefined reference to `XAllocColor'
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
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.
<< msg2.html >>
------------------------------------------------------------
PoorMail.com is a Taste Maker Company
Copyright 2000-2002 Taste Maker Company. All rights reserved.


---------------------------------------------------------------------
Express yourself with a super cool email address from BigMailBox.com.
Hundreds of choices. It's free!
http://www.bigmailbox.com
---------------------------------------------------------------------

#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
David Burgos Prieto
2002-04-12 11:11:05 UTC
Permalink
Thanks a lot for your answer :) but I think that this is not really the
problem. In fact I have tested that my version of g++ accepts \ as line
feeds to be sure... I'll keep on searching for a solution, but any
additional help will be welcome.

----- Original Message -----
From: "Radio book" <***@poormail.com>
To: "ViewML development list" <viewml-***@viewml.com>
Sent: Friday, April 12, 2002 5:26 AM
Subject: Re: Compiling flnx-0.16
Post by Radio book
It is just because some g++ version did not support #define with \
replacing line feed. You can find it. I did not remember where it stay.
Prieto" <***@tid.es> Re: Compiling flnx-0.16Date: Thu, 11 Apr 2002
11:03:32 +0200
Post by Radio book
Post by David Burgos Prieto
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?
Post by Radio book
Post by David Burgos Prieto
In file included from jstree.h:36,
../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
Post by Radio book
Post by David Burgos Prieto
(a lot more...)
../src/fltk/qlist.h:16: `int count()' previously defined here
../src/fltk/qstack.h:43: parse error before `}' token
In file included from jstree.h:69,
jsexec.h:110: field `objectList' has incomplete type
jsexec.h:107: `objectList' undeclared (first use this function)
(a lot more...)
jsexec.h:316: field `name' has incomplete type
jsexec.h: In member function `virtual void
jsexec.h:291: `name' undeclared (first use this function)
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: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*,
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
Post by Radio book
Post by David Burgos Prieto
compilation of flnx-0.16 simply by reading some posts in this mailing
list.
Post by Radio book
Post by David Burgos Prieto
scr_x11.o(.text+0xc3): undefined reference to `XLookupColor'
scr_x11.o(.text+0xdc): undefined reference to `XAllocColor'
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
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.
<< msg2.html >>
------------------------------------------------------------
PoorMail.com is a Taste Maker Company
Copyright 2000-2002 Taste Maker Company. All rights reserved.
---------------------------------------------------------------------
Express yourself with a super cool email address from BigMailBox.com.
Hundreds of choices. It's free!
http://www.bigmailbox.com
---------------------------------------------------------------------
#############################################################
This message is sent to you because you are subscribed to
#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
Loading...