While compiling VMD-1.92 from source, compiling plugins section gives error:
/bin/ld: cannot find -ltcl8.5
collect2: error: ld returned 1 exit status
Reaping losing child 0x2094ac0 PID 10626
Makefile:49: recipe for target '../compile/lib_LINUXAMD64/bin/catdcd5.1/catdcd' failed
make[2]: *** [../compile/lib_LINUXAMD64/bin/catdcd5.1/catdcd] Error 1
Removing child 0x2094ac0 PID 10626 from chain.
Reaping losing child 0x1ea5520 PID 10616
Makefile:137: recipe for target 'bins' failed
make[1]: *** [bins] Error 1
Removing child 0x1ea5520 PID 10616 from chain.
Reaping losing child 0x1262ed0 PID 10432
Make-arch:402: recipe for target 'LINUXAMD64' failed
make: *** [LINUXAMD64] Error 2
Removing child 0x1262ed0 PID 10432 from chain.
I have tcl8.6 installed. I have exhausted all avenues to solve the issue. Can someone please advise.
thanks
Related
When I compile Uranus (an SGX project that rewrites JDK), the following error occurs when I execute the make command
Compiling /home/uranus/hotspot/src/share/vm/gc_implementation/shared/ageTable.cpp
In file included from /home/uranus/hotspot/src/../enclave/panoply/include/struct/sgx_time_struct.h:4:0,
from /home/uranus/hotspot/src/../enclave/panoply/include/sgx/bits/resource.h:179,
from /home/uranus/hotspot/src/../enclave/panoply/include/sgx/sys/resource.h:24,
from /home/uranus/hotspot/src/../enclave/panoply/include/struct/sgx_sysresource_struct.h:1,
from /home/uranus/hotspot/src/share/vm/em/securecompiler_u.h:39,
from /home/uranus/hotspot/src/share/vm/em/CompilerEnclave.cpp:8:
/home/uranus/hotspot/src/../include/tlibc/time.h:45:24: fatal error: sys/_types.h: No such file or directory
compilation terminated.
/home/uranus/hotspot/make/linux/makefiles/rules.make:149: recipe for target 'CompilerEnclave.o' failed
make[6]: *** [CompilerEnclave.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/home/uranus/hotspot/make/linux/makefiles/top.make:119: recipe for target 'the_vm' failed
make[5]: *** [the_vm] Error 2
/home/uranus/hotspot/make/linux/Makefile:284: recipe for target 'product' failed
make[4]: *** [product] Error 2
Makefile:230: recipe for target 'generic_build2' failed
make[3]: *** [generic_build2] Error 2
Makefile:177: recipe for target 'product' failed
make[2]: *** [product] Error 2
HotspotWrapper.gmk:44: recipe for target '/home/uranus/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp' failed
make[1]: *** [/home/uranus/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp] Error 2
/home/uranus//make/Main.gmk:109: recipe for target 'hotspot-only' failed
make: *** [hotspot-only] Error 2
This gives me a headache. Pay attention to the sys here/_ The types. h file is an underlined _. I can only find sys/types. h header file without underline
I have been troubled for a long time. I hope the question can be answered
I'm using inet4 omnet5.5.1 veins5 I imported veins_inet in the workspace but it doesn't build successfully even though I added the paths to inet and veins src files in project properties I got the following error:
15:29:41 **** Incremental Build of configuration gcc-debug for project veins_inet ****
make MODE=debug all
make[1]: Entering directory '/home/nai/omnetpp-5.5.1/myWorkspace/veins_inet/src'
Creating shared library: ../out/gcc-debug/src/libveins_inet_dbg.so
/usr/bin/ld: cannot find -lINET_dbg
Makefile:141: recipe for target '../out/gcc-debug/src/libveins_inet_dbg.so' failed
make[1]: Leaving directory '/home/nai/omnetpp-5.5.1/myWorkspace/veins_inet/src'
Makefile:36: recipe for target 'all' failed
/usr/bin/ld: cannot find -lveins_dbg
collect2: error: ld returned 1 exit status
make[1]: *** [../out/gcc-debug/src/libveins_inet_dbg.so] Error 1
make: *** [all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.
15:29:43 Build Failed. 6 errors, 0 warnings. (took 1s.693ms)
apparently some required files are missing
how to fix this please
You might be building this project in debug mode, but not building the other projects in debug mode.
I got continuously this error anyone has the solution for this.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
mingw32-make: *** [obj/pgText.o] Error 1
mingw32-make: write error
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
System Details:
image
Here's what's going on. I'm trying to set up OpenSceneGraph, however I run into the following error during the make process (spaces added for easier reading):
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavformat.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/build.make:291: recipe for target 'lib/osgPlugins-3.4.0/osgdb_ffmpeg.so' failed
make[2]: *** [lib/osgPlugins-3.4.0/osgdb_ffmpeg.so] Error 1
CMakeFiles/Makefile2:6663: recipe for target
'src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all' failed
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
This error does not stop the cmake process. A little later (error above occurs at 39%, process fails at 46%), I get this error:
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Then the process stops.
I've looked at some other solutions, but they didn't have what I needed (here and here). I've run cmake with the -fPIC flag and that didn't solve anything.
I found a potential solution here but I don't know how to implement "recompile your FFmpeg/libavcodec/libavformat with pic enabled". Can anyone talk me through it or give me a good resource? I've never done it before and I don't want to mess up my computer.
Any help would be much appreciated. Thanks in advance!
Starting: C:/Qt/2010.02.1/mingw/bin/mingw32-make.exe -w
mingw32-make: Entering directory C:/Qt/2010.02.1/qt/qwt/qwt-5.2.1/textengines/data_plot'
C:/Qt/2010.02.1/mingw/bin/mingw32-make -f Makefile.Release all
mingw32-make[1]: Entering directoryC:/Qt/2010.02.1/qt/qwt/qwt-5.2.1/textengines/data_plot'
linking ....\examples\bin\data_plot.exe
c:/qt/2010.02.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lqwt5
collect2: ld returned 1 exit status
mingw32-make[1]: Leaving directory C:/Qt/2010.02.1/qt/qwt/qwt-5.2.1/textengines/data_plot'
mingw32-make: Leaving directoryC:/Qt/2010.02.1/qt/qwt/qwt-5.2.1/textengines/data_plot'
mingw32-make[1]: * [....\examples\bin\data_plot.exe] Error 1
mingw32-make: * [release-all] Error 2
Exited with code 2.
Error while building project data_plot
When executing build step 'Make'
What might be the reason of such an error??
Thanks for any suggestion :)
The error message suggests that the qwt5 library was not found.
Check that your QWT library is indeed called qwt5.dll and that the linker is given the path to find that library (Check that there is a line reading LIBS += -L/path/to/qwt -lqwt5 in your .pro file).