That's the error message: gcc -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DDMRAID_TEST -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o format/ataraid/pdc.c: In function `to_cpu': format/ataraid/pdc.c:105: error: parse error before ';' token format/ataraid/pdc.c: In function `pdc_read': format/ataraid/pdc.c:168: warning: passing arg 6 of `read_raid_dev' from incompatible pointer type make[1]: *** [format/ataraid/pdc.o] Error 1 make[1]: Leaving directory `/var/tmp/genkernel/dmraid/1.0.0.rc6/lib' This happens with either version 1.0.0.rc6 and rc8.
Is this still an issue?
Yep, still an issue with current genkernel-3.2.2.
Looking at the changes between rc8 and rc9, rc9 seems to fix this in pdc.c. Mind giving that a try?
Sure, I can try.
Still fails, but this time with a linker issue: gcc -c -I -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -O2 -D_LARGEFILE64_SOURCE toollib.c -o toollib.o gcc -o dmraid dmraid.o commands.o toollib.o -L/var/tmp/genkernel/15606.22030.9012.20842/device-mapper/lib -static -L../lib \ -L/lib -ldmraid -ldevmapper -lselinux /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lselinux collect2: ld returned 1 exit status make[1]: *** [dmraid] Error 1 make[1]: Leaving directory `/var/tmp/genkernel/15606.22030.9012.20842/dmraid/1.0.0.rc9/tools' make: *** [tools] Error 2
dmraid 1.0.0.rc9 fixes this issue.
fixed in 3.3.7