I'm trying to install FLINT/C lib on Arch for learning Modern Cryptography in C. All my dependencies are fulfilled per se and the only thing left to do is run make && make install and ld is generating errors :
make[1]: Entering directory '/home/venine/Downloads/flint-2.4.5'
make[2]: Entering directory '/home/venine/Downloads/flint-2.4.5/ulong_extras'
CC ../build/ulong_extras/../ulong_extras.lo
/usr/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
make[2]: *** [../Makefile.subdirs:55:
../build/ulong_extras/../ulong_extras.lo] Error 1
make[2]: Leaving directory '/home/venine/Downloads/flint- 2.4.5/ulong_extras'
make[1]: *** [Makefile:135: libflint.so] Error 2
make[1]: Leaving directory '/home/venine/Downloads/flint-2.4.5'
make: *** [Makefile:161: library] Error 2`
Can someone tell me what's going wrong and how do I create a proper make file
This appears to be FLINT 2 Issue#400. The bug also describes a change in the makefile.
Related
I want to run a simulation in Omnet 4.6 which uses inet.
When compiling, following error occurs.
Creating executable: ../out/debug/src/EnergyCellFMU_TwoHouseholds.exe
D:\omnetpp-4.6\tools\win32\mingw32\bin/ld.exe: cannot find -linet
collect2.exe: error: ld returned 1 exit status
Makefile:154: recipe for target '../out/debug/src/EnergyCellFMU_TwoHouseholds.exe' failed
make[1]: *** [../out/debug/src/EnergyCellFMU_TwoHouseholds.exe] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/d/Simulation_energy-cell-concept_omnet4.5/energy-cell-concept-simulation/OMNet/src'
make: *** [all] Error 2
Makefile:2: recipe for target 'all' failed
Does anyone know where the problem could be?
I set inet in the project references.
am trying to compile erlang code using command 'make' on erlang.mk and getting the below error. i dont know where to go from here. am new to erlang.mk and erlang. am on ubuntu
Getting Xabber Web client .... done.
Copying Xabber Web files to 'priv' directory ........ done.
make[1]: Entering directory '/home/isachi2004/xabber-websocket
/deps/fast_xml'
cc -o priv/lib/fxml.so c_src/fxml.o -lexpat -L -lei -shared
/usr/bin/ld: cannot find -lexpat
collect2: error: ld returned 1 exit status
c_src/Makefile.erlang.mk:24: recipe for target 'priv/lib/fxml.so'
failed
make[2]: *** [priv/lib/fxml.so] Error 1
Makefile:25: recipe for target 'pre-app' failed
make[1]: *** [pre-app] Error 2
make[1]: Leaving directory '/home/isachi2004/xabber-websocket
/deps/fast_xml'
erlang.mk:4512: recipe for target 'deps' failed
make: *** [deps] Error 2
This error means that it cannot find the development files for the Expat library (an XML parser):
/usr/bin/ld: cannot find -lexpat
On Ubuntu, you could try installing it with:
sudo apt install libexpat1-dev
I'm having a few troubles, when I try to make the websocket.so module in kamailio 4.3. Here is the error when I do make all:
make[2]: `libkcore.so.1.0' is up to date.
make[2]: `libkmi.so.1.0' is up to date.
LD (gcc) [M websocket.so] websocket.so
/usr/bin/ld: cannot find -lunistring
collect2: ld returned 1 exit status
make[1]: *** [websocket.so] Error 1
make: *** [modules] Error 1
Thanks for help !!!
Apparently you need to install libunistring
/usr/bin/ld: cannot find -lunistring
Depending on your package manager:
sudo aptitude install libunistring-dev
I have a next error when do make on zaz game on a linux mint 17.1 (Rebecca) with a drivers NVIDIA G98 GeForce 8400
make all-recursive
make[1]: Entering directory `/home/miguel/tmp/zaz-1.0.0'
Making all in po
make[2]: Entering directory `/home/miguel/tmp/zaz-1.0.0/po'
make[2]: Leaving directory `/home/miguel/tmp/zaz-1.0.0/po'
Making all in src
make[2]: Entering directory `/home/miguel/tmp/zaz-1.0.0/src'
g++ -g -O2 -o zaz main.o audiobuffer.o mixer.o oggsample.o scene.o settings.o wavesample.o streamingoggsample.o frame_events.o ogvexport.o bezier.o textureloader.o player.o level.o ballpath.o game.o editor.o mainmenu.o menu.o gameloop.o hiscores.o lineeditor.o tests.o profile.o directorylister.o levelset.o splash.o -lSDL -lvorbisfile -ltheoraenc -ltheoradec -logg -lftgl -lGL -lvorbisenc -lSDL_image
/usr/bin/ld: ogvexport.o: undefined reference to symbol 'vorbis_bitrate_addblock'
//usr/lib/i386-linux-gnu/libvorbis.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [zaz] Error 1
make[2]: Leaving directory `/home/miguel/tmp/zaz-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/miguel/tmp/zaz-1.0.0'
make: *** [all] Error 2
I Have installed lib vorbis
libvorbis-dbg:i386 install
libvorbis-dev:i386 install
libvorbis-ocaml install
libvorbis-ocaml-dev install
libvorbis0a:i386 install
libvorbisenc2:i386 install
libvorbisfile3:i386 install
libvorbisidec1 install
With other computer like same features not have a same problem, but the other computer don't have a nvidia card.
Thank for your help.
Tanks, I have resolv the problem change Makefile.ini after read this page:
https://www.mail-archive.com/debian-bugs-dist#lists.debian.org/msg1278320.html
I'm trying to install squid from source.
I issue the command make but it gets this error at the end:
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[3]: *** [basic_ncsa_auth] Error 1
make[3]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth/NCSA'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/squid-3.4.6/helpers'
make: *** [all-recursive] Error 1
Any ideas how to solve this?
You do not have the OpenSSL development toolkit installed.
yum install openssl