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.34681: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.34681)

Error details

Submitted on:
20/08/18 22:17
Error type:
Recipe
Task:
do_compile
Recipe:
wvdial
Recipe version:
1.61-r0
Machine:
qemux86-64
Distro:
bec
Build system:
x86_64-linux
Target system:
x86_64-bec-linux-musl
Host distro:
arch/arch
Branch:
kraj/master
Commit:
1b5e240f10d0a6221864b07f1e78dda0ca9a89cf
Build:
#66461
Submitter:
raj.khem@gmail.com
Similar errors:
4
Open a bug