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

undefined symbol "weston_parse_transform" #32

Open
Raimun opened this issue May 3, 2016 · 2 comments
Open

undefined symbol "weston_parse_transform" #32

Raimun opened this issue May 3, 2016 · 2 comments

Comments

@Raimun
Copy link

Raimun commented May 3, 2016

Hi,

I'm trying to start orbital on an embedded platform. I've managed to cross compile orbital and the patched weston. Weston runs ok using drm-backend but I can't get orbital running. If I try to execute either orbital or orbital-launch binaries I get the error:
.../src/compositor/backend.cpp:73] == "Cannot load library /usr/lib/orbital/compositor/backends/libdrm-backend.so: (/usr/lib/westom-1/drm-backend.so: undefined symbol weston_parse_transform)"

I can see that this symbol is on the weston application binary, not on the library, but I don't know how could I link it.

If I set orbital-client as client in ".config/weston.ini" and try to run weston, I have no error messages but the screen goes black and nothing else happens.

Any hint, please?

Regards,

Raimundo Sagarzazu

@giucam
Copy link
Owner

giucam commented May 11, 2016

You can find the definition of weston_parse_transform() in weston's codebase and add WL_EXPORT to it, that should fix it.

@Raimun
Copy link
Author

Raimun commented May 12, 2016

I can see that weston_parse_transform() is in src/weston.c and already has WL_EXPORT attribute on it. Maybe the problem is that I’m building libweston as an executable, not as a library. Could be?
This code is on the “/usr/bin/weston” binary, that is not linked to “/usr/bin/orbital”. If so, how should I build libweston or link it to orbital?

Thankyou,

De: Giulio Camuffo [mailto:[email protected]]
Enviado el: miércoles, 11 de mayo de 2016 7:58
Para: giucam/orbital
CC: Raimundo Sagarzazu; Author
Asunto: Re: [giucam/orbital] undefined symbol "weston_parse_transform" (#32)

You can find the definition of weston_parse_transform() in weston's codebase and add WL_EXPORT to it, that should fix it.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-218368992

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