[so] eroare compilare
Bogdan-Constantin PETCU
bogdan_constantin.petcu at cti.pub.ro
Thu Apr 23 20:35:41 EEST 2015
Salut,
Cand incerc sa compilez local obtin:
bogdanpetcu at mystation:~/cod/tema3so/tema$ make
cc -c -o vmsim.o vmsim.c
gcc -Wall -g -fPIC -shared vmsim.o -o libvmsim.so
/usr/bin/ld: vmsim.o: relocation R_X86_64_32 against `page_fault_handler' can not be used when making a shared object; recompile with -fPIC
vmsim.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [libvmsim.so] Error 1
Any hints on that?
Pe vmchecker totul pare in ordine.
Multumesc,
Bogdan Constantin Petcu
331CB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20150423/056cbefe/attachment.html>
More information about the so
mailing list