Skip to content
This repository has been archived by the owner on Feb 7, 2021. It is now read-only.

when building execution of a command failed with code #75

Open
xmonader opened this issue May 10, 2020 · 1 comment
Open

when building execution of a command failed with code #75

xmonader opened this issue May 10, 2020 · 1 comment
Labels
Milestone

Comments

@xmonader
Copy link
Collaborator

root@host1:~/publishingtools# bash testwebsitesandwikis.sh                                                               
Dependencies are satisfied                                                                                               
Building: tfweb                                                                                                          
Error target tfweb failed to compile:                                                                                    
/usr/bin/ld: _main.o: in function `->':                                                                                  
/root/publishingtools/src/tfwebserver/webserver.cr:309: undefined reference to `*TFWeb::WebServer::serve_wikifile<HTTP::S
erver::Context, String, String>:(String | Nil)'                                                                          
/usr/bin/ld: /root/publishingtools/src/tfwebserver/webserver.cr:345: undefined reference to `*TFWeb::WebServer::handle_readme<HTTP::Server::Context, String, Path>:Nil'
/usr/bin/ld: /root/publishingtools/src/tfwebserver/webserver.cr:356: undefined reference to `*TFWeb::WebServer::handle_sidebar<HTTP::Server::Context, String, Path>:Nil'
/usr/bin/ld: /root/publishingtools/src/tfwebserver/webserver.cr:358: undefined reference to `*TFWeb::WebServer::handle_readme<HTTP::Server::Context, String, Path>:Nil'
/usr/bin/ld: /root/publishingtools/src/tfwebserver/webserver.cr:360: undefined reference to `*TFWeb::WebServer::serve_wikifile<HTTP::Server::Context, String, String>:(String | Nil)' 
/usr/bin/ld: F-ile.o: in function `join':
/usr/share/crystal/src/file.cr:712: undefined reference to `*Path::new<(Path | String), String>:Path'
/usr/bin/ld: /root/publishingtools/src/tfwebserver/webserver.cr:345: undefined reference to `*TFWeb::WebServer::h[0/1969]adme<HTTP::Server::Context, String, Path>:Nil'
/usr/bin/ld: /root/publishingtools/src/tfwebserver/webserver.cr:356: undefined reference to `*TFWeb::WebServer::handle_sidebar<HTTP::Server::Context, String, Path>:Nil'
/usr/bin/ld: /root/publishingtools/src/tfwebserver/webserver.cr:358: undefined reference to `*TFWeb::WebServer::handle_readme<HTTP::Server::Context, String, Path>:Nil'
/usr/bin/ld: /root/publishingtools/src/tfwebserver/webserver.cr:360: undefined reference to `*TFWeb::WebServer::serve_wikifile<HTTP::Server::Context, String, String>:(String | Nil)' 
/usr/bin/ld: F-ile.o: in function `join':
/usr/share/crystal/src/file.cr:712: undefined reference to `*Path::new<(Path | String), String>:Path'
/usr/bin/ld: A-rray40R-adix585-c36476f3dafc8c33ee8a9ba5fab71450.o: in function `sort!':
/usr/share/crystal/src/array.cr:1790: undefined reference to `*Slice(T)::new<Pointer(Radix::Node(Array(Kemal::FilterHandler::FilterBlock))), Int32>:Slice(Radix::Node(Array(Kemal::FilterHandler::FilterBlock)))'
/usr/bin/ld: T-F-W-eb5858G-I-T-R-epo.o: in function `ensure_repo':
/root/publishingtools/src/gittools/gitrepo.cr:116: undefined reference to `*String::interpolation<String, Path, String, String, String, String, String>:String'
/usr/bin/ld: T-F-W-eb5858W-ebS-erver.o: in function `serve': 
/root/publishingtools/src/tfwebserver/webserver.cr:188: undefined reference to `~procProc(Nil)@src/tfwebserver/webserver.cr:142'
/usr/bin/ld: K-emal5858F-ilterH-andler5858F-ilterB-lock.o: in function `initialize':
/root/publishingtools/lib/kemal/src/kemal/filter_handler.cr:81: undefined reference to `~procProc(HTTP::Server::Context, String)@lib/kemal/src/kemal/filter_handler.cr:82'
/usr/bin/ld: S-lice40R-adix585-33ea5f0b09f08bbf6745418158103392.o: in function `sort!':
/usr/share/crystal/src/slice.cr:673: undefined reference to `*Slice(T)::intro_sort!<Pointer(Radix::Node(Array(Kemal::FilterHandler::FilterBlock))), Int32>:Nil'
/usr/bin/ld: /root/publishingtools/bin/tfweb: no symbol version section for versioned symbol `~procProc(Nil)@src/tfwebserver/webserver.cr:142'
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o '/root/publishingtools/bin/tfweb'  -rdynamic  -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lm /usr/bin/../lib/crystal/lib/libgc.a -lpthread /usr/share/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/bin/../lib/crystal/lib -L/usr/bin/../lib/crystal/lib`
@xmonader
Copy link
Collaborator Author

couldn't solve by cleaning lib, .cache/crystal

@xmonader xmonader added this to the later milestone May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant