Re: GARNOME and libIDL Compliation Issues



On Fri, 2003-11-21 at 15:26, Alexander Winston wrote:
> 	I seem to be having some problems compiling libIDL. I am using GARNOME
> from CVS as of a few minutes ago on Debian GNU/Linux Sid. The version of
> libidl0 that is currently installed is 0.8.2-1 and libidl-dev is version
> 0.8.2-1 as well.

Just a sidenote: unless my memory is bad, you should use the tarballs
from the GARNOME homepage ... CVS is rather out of date (for example,
0.27.1 + my patches [2.4], or hacking-0.28 [2.5] both ship libIDL 0.8.2
-- CVS only has 0.8.0)

The attached patch should fix the bug for libIDL 0.8.0, but given I
can't duplicate this issue under my GARNOME tree with libIDL 0.8.2 and
flex 2.5.31 -- it might be safer to redo your install from a tarball
instead.

Regards,

Paul

diff -urN libIDL-0.8.0-orig/Makefile.in libIDL-0.8.0/Makefile.in
--- libIDL-0.8.0-orig/Makefile.in	2002-06-03 10:17:24.000000000 +0800
+++ libIDL-0.8.0/Makefile.in	2003-03-20 16:05:46.000000000 +0800
@@ -95,6 +95,9 @@
 WARN_CFLAGS = @WARN_CFLAGS@
 YACC = @YACC@
 
+# TODO: check PLATFORM_WIN32 in configure and modify Makefile.am
+no_undefined = -no-undefined
+
 INCLUDES =  	-DYYDEBUG=1                    	-DYYERROR_VERBOSE=1            	-DIDL_LIBRARY                  	$(LIBIDL_CFLAGS)               	-DG_LOG_DOMAIN=\"libIDL\"      	$(WARN_CFLAGS)
 
 
@@ -118,7 +121,7 @@
 
 libIDL_2_la_SOURCES = parser.c parser.h lexer.c 			  ns.c util.c util.h rename.h
 
-libIDL_2_la_LDFLAGS = -version-info $(LT_VERSION) $(LIBIDL_LIBS)
+libIDL_2_la_LDFLAGS = -version-info $(LT_VERSION) $(no_undefined) $(LIBIDL_LIBS)
 
 tstidl_SOURCES = tstidl.c
 tstidl_LDADD = libIDL-2.la $(LIBIDL_LIBS)


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