On Nov 2, 2014, at 3:10 AM, Dominique Dhumieres <[email protected]> wrote:
> Installing ocs-oct382-0.1.3-7 failed on
>
> Package manager version: 0.38.2
> Distribution version: selfupdate-rsync Sun Nov 2 11:31:29 2014, 10.10, x86_64
> Trees: local/main stable/main stable/crypto
> Xcode.app: 6.1
> Xcode command-line tools: 6.1.0.0.1.1413057044
> ocs-oct382-0.1.3-7 is set to build with only one job.
>
> with
>
> ...
> ans = /sw64/src/fink.build/ocs-oct382-0.1.3-7/bld/share/octave/3.8.2/packages
> mkdir (/var/tmp/oct-B46N42)
> untar (./ocs.tar, /var/tmp/oct-B46N42)
> make: on entre dans le repertoire/private/var/tmp/oct-B46N42/ocs/src
> mkoctfile Mshichmanhodgesmosfet.cc
> Mshichmanhodgesmosfet.cc:141:34: error: call to 'pow' is ambiguous
> *ids = k*((vgs-Vth)*vds - pow(vds,2)/2 ) + vds/rd;
> ^~~
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1:
> note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /usr/include/math.h:443:15: note: candidate function
> extern double pow(double, double);
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y)
> _NOEXCEPT {return powf(__x, __y);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double
> __y) _NOEXCEPT {return powl(__x, __y);}
> ^
> Mshichmanhodgesmosfet.cc:144:36: error: call to 'pow' is ambiguous
> *didT = dkdT*((vgs-Vth)*vds-(pow(vds,2))/2);
> ^~~
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1:
> note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /usr/include/math.h:443:15: note: candidate function
> extern double pow(double, double);
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y)
> _NOEXCEPT {return powf(__x, __y);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double
> __y) _NOEXCEPT {return powl(__x, __y);}
> ^
> Mshichmanhodgesmosfet.cc:155:20: error: call to 'pow' is ambiguous
> *ids = (k/2)*pow((vgs-Vth),2) + vds/rd;
> ^~~
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1:
> note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /usr/include/math.h:443:15: note: candidate function
> extern double pow(double, double);
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y)
> _NOEXCEPT {return powf(__x, __y);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double
> __y) _NOEXCEPT {return powl(__x, __y);}
> ^
> Mshichmanhodgesmosfet.cc:158:25: error: call to 'pow' is ambiguous
> *didT= (dkdT/(2))*pow((vgs-Vth),2);
> ^~~
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1:
> note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /usr/include/math.h:443:15: note: candidate function
> extern double pow(double, double);
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y)
> _NOEXCEPT {return powf(__x, __y);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double
> __y) _NOEXCEPT {return powl(__x, __y);}
> ^
> Mshichmanhodgesmosfet.cc:195:34: error: call to 'pow' is ambiguous
> *ids = k*((vgs-Vth)*vds - pow(vds,2)/2 ) + vds/rd;
> ^~~
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1:
> note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /usr/include/math.h:443:15: note: candidate function
> extern double pow(double, double);
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y)
> _NOEXCEPT {return powf(__x, __y);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double
> __y) _NOEXCEPT {return powl(__x, __y);}
> ^
> Mshichmanhodgesmosfet.cc:198:36: error: call to 'pow' is ambiguous
> *didT = dkdT*((vgs-Vth)*vds-(pow(vds,2))/2);
> ^~~
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1:
> note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /usr/include/math.h:443:15: note: candidate function
> extern double pow(double, double);
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y)
> _NOEXCEPT {return powf(__x, __y);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double
> __y) _NOEXCEPT {return powl(__x, __y);}
> ^
> Mshichmanhodgesmosfet.cc:209:20: error: call to 'pow' is ambiguous
> *ids = (k/2)*pow((vgs-Vth),2) + vds/rd;
> ^~~
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1:
> note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /usr/include/math.h:443:15: note: candidate function
> extern double pow(double, double);
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y)
> _NOEXCEPT {return powf(__x, __y);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double
> __y) _NOEXCEPT {return powl(__x, __y);}
> ^
> Mshichmanhodgesmosfet.cc:212:25: error: call to 'pow' is ambiguous
> *didT= (dkdT/(2))*pow((vgs-Vth),2);
> ^~~
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1:
> note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate function
> [with _A1 = double, _A2 = int]
> pow(_A1 __x, _A2 __y) _NOEXCEPT
> ^
> /usr/include/math.h:443:15: note: candidate function
> extern double pow(double, double);
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y)
> _NOEXCEPT {return powf(__x, __y);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46:
> note: candidate function
> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double
> __y) _NOEXCEPT {return powl(__x, __y);}
> ^
> 8 errors generated.
> Makefile:6: la recette pour la cible Mshichmanhodgesmosfet.oct a echoue
> make: *** [Mshichmanhodgesmosfet.oct] Erreur 1
> make: on quitte le repertoire/private/var/tmp/oct-B46N42/ocs/src
>
> pkg: error running `make' for the ocs package.
> error: called from 'configure_make' in file
> /sw64/share/octave/3.8.2/m/pkg/private/configure_make.m near line 82, column 9
> error: called from:
> error: /sw64/share/octave/3.8.2/m/pkg/private/install.m at line 199, column
> 5
> error: /sw64/share/octave/3.8.2/m/pkg/pkg.m at line 394, column 9
> error: /sw64/src/fink.build/ocs-oct382-0.1.3-7/ocs/octave-forge-comp at
> line 4, column 1
> ### execution of /tmp/fink.U9_8k failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw64/bin/dpkg-lockwait -r fink-buildlock-ocs-oct382-0.1.3-7
> (Reading database ... 331476 files and directories currently installed.)
> Removing fink-buildlock-ocs-oct382-0.1.3-7 ...
> Failed: phase compiling: ocs-oct382-0.1.3-7 failed
>
> TIA
>
> Dominique
Hmm…maybe the Homebrew patch that I threw in (libcxx-fix.h) needs to be
adjusted.
Any insight would be appreciated.
I’ll look at this in more depth
--
Alexander Hansen, Ph.D.
Fink User Liaison
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users