On Monday 03 September 2001 15:21, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> 
> | On Monday 03 September 2001 14:40, Yves Bastide wrote:
> | > On Mon, Sep 03, 2001 at 03:44:48PM +0200, Edwin Leuven wrote:
> | > > in today's cvs:
> | > > 
> | > > main.o: In function 
> | > > `__default_alloc_template<true,0>::_S_chunk_alloc(unsigned int, int 
&)': 
> | > > /usr/include/g++-3/stl_alloc.h:467: undefined reference to 
> | > > `GUIRunTime::initApplication(int, char **)'
> | > > collect2: ld returned 1 exit status
> | > a full rebuild (make distclean; ./autogen.sh; ./configure; ./make)
> | > corrected it for me (may be too much)
> | > > 
> | > > thanks, gr.ed.
> | 
> | Far too much! Just "touch main.C" will do the trick. 
> | 
> | Anybody know what's gone wrong with the dependencies though?
> 
> dependencies for main have to be added manually to the Makefile.am

Interesting. Why?

Anyway, shall I commit this.
Angus

Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.318
diff -u -p -r1.318 ChangeLog
--- src/ChangeLog       2001/09/03 10:04:46     1.318
+++ src/ChangeLog       2001/09/03 14:34:19
@@ -1,3 +1,7 @@
+2001-09-02  Angus Leeming  <[EMAIL PROTECTED]>
+
+       * Makefile.am: add dependencies to main.o.
+
 2001-09-03  Michael Schmitt <[EMAIL PROTECTED]>
 
        * FontInfo.C (query):
Index: src/Makefile.am
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/Makefile.am,v
retrieving revision 1.91
diff -u -p -r1.91 Makefile.am
--- src/Makefile.am     2001/09/01 21:25:55     1.91
+++ src/Makefile.am     2001/09/03 14:34:19
@@ -226,7 +226,8 @@ lyx_main.o: lyx_main.C lyx_main.h config
        $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
          -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
 
-main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
+main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
+       support/os.h frontends/GUIRunTime.h
        $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
 
 dist-hook:

Reply via email to