Hi,

in the actual CVS version tree, search.c does not build, due to the error:

,----
| search.c:27:29: modules/modules.h: Datei oder Verzeichnis nicht gefunden
| search.c:1623: variable `search_history_module' has initializer but 
incomplete type
| search.c:1623: warning: implicit declaration of function `struct_module'
| search.c:1623: storage size of `search_history_module' isn't known
`----

This can be fixed via the inclusion of `modules/module.h':

Index: search.c
===================================================================
RCS file: /var/cvs/elinks/elinks/src/viewer/text/search.c,v
retrieving revision 1.316
diff -u -r1.316 search.c
--- search.c    7 Apr 2005 11:32:25 -0000       1.316
+++ search.c    12 Apr 2005 07:49:49 -0000
@@ -24,6 +24,7 @@
 #include "document/document.h"
 #include "document/view.h"
 #include "intl/gettext/libintl.h"
+#include "modules/module.h"
 #include "sched/event.h"
 #include "sched/session.h"
 #include "terminal/screen.h"

configure parameters has been:

,----
| ./configure \
|             --with-perl \
|             --with-openssl \
|             --with-x \
|             --enable-cgi \
|             --enable-finger \
|             --enable-nntp \
|             --enable-256-colors \
|             --enable-exmode \
|             --disable-leds \
|             --enable-html-highlight \
|             --enable-no-root \
|             --enable-fastmem
`----

Alex

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to