pnoltes commented on pull request #209: URL: https://github.com/apache/celix/pull/209#issuecomment-621405164
> [ 21%] Building C object bundles/device_access/example/base_driver/CMakeFiles/base_driver.dir/src/activator.c.o > /home/oipo-unencrypted/Programming/celix-pnoltes/bundles/device_access/example/base_driver/src/activator.c: In function ‘bundleActivator_registerBaseDriverDevice’: > /home/oipo-unencrypted/Programming/celix-pnoltes/bundles/device_access/example/base_driver/src/activator.c:88:13: error: too many arguments to function ‘celix_strerror’ > 88 | serial, celix_strerror(status, error, 256)); > | ^~~~~~~~~~~~~~ > In file included from /home/oipo-unencrypted/Programming/celix-pnoltes/bundles/device_access/example/base_driver/src/activator.c:29: > /home/oipo-unencrypted/Programming/celix-pnoltes/libs/utils/include/celix_errno.h:62:13: note: declared here > 62 | const char* celix_strerror(celix_status_t status); > | ^~~~~~~~~~~~~~ > /home/oipo-unencrypted/Programming/celix-pnoltes/bundles/device_access/example/base_driver/src/activator.c: In function ‘bundleActivator_stop’: > /home/oipo-unencrypted/Programming/celix-pnoltes/bundles/device_access/example/base_driver/src/activator.c:123:65: error: too many arguments to function ‘celix_strerror’ > 123 | fprintf(stderr, "Cannot unregister service. Got error %s\n", celix_strerror(unregStatus, error, 256)); > | ^~~~~~~~~~~~~~ > In file included from /home/oipo-unencrypted/Programming/celix-pnoltes/bundles/device_access/example/base_driver/src/activator.c:29: > /home/oipo-unencrypted/Programming/celix-pnoltes/libs/utils/include/celix_errno.h:62:13: note: declared here > 62 | const char* celix_strerror(celix_status_t status); > | ^~~~~~~~~~~~~~ > make[2]: *** [bundles/device_access/example/base_driver/CMakeFiles/base_driver.dir/build.make:63: bundles/device_access/example/base_driver/CMakeFiles/base_driver.dir/src/activator.c.o] Error 1 > make[1]: *** [CMakeFiles/Makefile2:2461: bundles/device_access/example/base_driver/CMakeFiles/base_driver.dir/all] Error 2 > make: *** [Makefile:141: all] Error 2 note sure why this wasn't triggered on my system (ubuntu 18), but fixed. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
