View Single Post
Posts: 63 | Thanked: 27 times | Joined on Jul 2011 @ Venezuela
#65
I compiled the new file and I'm getting the same errors:

[sbox-FREMANTLE_X86: ~] > gcc -Wall -g getbootstate2.c -o getbootstate

getbootstate2.c: In function 'get_bsi':
getbootstate2.c:234: warning: implicit declaration of function 'ioctl'
/var/tmp/cc0MyZ7b.o: In function `get_rdmode':
/home/leli/getbootstate2.c:256: undefined reference to `cal_init'
/home/leli/getbootstate2.c:259: undefined reference to `cal_read_block'
/home/leli/getbootstate2.c:260: undefined reference to `cal_finish'
collect2: ld returned 1 exit status
 

The Following 2 Users Say Thank You to jvollmann For This Useful Post: