pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
x246-devel error on Solaris 10 Sparc
Hi List,
I try to use pkgsrc 2008Q1 on Solaris 10/Sparc.
I get an error when try to compile multimedia/x246-devel:
...
Undefined first referenced
symbol in file
isfinite ./.libs/libx264.so
ld: fatal: Symbol referencing errors. No output written to .libs/x264
collect2: ld returned 1 exit status
gmake: *** [x264] Error 1
*** Error code 2
According to
http://mailman.videolan.org/pipermail/x264-devel/2007-December/003898.html
I created a patch:
$NetBSD$
--- encoder/ratecontrol.c.orig 2008-07-10 10:55:39.519388008 +0200
+++ encoder/ratecontrol.c
@@ -1035,7 +1035,7 @@ static double get_qscale(x264_t *h, rate
q = x264_eval((char*)h->param.rc.psz_rc_eq, const_values,
const_names, func1, func1_names, NULL, NULL, rce);
// avoid NaN's in the rc_eq
- if(!isfinite(q) || rce->i_tex_bits + rce->p_tex_bits + rce->mv_bits
== 0)
+ if(!finite(q) || rce->i_tex_bits + rce->p_tex_bits + rce->mv_bits == 0)
q = rcc->last_qscale;
else {
rcc->last_rceq = q;
--------------------------end------------
After bmake clean - bmake makedistinfo - bmake install I get now the
folowing error:
=> Unwrapping files-to-be-installed.
INFO: [subst.mk:unwrap] Nothing changed in ./x264.pc.
===> Installing for x264-devel-20071218nb2
install -d /zone-space/pkgsrc/bin /zone-space/pkgsrc/include
usage: install [-cs] [-g group] [-m mode] [-o owner] file ... destination
install -d [-g group] [-m mode] [-o owner] dir
gmake: *** [install] Error 1
*** Error code 2
Stop.
Greetings Daniel
Home |
Main Index |
Thread Index |
Old Index