intel / murphy

Resource Policy
Other
18 stars 15 forks source link

module-murphy-ivi doesn't build without --with-murphyif #12

Open tanuk opened 10 years ago

tanuk commented 10 years ago

If I try to build module-murphy-ivi without --with-murphyif, compilation fails:

CC module-murphy-ivi.o In file included from module-murphy-ivi.c:65:0: murphyif.h:28:14: error: conflicting types for 'mrp_domctl_value_t' typedef void mrp_domctl_value_t; ^ In file included from userdata.h:28:0, from module-murphy-ivi.c:48: /usr/local/include/murphy/domain-control/client.h:94:3: note: previous declaration of 'mrp_domctl_value_t' was here } mrp_domctl_value_t; ^ module-murphy-ivi.c: In function 'module_murphy_ivi_LTX_pa__init': module-murphy-ivi.c:224:40: error: 'ctladdr' undeclared (first use in this function) u->murphyif = pa_murphyif_init(u, ctladdr, resaddr); ^ module-murphy-ivi.c:224:40: note: each undeclared identifier is reported only once for each function it appears in module-murphy-ivi.c:224:49: error: 'resaddr' undeclared (first use in this function) u->murphyif = pa_murphyif_init(u, ctladdr, resaddr);

I tried fixing those issues, but then I faced more complicated problems, so instead of sending patches, I'll just file this bug.