/usr/bin/install -c -m 644 include/limits.h /usr/local/glibc-2.14/include/limits.h
/usr/bin/install: include/limits.h' and /usr/local/glibc-2.14/include/limits.h' are the same file
make[1]: *** [/usr/local/glibc-2.14/include/limits.h] Error 1
make[1]: Leaving directory `/usr/local/glibc-2.14'
make: ***[install] Error 2
install glibc-2.14, when i enter 'make install' it show this 2 error
someone help me
Thanks
looks like you're trying to install glibc into the same place you built it ? simple answer: don't do that.
if that isn't what you're doing, please describe the exact ./configure and make and make install commands you're using.
use difference folder for the build and prefix, like:
the build folder path is ~/glibc-2.14/build
and the prefix folder path is /opt/glibc-2.14
it will solve this
Related
Initially, I had pcl-1.10 in /usr/(installed using sudo apt install libpcl-dev). Then I self-built pcl-1.12 in /usr/local/ for some reason. Now I uninstalled pcl-1.12 using sudo make uninstall and wanted to use the default pcl-1.10. But when I compiled my project, the error message showed
$ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
Starting >>> lidarslam_msgs
Starting >>> ndt_omp_ros2
--- stderr: ndt_omp_ros2
make[2]: *** No rule to make target '/usr/local/lib/libpcl_surface.so', needed by 'align'. Stop.
make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/align.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed <<< ndt_omp_ros2 [0.16s, exited with code 2]
It seems that the PATH stills points to the /usr/local/lib even if I uninstalled the package. Is there a way I can reset PATH to the global package path? For this case, I believe the pcl-1.10's libpcl_surface.so is in /usr/lib/x86_64-linux-gnu/libpcl_outofcore.so .
I am working on ROS2 and compiling the CMakeList.txt using colcon. So I can't modify the makefile. I assume it is a PATH problem.
A way is to use symlink to link all the .so file in /usr/lib/x86_64-linux-gnu/ to /usr/local/lib but I found it kind of stupid...
I downloaded the eBay tsv-utils and after following the steps I got this error and I'm not sure what to do.
$ git clone https://github.com/eBay/tsv-utils.git
$ cd tsv-utils
$ make
Make gave me some errors:
make[1]: dmd: Command not found
make[1]: *** [../makeapp.mk:18: /home/sylvia/Downloads/tsv-utils/bin/csv2tsv] Error 127
make[1]: Leaving directory '/home/sylvia/Downloads/tsv-utils/csv2tsv'
make: *** [makefile:96: csv2tsv] Error 2
The command csv2tsv works but when I use the command tsv-summarize it says:
tsv-summarize: command not found
I'm not sure what to do.
It seems like you have not installed the D compiler: Please download the D compiler from here: https://dlang.org/download.html.
If you just want to install tsv-utils however, you can download a pre-built binary from the project's github page: https://github.com/eBay/tsv-utils/releases/tag/v2.1.2
I am trying to cross-compile a TP-Link module for ARM920T of which the
details are following -
Module Source - $HOME/Desktop/ashish/TL-WN725N_V2_150911/Driver/
Toolchain Path - /usr/local/3.4/arm-linux-uclibc/bin/arm-linux-uclibc-gcc
I have exported path for my toolchain using -
export PATH=$PATH:/usr/local/3.4/arm-linux-uclibc/bin
I am running the following from the top level kernel source directory
($HOME/lhotse/products/p101/sw/branches/release4.X/kernel/linux-2.6.8.1)
of my target system
make ARCH=arm CROSS_COMPILE=arm-linux-uclibc- M=/home/gauravmittal/Desktop/ashish/TL-WN725N_V2_150911/Driver/ modules
The command throwing the following error -
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/gauravmittal/Desktop/ashish/TL-WN725N_V2_150911/Driver/core/rtw_cmd.o
mv: cannot stat
`/home/gauravmittal/Desktop/ashish/TL-WN725N_V2_150911/Driver/core/.tmp_rtw_cmd.o':
No such file or directory
make[2]: *** [/home/gauravmittal/Desktop/ashish/TL-WN725N_V2_150911/Driver/core/rtw_cmd.o]
Error 1
make[1]: *** [_module_/home/gauravmittal/Desktop/ashish/TL-WN725N_V2_150911/Driver]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-23-generic'
make: *** [modules] Error 2
When I do a just make on the top level driver directory, it successfully
creates a .ko file for me and I am able to install the module on my
workstion (running on kernel 2.6.24-23-generic), but couldn't find
where am I going wrong during cross-compiling the same.
Just that I am not able to understand how to move forward, as
relatively new to Embedded Development, any kind of help would be
appreciated.
EDIT 2 :
Started things from scratch again.
I have downloaded the linux source compatible to by target (linux-2.6.8.1) and have included the module source in linux-2.6.8.1/drivers/net/wireless/tplink
I have also copied the content of Kconfig from module source directory under wireless Kconfig to get it appearing in the make menuconfig menu. I did a make menuconfig and enabled the option for the same.
Now I did
make ARCH=arm CROSS_COMPILE=arm-linux-uclibc- KSRC=/usr/src/linux-headers-2.6.24.23-generic/ M=${PWD}/drivers/net/wireless/tplink/ modules
The output is as under -
CC [M] /home/gauravmittal/Desktop/ashish/linux-2.6.8.1/drivers/net/wireless/tpwifi/core/rtw_cmd.o
fixdep: /home/gauravmittal/Desktop/ashish/linux-2.6.8.1/drivers/net/wireless/tpwifi/core/.rtw_cmd.o.d:
No such file or directory
make[1]: *** [/home/gauravmittal/Desktop/ashish/linux-2.6.8.1/drivers/net/wireless/tpwifi/core/rtw_cmd.o]
Error 2
make: *** [_module_/home/gauravmittal/Desktop/ashish/linux-2.6.8.1/drivers/net/wireless/tpwifi]
Error 2
I have tried searching a lot on the Internet but could not fix this. I am stuck at this from long..any help would be greatly appreciated.
When I'm trying to make chktex-1.7.4 with cygwin I get the following output:
$ make install
/cygdrive/c/Program Files/MiKTeX 2.9/miktex/bin/x64/latex ChkTeX.tex
make: /cygdrive/c/Program: Command not found
Makefile:265: recipe for target 'ChkTeX.dvi' failed
make: *** [ChkTeX.dvi] Error 127
I also modified the fstab file. It contains
none /cygdrive cygdrive binary,posix=0,user 0 0
C:/Program\ Files /c/Program\ Files ntfs binary 0 0
Can anybody help me to get the make install to work?
There is a simple solution, without changing position of Miktex installation. If latexand dvips are binaries on your %PATH%, than you can compile modifying generated Makefile (lines 49 and 50)
$ nano Makefile
[...]
# LATEX=/c/Program Files/MiKTeX 2.9/miktex/bin/x64//latex
# DVIPS=/c/Program Files/MiKTeX 2.9/miktex/bin/x64//dvips
LATEX=latex
DVIPS=dvips
and rerun make install. Please be sure that those binaries are in your path or this will not work!
I want to install octaviz package in octave software.
From the documentation there is stated:
-You'll need octave 2.1.53 or later and VTK CVS to build octaviz. To compile octaviz, run ccmake . in the root directory of the source tree, then make and finally make install.
I first ran ccmake ., and it completed successfully after I installed some libs that I was missing.
But, the I ran "make" and it exits with the following errors:
>> make
[ 1%] Built target vtkWrapOctave
[ 1%] Building CXX object Common/CMakeFiles/octaviz.dir/octaviz.o
/home/user12345/octave/octaviz/Common/octaviz.cc:31:24: fatal error: octave/oct.h: No such file or directory
#include <octave/oct.h>
^
compilation terminated.
make[2]: *** [Common/CMakeFiles/octaviz.dir/octaviz.o] Error 1
make[1]: *** [Common/CMakeFiles/octaviz.dir/all] Error 2
make: *** [all] Error 2
Any idea what I am missing here?
You are missing the octave/oct.h header. This usually means that you don't have Octave installed. If you do have it installed, maybe you are missing the header files and shared libraries (if you are using Linux, did you install octave's -dev or -devel packaqes?) If you have them installed, you must have ran the configure script incorrectly. Either specify the correct options or set the CXX_FLAGS. If you don't know about compiler flags you probably should not change them and instead figure out how to install the octave libraries correctly.