On Thu, Jul 04, 2002 at 03:20:14AM -0700, Kayvan A. Sylvan wrote: > On Thu, Jul 04, 2002 at 11:42:19AM +0200, [EMAIL PROTECTED] wrote: > > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> schrieb am 04.07.2002, 08:05:14: > > > > > Can you describe your problem a bit more? > > > > Yes, I get undefined references when linking. For example, "fl_readpint" > > is not found (+ many others). I called "nm libforms.a" and it is there > > definitely (and lyx-devel worked well before your modification). > > Can you try this patch?
Okay. Can someone with commit priviledges put the following change in? It needs to go to the trunk and the 1.2.1 branch, I think. It reverts the order of libraries for all non-Cygwin platforms. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Index: ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/ChangeLog,v retrieving revision 1.870 diff -u -r1.870 ChangeLog --- ChangeLog 2002/07/03 12:33:07 1.870 +++ ChangeLog 2002/07/04 17:58:41 @@ -1,3 +1,8 @@ +2002-07-04 Kayvan A. Sylvan <[EMAIL PROTECTED]> + + * configure.in (LYX_USE_FRONTEND): The order of libraries is + now dependant on the $host variable. + 2002-07-03 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * INSTALL: document --enable-debug Index: configure.in =================================================================== RCS file: /cvs/lyx/lyx-devel/configure.in,v retrieving revision 1.134 diff -u -r1.134 configure.in --- configure.in 2002/07/03 10:02:12 1.134 +++ configure.in 2002/07/04 17:58:41 @@ -171,7 +171,14 @@ FRONTEND="xforms" FRONTEND_GUILIB="xforms/*.lo xforms/forms/*.lo" FRONTEND_INCLUDES="-I\$(srcdir)/xforms" - FRONTEND_LIBS="@XFORMS_LIB@ @XFORMS_IMAGE_LIB@ @XPM_LIB@" + case "$host" in + *cygwin) + FRONTEND_LIBS="@XFORMS_LIB@ @XFORMS_IMAGE_LIB@ @XPM_LIB@" + ;; + *) + FRONTEND_LIBS="@XFORMS_IMAGE_LIB@ @XFORMS_LIB@ @XPM_LIB@" + ;; + esac FRONTEND_INFO=`cat <<EOF libXpm version: ${XPM_VERSION}\n\ libforms version: ${XFORMS_VERSION}\n
msg40350/pgp00000.pgp
Description: PGP signature