Salut,

Cand incerc sa compilez local obtin:


bogdanpetcu@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

_______________________________________________
http://ocw.cs.pub.ro/courses/so/info/lista-discutii

Raspunde prin e-mail lui