I'm getting this error message
Code:
/usr/bin/ld: ./gz_obj/gzip.o: bad reloc symbol index (0x130000 >= 0x90) for offset 0x100000a in section `.text'
./gz_obj/gzip.o: could not read symbols: Bad value
I'm not sure of what additional info is relevant for this.
I'm using pre-compiled object files, one of them is gzip.0 Can this be an error in that file that is not related to my code? Or am I linking it wrong maybe?
Here is the Makefile
Code:
FLAGS = -Wall -g -std=c99 -lpthread -D_REENTRANT -lrt -D_XOPEN_SOURCE=600
CC = gcc
p4.c aux_functions.c semlib.c aux_functions.h semlib.h myfs_aux.c myfs_aux.h
${CC} ${FLAGS} -lm -o p4 p4.c aux_functions.c semlib.c myfs_aux.c ./des_obj/*.o ./gz_obj/*.o ./ham_obj/*.o