"/usr/bin/ld: cannot find -ljs_static"

I got that once. I don't remember how I got it fixed. I believe it's related to 
missing dependancies. I don't know about CentOS, but for Debian/Ubuntu you need 
to install the following package before building. 

> g++
> gcc
> unzip
> make
> zip 
> libmysqlclient-dev

If I find more info, I'll sent it to you. 

  - Louis

Le 2013-03-19 à 14:19, Neptune <[email protected]> a écrit :

> Pas obligé de traduire, je comprends. :P
> 
> Well i did what do you advise me... :/
> So i downloaded the 1.2 version of APE from the github, and as i said :
> There's a big fail while building :
> c++ -o jsemit.o -c  -I./dist/system_wrappers_js -include 
> ./config/gcc_hidden.h -DOSTYPE=\"Linux3.1\                                    
>                                                               " 
> -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS  -I. -I. 
> -I./dist/include -I./dist/include/n                                           
>                                                        sprpub     -I.  -fPIC  
> -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth  
>                                                                               
>                    -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align 
> -Wno-invalid-offsetof -Wno-variadic-macr                                      
>                                                             os -pedantic 
> -Wno-long-long -fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -O3 
> -fstrict-al                                                                   
>                                iasing  -fomit-frame-pointer   
> -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsemit.pp js          
>                                                                               
>           emit.cpp
> jsexn.cpp
> c++ -o jsexn.o -c  -I./dist/system_wrappers_js -include ./config/gcc_hidden.h 
> -DOSTYPE=\"Linux3.1\"                                                         
>                                           -DOSARCH=Linux -DEXPORT_JS_API 
> -D__STDC_LIMIT_MACROS  -I. -I. -I./dist/include -I./dist/include/ns           
>                                                                               
>          prpub     -I.  -fPIC  -fno-rtti -fno-exceptions -Wall 
> -Wpointer-arith -Woverloaded-virtual -Wsynth                                  
>                                                                  
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align 
> -Wno-invalid-offsetof -Wno-variadic-macro                                     
>                                                              s -pedantic 
> -Wno-long-long -fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -O3 
> -fstrict-ali                                                                  
>                                 asing  -fomit-frame-pointer   
> -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.pp jsex         
>                                                                               
>            n.cpp
> {standard input}: Assembler messages:
> {standard input}:1742: Warning: end of file not at end of a line; newline 
> inserted
> {standard input}:2365: Error: suffix or operands invalid for `movq'
> {standard input}:2365: Error: open CFI at the end of file; missing 
> .cfi_endproc directive
> c++: Internal error: Killed (program cc1plus)
> Please submit a full bug report.
> See <http://bugzilla.redhat.com/bugzilla> for instructions.
> make[1]: *** [jsarray.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/etc/ape/deps/js/src'
> make: *** [default] Error 2
> gcc -D_GNU_SOURCE -Wall -g -minline-all-stringops -rdynamic -I 
> ./deps/udns-0.0.9/ src/entry.c src/s                                          
>                                                         ock.c src/hash.c 
> src/handle_http.c src/cmd.c src/users.c src/channel.c src/config.c src/json.c 
> src/                                                                          
>                         json_parser.c src/plugins.c src/http.c src/extend.c 
> src/utils.c src/ticks.c src/base64.c src/pipe.c                               
>                                                                     src/raw.c 
> src/events.c src/event_kqueue.c src/event_epoll.c src/event_select.c 
> src/transports.c sr                                                           
>                                        c/servers.c src/dns.c src/sha1.c 
> src/log.c src/parser.c src/md5.c -o bin/aped -ldl -lm -lpthread ./            
>                                                                               
>         deps/udns-0.0.9/libudns.a -I ./deps/udns-0.0.9/
> gcc -D_GNU_SOURCE -Wall -O2 -shared -fPIC -rdynamic 
> -Wl,-soname,libmod_spidermonkey.so -o lib/libmo                               
>                                                                    
> d_spidermonkey.so libape-spidermonkey.c -I../deps/js/src/dist/include/ 
> -L../deps/js/src/ -ljs_stati                                                  
>                                                 c -lstdc++ -L./deps/mysac/ 
> -L/usr/lib64/mysql -I./deps/mysac/ -lmysac -lmysqlclient_r
> /usr/bin/ld: cannot find -ljs_static
> collect2: ld returned 1 exit status
> make: *** [modules] Error 1
> 
> What is wrong ? :(
> I'm running on centos 6.3...  
> 
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to