I've been trying to compile pango-1.38.1
configure was fine however there is a link error during make:
Making all in pango-view
make[2]: Entering directory `/home/build/pango-1.38.1/pango-view'
CCLD pango-view
../pango/.libs/libpangoft2-1.0.so: undefined reference to `hb_ft_face_create'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `hb_ft_face_create_cached'
collect2: ld returned 1 exit status
make[2]: *** [pango-view] Error 1
Harfbuzz and package config is installed/located in
/usr/local/lib/pkgconfig/harfbuzz.pc
$ echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig/
Where can I find hb_ft_face_create?
Related
I want to install caffe with conda. In the tutorial I followed it was told to install these stuff
sudo apt-get install protobuf-compiler libprotobuf-dev
Soon I found out that is was out-of-date and removed both of them and got latest protoc 3.9.1 . But I'm facing an error that said there is no protobuff in the folder.
I got confused about protobuf lib and protoc.
I have only one protoc in this folder
protoc: /usr/bin/protoc
And here's what I have after performing
sudo make all -j4
CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin
CXX/LD -o .build_release/tools/convert_imageset.bin
CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin
CXX/LD -o .build_release/tools/extract_features.bin
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Makefile:635: recipe for target '.build_release/tools
/convert_imageset.bin' failed
make: *** [.build_release/tools/convert_imageset.bin] Error 1
make: *** Ожидание завершения заданий…
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Makefile:635: recipe for target '.build_release/tools
/upgrade_solver_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_solver_proto_text.bin]
Error 1
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Makefile:635: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Makefile:635: recipe for target '.build_release/tools/extract_features.bin' failed
make: *** [.build_release/tools/extract_features.bin] Error 1
Can you help me solving this issue? And also it would be great if you explain me the matter with protoc and protobuff
I'm just working on a tiny simple OS, but I'm getting an error thrown at me. When I try to build I get this error:
joseph#joseph-linuxmint ~/Desktop/os $ make test
g++ lib/screen.cpp -o lib/screen
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'lib/screen' failed
make: *** [lib/screen] Error 1
Source code is hosted on github here: https://github.com/HackingNewbie/JoeOSmakefile
I failed to build llvm-clang by FileCheck.exe in Windows7(64bit) and MinGW and MSYS.
Reference document for build is
https://web.archive.org/web/20140301212210/http://www.bencode.net/blog/2012/10/20/clangonwindows/
Failed at 'make' of 'Step 5'.
Why?
errors:
make[1]: Entering directory `/home/my-name/tmp/build/lib/Support'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/my-name/tmp/build/lib/Support'
make[1]: Entering directory `/home/my-name/tmp/build/lib/TableGen'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/my-name/tmp/build/lib/TableGen'
make[1]: Entering directory `/home/my-name/tmp/build/utils'
make[2]: Entering directory `/home/my-name/tmp/build/utils/FileCheck'
llvm[2]: Linking Release+Asserts executable FileCheck (without symbols)
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x466c): undefined reference to `FOLDERID_LocalAppData'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x4674): undefined reference to `FOLDERID_LocalAppData'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x467d): undefined reference to `FOLDERID_LocalAppData'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x4686): undefined reference to `FOLDERID_LocalAppData'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x46ac): undefined reference to `FOLDERID_Profile'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x46b4): undefined reference to `FOLDERID_Profile'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x46bd): undefined reference to `FOLDERID_Profile'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x46c6): undefined reference to `FOLDERID_Profile'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x6bf5): undefined reference to `FOLDERID_LocalAppData'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x6c01): undefined reference to `FOLDERID_LocalAppData'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x6c0e): undefined reference to `FOLDERID_LocalAppData'
C:/mingw64/msys/home/my-name/tmp/build/Release+Asserts/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x6c17): undefined reference to `FOLDERID_LocalAppData'
collect2.exe: error: ld returned 1 exit status
/usr/home/my-name/tmp/llvm/Makefile.rules:1434: recipe for target `/usr/home/my-name/tmp/build/Release+Asserts/bin/FileCheck.exe' failed
make[2]: *** [/usr/home/my-name/tmp/build/Release+Asserts/bin/FileCheck.exe] Error 1
make[2]: Leaving directory `/home/my-name/tmp/build/utils/FileCheck'
/usr/home/my-name/tmp/llvm/Makefile.rules:939: recipe for target `FileCheck/.makeall' failed
make[1]: *** [FileCheck/.makeall] Error 2
make[1]: Leaving directory `/home/my-name/tmp/build/utils'
/usr/home/my-name/tmp/llvm/Makefile.rules:880: recipe for target `all' failed
make: *** [all] Error 1
I am trying to install The Scalable Parallel Random Number Generators Library (SPRNG) but I am having problems. The configure stage runs fine but when I try to make it I get the following output:
../../lib/libsprng.a(libsprng_a-communicate.o): In function `get_proc_info_mpi(int*, int*)':
/home/fangel/Downloads/sprng4.4/SRC/communicate.cpp:13: undefined reference to `MPI_Comm_rank'
../../lib/libsprng.a(libsprng_a-communicate.o): In function `make_new_seed_mpi()':
/home/fangel/Downloads/sprng4.4/SRC/communicate.cpp:28: undefined reference to `MPI_Comm_dup'
/home/fangel/Downloads/sprng4.4/SRC/communicate.cpp:30: undefined reference to `MPI_Comm_rank'
/home/fangel/Downloads/sprng4.4/SRC/communicate.cpp:31: undefined reference to `MPI_Comm_size'
/home/fangel/Downloads/sprng4.4/SRC/communicate.cpp:36: undefined reference to `MPI_Bcast'
/home/fangel/Downloads/sprng4.4/SRC/communicate.cpp:38: undefined reference to `MPI_Comm_free'
../../lib/libsprng.a(libsprng_a-communicate.o): In function `get_proc_info_mpi(int*, int*)':
/home/fangel/Downloads/sprng4.4/SRC/communicate.cpp:14: undefined reference to `MPI_Comm_size'
collect2: ld returned 1 exit status
make[4]: *** [check.clfg] Error 1
make[4]: Leaving directory `/home/fangel/Downloads/sprng4.4/check/lfg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/fangel/Downloads/sprng4.4/check/lfg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fangel/Downloads/sprng4.4/check'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fangel/Downloads/sprng4.4'
make: *** [all] Error 2
I guess this is related to a wrong configuration of MPI but I am not able to solve the problem. I would appreciate any help.
Thank you Hristo, it seems to go further after:
./configure CXX=mpicxx F77=mpif77
and changing to
#include
in communicate.cpp but I am still getting errors. This is the end of the current output:
check_flfg-check_genf.o: /home/fangel/Downloads/sprng4.4/check/lfg/F77/check_genf.F:218: more undefined references to `ffree_rng_' follow
check_flfg-check_genf.o: In function `test_generator':
/home/fangel/Downloads/sprng4.4/check/lfg/F77/check_genf.F:26: undefined reference to `fmake_new_seed_'
/home/fangel/Downloads/sprng4.4/check/lfg/F77/check_genf.F:27: undefined reference to `fmake_new_seed_'
collect2: ld returned 1 exit status
make[5]: *** [check.flfg] Error 1
make[5]: Leaving directory ` /home/fangel/Downloads/sprng4.4/check/lfg/F77'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory ` /home/fangel/Downloads/sprng4.4/check/lfg/F77'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory ` /home/fangel/Downloads/sprng4.4/check/lfg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory ` /home/fangel/Downloads/sprng4.4/check'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fangel/Downloads/sprng4.4'
make: *** [all] Error 2
Then I changed the end of all the lines in fwrap.h from " __ " to "_". The errors are different now. I am getting an error related to the path /home/steve/... which does not exist in my computer:
check_flcg-check_genf.o: In function `MAIN__':
/home/steve/sprng4.4/check/lcg/F77/<stdin>:26: undefined reference to `fmake_new_seed__'
However I was able to successfully make the programs of the folders TESTS and EXAMPLES. The problem is only in the folder check... I do not see how to move the path from /home/steve/... to the right path.
/usr/bin/ld: ../../libs/libedit/src/.libs/libedit.a(term.o): undefined reference
/usr/bin/ld: note: 'tgetnum' is defined in DSO /lib64/libtinfo.so.5 so try addin
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [fs_cli] Error 1
make[4]: *** [/usr/src/freeswitch/libs/esl/libesl.so] Error 2
make[3]: *** [mod_hash-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Ive tried to export 'ltinfo' library and ive also set LDFLAGS to -ltinfo but that too dint work.Please help me in fixing this.
I've got same error like you. You must install stable version.
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
and follow the instruction again.
http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide
It will work.