Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 16:47:25 +0400
From:      awarecons <awarecons@gmail.com>
To:        ports-bugs@freebsd.org, gnome@freebsd.org
Subject:   net/libproxy-mozjs ISSUE 'JS_GetStringBytes' was not declared in this scope
Message-ID:  <CACGq7x09zifa9N_5w5GQEM2oLPPMaMMjX9Zjvc3hyK36wQJwDg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
FreeBSD xxx 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #3: Sat Dec 29
20:04:22 MSK 2012     root@xxx:/sys/i386/compile/GENERIC  i386

...
Scanning dependencies of target pacrunner_mozjs
[ 84%] Building CXX object
libproxy/CMakeFiles/pacrunner_mozjs.dir/modules/pacrunner_mozjs.cpp.o
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:
In function 'JSBool dnsResolve(JSContext*, JSObject*, uintN, jsval*,
jsval*)':
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:47:
error: 'JS_GetStringBytes' was not declared in this scope
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:69:
error: 'JS_NewString' was not declared in this scope
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:
In function 'JSBool myIpAddress(JSContext*, JSObject*, uintN, jsval*,
jsval*)':
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:81:
error: 'JS_NewString' was not declared in this scope
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:
At global scope:
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:97:
error: invalid conversion from 'JSBool (*)(JSContext*, JSObject*,
jsid, jsval*)' to 'JSBool (*)(JSContext*, JSObject*, jsid, JSBool,
jsval*)'
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:
In constructor 'mozjs_pacrunner::mozjs_pacrunner(std::string, const
libproxy::url&)':
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:118:
error: invalid conversion from 'JSBool (*)(JSContext*, JSObject*,
uintN, jsval*, jsval*)' to 'JSBool (*)(JSContext*, uintN, jsval*)'
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:118:
error:   initializing argument 4 of 'JSFunction*
JS_DefineFunction(JSContext*, JSObject*, const char*, JSBool
(*)(JSContext*, uintN, jsval*), uintN, uintN)'
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:119:
error: invalid conversion from 'JSBool (*)(JSContext*, JSObject*,
uintN, jsval*, jsval*)' to 'JSBool (*)(JSContext*, uintN, jsval*)'
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:119:
error:   initializing argument 4 of 'JSFunction*
JS_DefineFunction(JSContext*, JSObject*, const char*, JSBool
(*)(JSContext*, uintN, jsval*), uintN, uintN)'
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:
In member function 'virtual std::string mozjs_pacrunner::run(const
libproxy::url&)':
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:150:
error: 'JS_NewString' was not declared in this scope
/usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:158:
error: 'JS_GetStringBytes' was not declared in this scope
*** Error code 1

Stop in /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6.
*** Error code 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACGq7x09zifa9N_5w5GQEM2oLPPMaMMjX9Zjvc3hyK36wQJwDg>