fede2cr / slackware_riscv

RISCV port of the Slackware distribution
11 stars 3 forks source link

sg3_utils with major/minor errors #85

Open fede2cr opened 6 years ago

fede2cr commented 6 years ago

gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -O2 -fPIC -MT sg_map26.o -MD -MP -MF .deps/sg_map26.Tpo -c -o sg_map26.o sg_map26.c sg_map26.c: In function 'nt_typ_from_filename': sg_map26.c:218:14: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] ma = major(st.st_rdev); ^~~~~ sg_map26.c:219:14: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] mi = minor(st.st_rdev); ^~~~~ mknod