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