octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build error: __init_fltk__ missing


From: John W. Eaton
Subject: Re: Build error: __init_fltk__ missing
Date: Thu, 5 Nov 2009 10:06:33 -0500

On  5-Nov-2009, John W. Eaton wrote:

| On  5-Nov-2009, John W. Eaton wrote:
| 
| | On  5-Nov-2009, Michael Godfrey wrote:
| | 
| | | Build from same source without the automake patch
| | | runs OK.
| | | 
| | | This is using Fedora FC11 x86_64.
| | 
| | It works for me on a Debian system.  Is HAVE_FLTK defined in your
| | config.h file with the patched version?  If not, what does config.log
| | tell you about FLTK library detection?
| 
| Oops, sorry, I see the problem now.  The file
| src/DLD-FUNCTIONS/PKG_ADD is missing some entries.  I'll see if I can
| fix that.

Try the following change.  You may also need to remove the
src/DLD-FUNCTIONS/fltk_backend.df file from your build tree because
the .df files don't list the Makefile as a dependency.

Thanks,

jwe

diff --git a/src/Makefile.am b/src/Makefile.am
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -67,8 +67,9 @@
        @(echo "// DO NOT EDIT!  Generated automatically by mkdefs." ; \
          echo " XDEFUN_FILE_NAME (\"$<\")" ; \
          egrep '^(///*|/\*) *PKG_ADD:' $< ; \
-         $(CXXCPP) $(AM_CPPFLAGS) $(CPPFLAGS) -DMAKE_BUILTINS $< \
-           | $(srcdir)/mkdefs) > address@hidden
+         $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+           $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \
+           -DMAKE_BUILTINS $< | $(srcdir)/mkdefs) > address@hidden
        @mv address@hidden $@
 
 OPT_HANDLERS = \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]