Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implicit declaration of function 'rtems_rpc_task_init' #89

Closed
mdavidsaver opened this issue Apr 25, 2022 · 3 comments
Closed

implicit declaration of function 'rtems_rpc_task_init' #89

mdavidsaver opened this issue Apr 25, 2022 · 3 comments

Comments

@mdavidsaver
Copy link
Contributor

With RTEMS 5 for pc686 with the libbsd (aka. "new") network stack I get:

In file included from ../../asyn/vxi11/drvVxi11.c:41:0:
../../asyn/vxi11/drvVxi11.c: In function 'vxiConnectPort':
../../asyn/vxi11/osiRpc.h:25:21: error: implicit declaration of function 'rtems_rpc_task_init'; did you mean 'rtems_task_exit'? [-Werror=implicit-function-declaration]
 #define rpcTaskInit rtems_rpc_task_init
                     ^
../../asyn/vxi11/drvVxi11.c:908:12: note: in expansion of macro 'rpcTaskInit'
         if(rpcTaskInit() == -1) {
            ^~~~~~~~~~~

It appears that libbsd provides a different rpc/rpc.h, which doesn't contain anything RTEMS specific. I guess needs some different initialization will be needed?

@hjunkes @mrippa fyi.

@dirk-zimoch
Copy link
Member

That appears to be an asyn problem rather than a StreamDevice problem.

@mdavidsaver
Copy link
Contributor Author

oops. Sorry, wrong repository... (It's early for me)

@mdavidsaver
Copy link
Contributor Author

fyi. epics-modules/asyn#150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants