Gentoo Archives: gentoo-science

From: Pablo De Napoli <pdenapo@×××××.com>
To: gentoo-science@l.g.o
Subject: [gentoo-science] problems compiling freemat from science overlay
Date: Fri, 13 Jul 2007 14:12:01
Message-Id: 155538.66237.qm@web56701.mail.re3.yahoo.com
1 Hi
2
3 I'm having problems compiling sci-mathematics/freemat-3.2 from science overlay.
4 (on a Gentoo/x86 host)
5
6 My error mesages are reported below:
7
8 I'm using
9
10 gcc-4.1.2
11 binutils-2.17
12
13 My USE flags (reported by emerge -p sci-mathematics/freemat) are
14
15 USE="arpack fftw ncurses umfpack -ffcall"
16
17 Any help is wellcome!
18
19 best regards.
20 Pablo
21
22 PD: I don't know where should I report the bugs in the science overlay package. In list
23 list? In bugzilla?
24 In the gentoo science site? (which seems to be broken, gives "internal server error")
25
26 Here are the error messages
27
28 Making all in src
29 make[1]: Entering directory
30 `/var/tmp/portage/sci-mathematics/freemat-3.2/work/FreeMat-3.2/src'
31 make all-am
32 make[2]: Entering directory
33 `/var/tmp/portage/sci-mathematics/freemat-3.2/work/FreeMat-3.2/src'
34 i686-pc-linux-gnu-g++ -O3 -march=athlon -funroll-loops -pipe -fomit-frame-pointer -o
35 FreeMat application.o FuncMode.o FuncTerminal.o MainApp.o main.o DumbTerminal.o
36 Terminal.o application.moc.o FuncMode.moc.o MainApp.moc.o Terminal.moc.o
37 DumbTerminal.moc.o FreeMat_qrc.o ..//libs/libCore/libCore.a ..//libs/libFN/libFN.a
38 ..//libs/libGraphics/libGraphics.a ..//libs/libFreeMat/libFreeMat.a
39 ..//libs/libXP/libXP.a ..//libs/libMex/libMex.a -L/usr/lib/qt4 -lQtOpenGL -lGLU -lGL
40 -lQtGui -laudio -lXt -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lfreetype
41 -lfontconfig -lXext -lX11 -lQtNetwork -lQtXml -lQtCore -lz -lm -lrt -lpthread -ldl -lz
42 -larpack -lfftw3 -lfftw3f -lumfpack -lamd -llapack -lblas -lpcre -lncurses
43 -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2
44 -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/lib
45 -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../.. -lncurses -lgfortranbegin -lgfortran -lm
46 -lgcc_s
47 ..//libs/libFreeMat/libFreeMat.a(Sparse.o): In function `unsigned int
48 slo_ge_complex<float>(float, float, float, float)':
49 Sparse.cpp:(.text._Z14slo_ge_complexIfEjT_S0_S0_S0_[unsigned int
50 slo_ge_complex<float>(float, float, float, float)]+0x13): undefined reference to `float
51 complex_abs<float>(float, float)'
52 Sparse.cpp:(.text._Z14slo_ge_complexIfEjT_S0_S0_S0_[unsigned int
53 slo_ge_complex<float>(float, float, float, float)]+0x2b): undefined reference to `float
54 complex_abs<float>(float, float)'
55 ..//libs/libFreeMat/libFreeMat.a(Sparse.o): In function `unsigned int
56 slo_le_complex<float>(float, float, float, float)':
57 Sparse.cpp:(.text._Z14slo_le_complexIfEjT_S0_S0_S0_[unsigned int
58 slo_le_complex<float>(float, float, float, float)]+0x13): undefined reference to `float
59 complex_abs<float>(float, float)'
60 Sparse.cpp:(.text._Z14slo_le_complexIfEjT_S0_S0_S0_[unsigned int
61 slo_le_complex<float>(float, float, float, float)]+0x2b): undefined reference to `float
62 complex_abs<float>(float, float)'
63 ..//libs/libFreeMat/libFreeMat.a(Sparse.o): In function `unsigned int
64 slo_gt_complex<float>(float, float, float, float)':
65 Sparse.cpp:(.text._Z14slo_gt_complexIfEjT_S0_S0_S0_[unsigned int
66 slo_gt_complex<float>(float, float, float, float)]+0x13): undefined reference to `float
67 complex_abs<float>(float, float)'
68 ..//libs/libFreeMat/libFreeMat.a(Sparse.o):Sparse.cpp:(.text._Z14slo_gt_complexIfEjT_S0_S0_S0_[unsigned
69 int slo_gt_complex<float>(float, float, float, float)]+0x2b): more undefined references
70 to `float complex_abs<float>(float, float)' follow
71 ..//libs/libFreeMat/libFreeMat.a(Sparse.o): In function `unsigned int
72 slo_ge_complex<double>(double, double, double, double)':
73 Sparse.cpp:(.text._Z14slo_ge_complexIdEjT_S0_S0_S0_[unsigned int
74 slo_ge_complex<double>(double, double, double, double)]+0x23): undefined reference to
75 `double complex_abs<double>(double, double)'
76 Sparse.cpp:(.text._Z14slo_ge_complexIdEjT_S0_S0_S0_[unsigned int
77 slo_ge_complex<double>(double, double, double, double)]+0x3b): undefined reference to
78 `double complex_abs<double>(double, double)'
79 ..//libs/libFreeMat/libFreeMat.a(Sparse.o): In function `unsigned int
80 slo_le_complex<double>(double, double, double, double)':
81 Sparse.cpp:(.text._Z14slo_le_complexIdEjT_S0_S0_S0_[unsigned int
82 slo_le_complex<double>(double, double, double, double)]+0x23): undefined reference to
83 `double complex_abs<double>(double, double)'
84 Sparse.cpp:(.text._Z14slo_le_complexIdEjT_S0_S0_S0_[unsigned int
85 slo_le_complex<double>(double, double, double, double)]+0x3b): undefined reference to
86 `double complex_abs<double>(double, double)'
87 ..//libs/libFreeMat/libFreeMat.a(Sparse.o): In function `unsigned int
88 slo_gt_complex<double>(double, double, double, double)':
89 Sparse.cpp:(.text._Z14slo_gt_complexIdEjT_S0_S0_S0_[unsigned int
90 slo_gt_complex<double>(double, double, double, double)]+0x23): undefined reference to
91 `double complex_abs<double>(double, double)'
92 ..//libs/libFreeMat/libFreeMat.a(Sparse.o):Sparse.cpp:(.text._Z14slo_gt_complexIdEjT_S0_S0_S0_[unsigned
93 int slo_gt_complex<double>(double, double, double, double)]+0x3b): more undefined
94 references to `double complex_abs<double>(double, double)' follow
95 ..//libs/libFreeMat/libFreeMat.a(Sparse.o): In function `float**
96 SparseAbsFunctionComplex<float>(int, int, float const**)':
97 Sparse.cpp:(.text._Z24SparseAbsFunctionComplexIfEPPT_iiPPKS0_[float**
98 SparseAbsFunctionComplex<float>(int, int, float const**)]+0x17a): undefined reference to
99 `float complex_abs<float>(float, float)'
100 ..//libs/libFreeMat/libFreeMat.a(Sparse.o): In function `double**
101 SparseAbsFunctionComplex<double>(int, int, double const**)':
102 Sparse.cpp:(.text._Z24SparseAbsFunctionComplexIdEPPT_iiPPKS0_[double**
103 SparseAbsFunctionComplex<double>(int, int, double const**)]+0x17a): undefined reference
104 to `double complex_abs<double>(double, double)'
105 collect2: ld returned 1 exit status
106 make[2]: *** [FreeMat] Error 1
107 make[2]: Leaving directory
108 `/var/tmp/portage/sci-mathematics/freemat-3.2/work/FreeMat-3.2/src'
109 make[1]: *** [all] Error 2
110 make[1]: Leaving directory
111 `/var/tmp/portage/sci-mathematics/freemat-3.2/work/FreeMat-3.2/src'
112 make: *** [all-recursive] Error 1
113
114
115
116
117 ____________________________________________________________________________________
118 Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
119 http://farechase.yahoo.com/
120 --
121 gentoo-science@g.o mailing list

Replies

Subject Author
Re: [gentoo-science] problems compiling freemat from science overlay Jeffrey Gardner <je_fro@g.o>
Re: [gentoo-science] problems compiling freemat from science overlay Carmelo Piccione <carmelo.piccione@×××××.com>