Panel compilation problems (and fix)



I updated my snapshot this morning and have managed build gnome-core
on FreeBSD (woohoo!).  I did find that panel/Makefile tries to build
logout_applet as a C application but some of its components use C++
and so compilation aborts complaining that it can't find ostream and a
bunch of other things.  I patched the Makefile to make it work
(context diff below), but this should be directly applicable to the
Makefile.in in the cvstree.

Cheers;

Nat

gnat@prometheus (gnome-core) diff -c panel/Makefile~ panel/Makefile
*** panel/Makefile~     Thu Apr  2 11:46:24 1998
--- panel/Makefile      Thu Apr  2 14:35:39 1998
***************
*** 339,345 ****
  
  logout_applet: $(logout_applet_OBJECTS) $(logout_applet_DEPENDENCIES)
        @rm -f logout_applet
!       $(LINK) $(logout_applet_LDFLAGS) $(logout_applet_OBJECTS) $(logout_applet_LDADD) $(LIBS)
  
  launcher_applet: $(launcher_applet_OBJECTS) $(launcher_applet_DEPENDENCIES)
        @rm -f launcher_applet
--- 339,345 ----
  
  logout_applet: $(logout_applet_OBJECTS) $(logout_applet_DEPENDENCIES)
        @rm -f logout_applet
!       $(CXXLINK) $(logout_applet_LDFLAGS) $(logout_applet_OBJECTS) $(logout_applet_LDADD) $(LIBS)
  
  launcher_applet: $(launcher_applet_OBJECTS) $(launcher_applet_DEPENDENCIES)
        @rm -f launcher_applet



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