Discussion:
flnx-0.16 compile error?
Marko Mlinar
2002-03-11 12:19:26 UTC
Permalink
Hi!

I was trying to compile the flnx-0.16 library, available from your site,
with the attempt to run your browser first on Linux (Redhat 7.0) with
microwindows.
I get strange compile error (look below). I've tried it with different
configurations, but the error remained. Let me specify two:

./configure --with-x --prefix=/projects/viewml/flnx-bin --with-microwin=/pro
jects/mw/markom/mw/src/ --with-xdrivers
./configure --prefix=/projects/viewml/flnx-bin

(host is i686-pc-linux-gnu)

Thanks for any help,

Marko

[***@odin /projects/viewml/markom/flnx]# make
=== making src ===
make[1]: Entering directory `/projects/viewml/markom/flnx/src'
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Animator.cxx
Fl_Animator.cxx: In method `Fl_Animator::Fl_Animator (char *const *,
int, int, int, int, int, int, const char *)':
Fl_Animator.cxx:47: `printf' undeclared (first use this function)
Fl_Animator.cxx:47: (Each undeclared identifier is reported only once
for each function it appears in.)
Fl_Animator.cxx:35: warning: unused variable `int x'
Fl_Animator.cxx:35: warning: unused variable `int y'
make[1]: *** [Fl_Animator.o] Error 1
make[1]: Leaving directory `/projects/viewml/markom/flnx/src'
=== making fluid ===
make[1]: Entering directory `/projects/viewml/markom/flnx/fluid'
c++ -I.. -O2 -Wall -Wno-return-type -c gif.cxx
make[1]: *** No rule to make target `../lib/libfltk.a', needed by `fluid'.
Stop.
make[1]: Leaving directory `/projects/viewml/markom/flnx/fluid'
=== making test ===
make[1]: Entering directory `/projects/viewml/markom/flnx/test'
make[1]: *** No rule to make target `../lib/libfltk.a', needed by
`valuators'. Stop.
make[1]: Leaving directory `/projects/viewml/markom/flnx/test'
make: *** [all] Error 2
[***@odin /projects/viewml/markom/flnx]# make clean all
=== cleaning src ===
make[1]: Entering directory `/projects/viewml/markom/flnx/src'
make[1]: Leaving directory `/projects/viewml/markom/flnx/src'
=== cleaning fluid ===
make[1]: Entering directory `/projects/viewml/markom/flnx/fluid'
make[1]: Leaving directory `/projects/viewml/markom/flnx/fluid'
=== cleaning test ===
make[1]: Entering directory `/projects/viewml/markom/flnx/test'
make[1]: Leaving directory `/projects/viewml/markom/flnx/test'
=== making src ===
make[1]: Entering directory `/projects/viewml/markom/flnx/src'
c++ -I.. -O2 -Wall -Wno-return-type -c Fl.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Adjuster.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Animator.cxx
Fl_Animator.cxx: In method `Fl_Animator::Fl_Animator (char *const *,
int, int, int, int, int, int, const char *)':
Fl_Animator.cxx:47: `printf' undeclared (first use this function)
Fl_Animator.cxx:47: (Each undeclared identifier is reported only once
for each function it appears in.)
Fl_Animator.cxx:35: warning: unused variable `int x'
Fl_Animator.cxx:35: warning: unused variable `int y'
make[1]: *** [Fl_Animator.o] Error 1
make[1]: Leaving directory `/projects/viewml/markom/flnx/src'
=== making fluid ===
make[1]: Entering directory `/projects/viewml/markom/flnx/fluid'
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Function_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Menu_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Group_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Widget_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Window_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fluid_Image.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c code.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c factory.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c file.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c fluid.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c about_panel.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c widget_panel.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c alignment_panel.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c function_panel.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c gif.cxx
make[1]: *** No rule to make target `../lib/libfltk.a', needed by `fluid'.
Stop.
make[1]: Leaving directory `/projects/viewml/markom/flnx/fluid'
=== making test ===
make[1]: Entering directory `/projects/viewml/markom/flnx/test'
make[1]: *** No rule to make target `../lib/libfltk.a', needed by
`valuators'. Stop.
make[1]: Leaving directory `/projects/viewml/markom/flnx/test'
make: *** [all] Error 2




#############################################################
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>
Jordan Crouse
2002-03-11 15:16:06 UTC
Permalink
Either add #include <stdio.h> to the file or get the latest tree from
CVS.

Jordan
Post by Marko Mlinar
Hi!
I was trying to compile the flnx-0.16 library, available from your site,
with the attempt to run your browser first on Linux (Redhat 7.0) with
microwindows.
I get strange compile error (look below). I've tried it with different
./configure --with-x --prefix=/projects/viewml/flnx-bin --with-microwin=/pro
jects/mw/markom/mw/src/ --with-xdrivers
./configure --prefix=/projects/viewml/flnx-bin
(host is i686-pc-linux-gnu)
Thanks for any help,
Marko
=== making src ===
make[1]: Entering directory `/projects/viewml/markom/flnx/src'
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Animator.cxx
Fl_Animator.cxx: In method `Fl_Animator::Fl_Animator (char *const *,
Fl_Animator.cxx:47: `printf' undeclared (first use this function)
Fl_Animator.cxx:47: (Each undeclared identifier is reported only once
for each function it appears in.)
Fl_Animator.cxx:35: warning: unused variable `int x'
Fl_Animator.cxx:35: warning: unused variable `int y'
make[1]: *** [Fl_Animator.o] Error 1
make[1]: Leaving directory `/projects/viewml/markom/flnx/src'
=== making fluid ===
make[1]: Entering directory `/projects/viewml/markom/flnx/fluid'
c++ -I.. -O2 -Wall -Wno-return-type -c gif.cxx
make[1]: *** No rule to make target `../lib/libfltk.a', needed by `fluid'.
Stop.
make[1]: Leaving directory `/projects/viewml/markom/flnx/fluid'
=== making test ===
make[1]: Entering directory `/projects/viewml/markom/flnx/test'
make[1]: *** No rule to make target `../lib/libfltk.a', needed by
`valuators'. Stop.
make[1]: Leaving directory `/projects/viewml/markom/flnx/test'
make: *** [all] Error 2
=== cleaning src ===
make[1]: Entering directory `/projects/viewml/markom/flnx/src'
make[1]: Leaving directory `/projects/viewml/markom/flnx/src'
=== cleaning fluid ===
make[1]: Entering directory `/projects/viewml/markom/flnx/fluid'
make[1]: Leaving directory `/projects/viewml/markom/flnx/fluid'
=== cleaning test ===
make[1]: Entering directory `/projects/viewml/markom/flnx/test'
make[1]: Leaving directory `/projects/viewml/markom/flnx/test'
=== making src ===
make[1]: Entering directory `/projects/viewml/markom/flnx/src'
c++ -I.. -O2 -Wall -Wno-return-type -c Fl.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Adjuster.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Animator.cxx
Fl_Animator.cxx: In method `Fl_Animator::Fl_Animator (char *const *,
Fl_Animator.cxx:47: `printf' undeclared (first use this function)
Fl_Animator.cxx:47: (Each undeclared identifier is reported only once
for each function it appears in.)
Fl_Animator.cxx:35: warning: unused variable `int x'
Fl_Animator.cxx:35: warning: unused variable `int y'
make[1]: *** [Fl_Animator.o] Error 1
make[1]: Leaving directory `/projects/viewml/markom/flnx/src'
=== making fluid ===
make[1]: Entering directory `/projects/viewml/markom/flnx/fluid'
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Function_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Menu_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Group_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Widget_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fl_Window_Type.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c Fluid_Image.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c code.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c factory.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c file.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c fluid.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c about_panel.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c widget_panel.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c alignment_panel.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c function_panel.cxx
c++ -I.. -O2 -Wall -Wno-return-type -c gif.cxx
make[1]: *** No rule to make target `../lib/libfltk.a', needed by `fluid'.
Stop.
make[1]: Leaving directory `/projects/viewml/markom/flnx/fluid'
=== making test ===
make[1]: Entering directory `/projects/viewml/markom/flnx/test'
make[1]: *** No rule to make target `../lib/libfltk.a', needed by
`valuators'. Stop.
make[1]: Leaving directory `/projects/viewml/markom/flnx/test'
make: *** [all] Error 2
#############################################################
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...