linbox 1.3.x and --disable-static

8 views
Skip to first unread message

Julien Puydt

unread,
Jun 10, 2012, 11:12:16 AM6/10/12
to linbox...@googlegroups.com
Hi,

I suggest to apply the following patch :
diff -ur linbox-1.3.2.orig/tests/Makefile.am linbox-1.3.2/tests/Makefile.am
--- linbox-1.3.2.orig/tests/Makefile.am 2012-06-10 16:52:36.000000000 +0200
+++ linbox-1.3.2/tests/Makefile.am      2012-06-10 16:52:52.000000000 +0200
@@ -22,7 +22,7 @@
 
 AM_CPPFLAGS=-I$(top_srcdir) -I$(top_srcdir)/linbox
 # AM_LDFLAGS = -llapack -lcblas -latlas
-AM_LDFLAGS = $(top_srcdir)/linbox/.libs/liblinbox.a
+AM_LDFLAGS = $(top_srcdir)/linbox/liblinbox.la
 #  SAFER_FLAGS = -g -Wall -Wextra -Wno-unused-parameter
 # bds: no need to optimize for unit/regression tests, and opt adds a lot to compilation time
 #AM_CXXFLAGS = @TESTS_CFLAGS@ -DLinBoxSrcOnly


because when building with --disable-static, there is no linbox.a.

It is better to point to linbox.la, as it is then libtool's problem to decide what to link to, and how.

Hope that helps,

Snark on #sagemath

Martin Albrecht

unread,
Jun 11, 2012, 4:35:19 AM6/11/12
to linbox...@googlegroups.com
Hi, I forwarded the suggestion to Brice from the LinBox team.
Cheers,
Martin

--
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://martinralbrecht.wordpress.com/
_jab: martinr...@jabber.ccc.de

Brice Boyer

unread,
Jun 11, 2012, 5:03:34 AM6/11/12
to linbox...@googlegroups.com, Martin Albrecht
ok with me. just put it in trunk.

2012/6/11 Martin Albrecht <martinr...@googlemail.com>

--
You received this message because you are subscribed to the Google Groups "linbox-devel" group.
To post to this group, send email to linbox...@googlegroups.com.
To unsubscribe from this group, send email to linbox-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/linbox-devel?hl=en.




--
                                                      Brice Boyer.
____________________________________________________________
brice...@imag.fr                                     Tél. +33(0)4 76 51 45 61
Université Joseph Fourier, Grenoble I.
Laboratoire Jean Kuntzmann, Mathématiques Appliquées et Informatique
LJK - UJF  BP53 38041 Grenoble cedex FRANCE
http://ljk.imag.fr/membres/Brice.Boyer
____________________________________________________________

Martin Albrecht

unread,
Jun 16, 2012, 1:15:53 PM6/16/12
to linbox...@googlegroups.com
I'll put that in the SPKG and it's applied to LinBox trunk, thanks.
> --
> You received this message because you are subscribed to the Google Groups
> "linbox-devel" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/linbox-devel/-/vIZxXjrdEN0J.
> To post to this group, send email to linbox...@googlegroups.com.
> To unsubscribe from this group, send email to
> linbox-devel...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/linbox-devel?hl=en.



--
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://martinralbrecht.wordpress.com
_jab: martinr...@jabber.ccc.de
Reply all
Reply to author
Forward
0 new messages