symbols

How to tell Autoconf “require symbol A or B” from LIB?

守給你的承諾、 提交于 2019-12-02 12:09:40
I'm trying to configure Postgres 9.5.4 for OpenSSL 1.1.0 . Configure is dying because it can't find SSL_library_init in OpenSSL 1.1.0. OpenSSL 1.1.0 provides OPENSSL_init_ssl instead of SSL_library_init . So Autoconf needs to check for either SSL_library_init or OPENSSL_init_ssl . Postgres uses the following test: AC_CHECK_LIB(ssl, SSL_library_init, [], [AC_MSG_ERROR([library 'ssl' is required for OpenSSL])]) How do I modify that [rule?] to look for either SSL_library_init or OPENSSL_init_ssl ? Naively, I changed configure.in to the following, which did not work. The best I can tell, my

Undefined symbols for x86_64 when compiling

陌路散爱 提交于 2019-12-02 07:58:56
So I'm in an intro to Programming course in University and before anything else, let me say sorry for the poor formatting, I have no clue how to format this properly. But back to my questions, so we are primarily using c++ but I've been having some issues when I'm compiling my files. The compiler works for the most part and it will tell me when I have errors in my code but once I iron those out, it gives me a message saying that there are Undefined symbols for my x86_64 architecture. I tried looking that up and found some things saying that Macs (I'm running Mavericks) sometimes have

Am I missing some important fact about interning symbols in LISP?

烂漫一生 提交于 2019-12-02 04:04:55
问题 To be brief. Here is my several tries to intern and use a symbol in clisp. [1]> (setq sym (intern "foo")) |foo| [2]> (eq sym 'foo) NIL Why??? [3]> (defun internup (me &optional (package *package*)) (intern (string-upcase me) package)) INTERNUP [4]> (eq 'abc (internup "abc")) T Probably must be upcase. [12]>(let ((abc 2)) (eval '(+ 2 abc))) *** - EVAL: variable ABC has no value The following restarts are available: ok [18]> (let ((abc 2)) (eval '(+ 2 'abc))) *** - +: ABC is not a number The

Superscript “L” Symbol Sprinkled in text in Internet Explorer

ε祈祈猫儿з 提交于 2019-12-02 03:18:17
I'm working on a site that is very text heavy and the site looks fine in Chrome, Firefox and Safari. But when I test it in Internet Explorer it has random scattered superscript "L" Symbols on the text. I looked back to the code to see if there was anything extra written in it causing the L but there was nothing. The main problem is on the homepage. Here's the site: http://emilymagnuson.com/mynews2/index.html And you have to look at it in IE to see the problem. Looking at the HTML of your website, you have extraneous characters in your text where the Ls are appearing. Your HTML specifies UTF-8.

Twig: How to print special symbols, such as Copyright, Trademark, etc

烈酒焚心 提交于 2019-12-02 03:04:37
I want to use special symbols, but instead all I get printed question mark symbol � I tried {% autoescape 'html' %} {{ '©'|escape('html') }} {# won't be double-escaped #} {{ '©'|escape(strategy) }} {# will be double-escaped #} {% endautoescape %} and it did not work. Use raw filter : {{ '©'|raw }} http://twig.sensiolabs.org/doc/filters/raw.html If the output is supposed to be HTML, you can also use HTML entity notation, for example trademark sign: {{ '™' }} or email sign: {{ '@' }} Since you want to display a static string and not a variable, you can write the character directly, you don't

Am I missing some important fact about interning symbols in LISP?

有些话、适合烂在心里 提交于 2019-12-02 02:28:17
To be brief. Here is my several tries to intern and use a symbol in clisp. [1]> (setq sym (intern "foo")) |foo| [2]> (eq sym 'foo) NIL Why??? [3]> (defun internup (me &optional (package *package*)) (intern (string-upcase me) package)) INTERNUP [4]> (eq 'abc (internup "abc")) T Probably must be upcase. [12]>(let ((abc 2)) (eval '(+ 2 abc))) *** - EVAL: variable ABC has no value The following restarts are available: ok [18]> (let ((abc 2)) (eval '(+ 2 'abc))) *** - +: ABC is not a number The following restarts are available: Interesting. Should I set it before. [14]> (setq a (internup "abc"))

dyld: lazy symbol binding failed: Symbol not found - nm reports symbol found

痞子三分冷 提交于 2019-12-02 00:52:14
Fairly abstract question here, as I don't know quite where to start my own investigations. I have a C package constructed with CMake that produces librpdb.so; I have a Ruby Gem set up for the same library, which produces rpdb.bundle. When used in Ruby, I get this: dyld: lazy symbol binding failed: Symbol not found: _RPDB_RuntimeStorageController_sharedInstance Referenced from: /usr/local/lib/ruby/gems/1.9.1/gems/rpdb-0.1.0/lib/rpdb/rpdb.bundle Expected in: flat namespace When I look into the library, nm reports: 000000000000ea40 T _RPDB_RuntimeStorageController_sharedInstance So it appears

What can a ruby symbol (syntax) contain?

雨燕双飞 提交于 2019-12-02 00:36:20
问题 I want to create regular expression to match ruby symbols, but I need to know what the exact syntax for a symbol is. Until now I am aware of the following: :'string' :"string" :__underline :method :exclamation! :question? :@instance :$global 回答1: It's not entirely clear what you are talking about. If you are talking about what a Symbol can contain, the answer is: anything and everything, including newlines, arbitrary whitespace, control characters, arbitrarily weird and obscure Unicode

How can I convert private pdb to public pdb?

﹥>﹥吖頭↗ 提交于 2019-12-02 00:31:19
问题 I have private pdb file and I have to convert it to a public one. Is there tool for it? Thank you in advance. 回答1: You can create a stripped pdb file that doesn't contain; Type information, Line number information, Per-object file CodeView symbols such as those for functions, locals, and static data. See the /PDBSTRIPPED compiler option. EDIT: There does appear to be a utility that is part of the DDK that can convert a full symbol file to a stripped symbol file it is called BinPlace the forum

matlab mex clang C++11 thread -> Undefined symbols error

北战南征 提交于 2019-12-01 19:17:20
Goal: I want to use thread STL of C++11 in Matlab mex file (R2013a) using Xcode 4.6 I modified ~/.matlab/R2013a/mexopts.sh CC='clang++' # was llvm-gcc-4.2 CXX='clang++' # was llvm-g++-4.2 MACOSX_DEPLOYMENT_TARGET='10.8' # was 10.5. C++11 is supported >=10.7 CXXFLAGS="$CXXFLAGS -std=gnu++11 -stdlib=libc++" # additional flags Normal mex files without C++11 features are compiled well. Further, STL is well detected by the compiler except linking failure. >> mex mextest.cpp Undefined symbols for architecture x86_64: "std::__1::__thread_struct::__thread_struct()", referenced from: void* std::__1::_