Gentoo Archives: gentoo-science

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