Re: cvs build



Havoc Pennington <hp redhat com> writes:

> Hi,
> 
> For a couple weeks both 2.2 and HEAD (b-a isn't branched I guess)
> bonobo-activation have been failing for me with a long undefined
> reference list:
> 
>  client.o(.text+0x27d): In function `main':
> /cvs/gnome-cvs/bonobo-activation/server/client.c:140: undefined
> reference to `Bonobo_ActivationContext_query'
> client.o(.text+0x36e):/cvs/gnome-cvs/bonobo-activation/server/client.c:183:
> undefined reference to `Bonobo_ActivationContext_activateMatching'
> ../bonobo-activation/.libs/libbonobo-activation.so: undefined
> reference to `Bonobo_ObjectDirectory_unregister'
> 
> I assumed this was some local screwup. However last night I 
> blew away all my CVS checkouts and my entire install and started
> clean, and it still happened. 
> 
> This morning though libbonobo is hosed instead - Michael, are you
> still working on it or are you ready for bug reports?
> 
> In any case - has anyone else been seeing the bonobo-activation
> failure on 2.2 or head?

The following patch should make it work, though it requires upgrading to
automake-1.7.  James, what's the status of moving parts of GNOME to 1.7?

Thanks,
-Jonathan


? autom4te.cache
? stamp-h1
? server/test-performance
Index: autogen.sh
===================================================================
RCS file: /cvs/gnome/bonobo-activation/autogen.sh,v
retrieving revision 1.6
diff -u -r1.6 autogen.sh
--- autogen.sh	27 Mar 2003 05:13:18 -0000	1.6
+++ autogen.sh	7 Apr 2003 17:29:13 -0000
@@ -5,6 +5,7 @@
 test -z "$srcdir" && srcdir=.
 
 PKG_NAME="bonobo-activation"
+REQUIRED_AUTOMAKE_VERSION=1.7
 
 (test -f $srcdir/configure.in \
   && test -f $srcdir/HACKING \
Index: bonobo-activation/Makefile.am
===================================================================
RCS file: /cvs/gnome/bonobo-activation/bonobo-activation/Makefile.am,v
retrieving revision 1.43
diff -u -r1.43 Makefile.am
--- bonobo-activation/Makefile.am	17 Dec 2002 11:02:07 -0000	1.43
+++ bonobo-activation/Makefile.am	7 Apr 2003 17:29:13 -0000
@@ -12,7 +12,7 @@
 	-DG_DISABLE_DEPRECATED			\
 	$(NULL)
 
-LDFLAGS=					\
+AM_LDFLAGS=					\
 	$(BONOBO_ACTIVATION_LIBS)		\
 	@LT_VERSION_INFO@			\
 	$(NULL)
Index: test/Makefile.am
===================================================================
RCS file: /cvs/gnome/bonobo-activation/test/Makefile.am,v
retrieving revision 1.30
diff -u -r1.30 Makefile.am
--- test/Makefile.am	21 Jun 2002 09:20:41 -0000	1.30
+++ test/Makefile.am	7 Apr 2003 17:29:13 -0000
@@ -23,7 +23,6 @@
 	empty-common.c			\
 	empty.h				\
 	empty-stubs.c			\
-	plugin-common.c			\
 	plugin.h			\
 	plugin-stubs.c			\
 	$(NULL)
@@ -81,7 +80,11 @@
 	-I$(top_builddir)		\
 	-DG_DISABLE_DEPRECATED $(UTILS_CFLAGS)
 
-LDADD=../bonobo-activation/libbonobo-activation.la $(UTILS_LIBS)
+LDADD=../bonobo-activation/libbonobo-activation.la $(UTILS_LIBS) 	\
+	libtest-plugin.la		\
+	$(NULL)
+
+
 
 serverfiles=empty.server broken.server plugin.server
 


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