DEBUG: Executing shell function do_compile
NOTE: make
* Generating CC
* Generating CXX
./CXX -c wvdialer
./CXX -c wvmodemscan
wvmodemscan.cc:498:41: error: missing binary operator before token "("
#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 10)
^
wvmodemscan.cc:504:43: error: missing binary operator before token "("
#if !(defined(__GLIBC__) && __GLIBC_PREREQ(2, 10))
^
wvmodemscan.cc: In function 'int filesort(const void*, const void*)':
wvmodemscan.cc:511:15: error: 'e1' was not declared in this scope
for (p1=(*e1)->d_name, p2=(*e2)->d_name; *p1 || *p2; p1++, p2++)
^~
wvmodemscan.cc:511:15: note: suggested alternative: 'p1'
for (p1=(*e1)->d_name, p2=(*e2)->d_name; *p1 || *p2; p1++, p2++)
^~
p1
wvmodemscan.cc:511:33: error: 'e2' was not declared in this scope
for (p1=(*e1)->d_name, p2=(*e2)->d_name; *p1 || *p2; p1++, p2++)
^~
wvmodemscan.cc:511:33: note: suggested alternative: 'p2'
for (p1=(*e1)->d_name, p2=(*e2)->d_name; *p1 || *p2; p1++, p2++)
^~
p2
wvmodemscan.cc: In constructor 'WvModemScanList::WvModemScanList(WvStringParm)':
wvmodemscan.cc:549:50: error: invalid conversion from 'int (*)(const void*, const void*)' to 'int (*)(const dirent**, const dirent**)' [-fpermissive]
num = scandir("/dev", &namelist, fileselect, filesort);
^~~~~~~~
In file included from wvmodemscan.cc:14:
TOPDIR/build/tmp/work/core2-64-bec-linux-musl/wvdial/1.61-r0/recipe-sysroot/usr/include/dirent.h:43:78: note: initializing argument 4 of 'int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))'
int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [wvrules.mk:142: wvmodemscan.o] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/core2-64-bec-linux-musl/wvdial/1.61-r0/temp/run.do_compile.18646:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmp/work/core2-64-bec-linux-musl/wvdial/1.61-r0/temp/log.do_compile.18646)