[Bug 819264] Review Request: Singular - Computer Algebra System for polynomial computations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=819264

--- Comment #26 from pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> ---
(In reply to comment #22)
> Dan replied upstream, and I'm satisfied with the reply, we can continue with
> this review (and sort out the M2 issues afterward).
> 
> For example, the M2 build gets further, but now am seeing some undefined
> symbols in libcf.a:
> 
> /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../lib64/libcf.
> a(cf_gcd_smallp.o): In function `randomElement(CanonicalForm const&,
> Variable const&, List<CanonicalForm>&, bool&)':
> (.text+0x2bd): undefined reference to `bool
> find<CanonicalForm>(List<CanonicalForm> const&, CanonicalForm const&)'
> /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../lib64/libcf.
> a(cf_gcd_smallp.o): In function `randomElement(CanonicalForm const&,
> Variable const&, List<CanonicalForm>&, bool&)':
> ...

  I am more of a C than C++ programmer, but looks like the template was not
instantiated. It should come from factory/templates/ftmpl_list.cc:

template <class T>
bool find (const List<T> & F, const T& t)

  Probably the Macaulay2 code should include the .cc file and not just the .h:
$ rpm -ql factory-devel | grep ftmpl_list
/usr/include/factory/templates/ftmpl_list.cc
/usr/include/factory/templates/ftmpl_list.h

> among others.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]